Example usage for com.facebook.react ReactPackage interface-usage

List of usage examples for com.facebook.react ReactPackage interface-usage

Introduction

In this page you can find the example usage for com.facebook.react ReactPackage interface-usage.

Usage

From source file co.rewen.statex.StateXPackage.java

/**
 * Copyright (c) 2015-present, Junjun Deng
 * All rights reserved.
 * <p>
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree.

From source file com.adjust.nativemodule.AdjustPackage.java

public class AdjustPackage implements ReactPackage {
    @Override
    public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
        return Arrays.<NativeModule>asList(new Adjust(reactContext));
    }

From source file com.amazonaws.reactnative.core.AWSRNCorePackage.java

/**
 * This is a package to expose AWSRNCognitoCredentials.java to AWSCognitoCredentials.java
 * This package is a member of the AWSCore SDK for React Native
 * <p/>
 * Do not use this package to add any custom classes.
 * Please create your own package if necessary.

From source file com.amazonaws.reactnative.dynamodb.AWSRNDynamoDBPackage.java

/**
 * This is a package to expose AWSRNDynamoDBClient.java to AWSDynamoDBClient.js
 * This package is a member of the AWSDynamoDB SDK for React Native
 *
 * Do not use this package to add any custom classes.
 * Please create your own package if necessary.

From source file com.amazonaws.reactnative.lambda.AWSRNLambdaPackage.java

/**
 * This is a package to expose AWSRNLambdaClient.java to AWSRNLambdaClient.java
 * This package is a member of the AWSLambda SDK for React Native
 * <p>
 * Do not use this package to add any custom classes.
 * Please create your own package if necessary.

From source file com.amazonaws.reactnative.s3.AWSRNTransferUtilityPackage.java

public class AWSRNTransferUtilityPackage implements ReactPackage {

    @Override
    public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
        List<NativeModule> modules = new ArrayList<>();
        modules.add(new AWSRNS3TransferUtility(reactContext));

From source file com.amazonaws.reactnative.sns.AWSRNSNSPackage.java

/**
 * This is a package to expose AWSRNSNSClient.java to AWSSNSSNSClient.js
 * This package is a member of the Integration Testing package for the AWSSNS SDK for React Native
 * <p>
 * Do not use this package to add any custom classes.
 * Please create your own package if necessary.

From source file com.auth0.lock.react.LockReactPackage.java

/**
 * This is the package that provides a wrapper around Lock.Android for use in an Android React
 * Native application. In order to use this you'll also need the {@code react-native-lock-android}
 * dependency installed. You can add it your application's dependencies by running
 * {@code npm install --save react-native-lock-android}
 * Then you must add the LockReactPackage to the {@code ReactInstanceManager} in the {@code onCreate}

From source file com.boundlessgeo.spatialconnect.jsbridge.RNSpatialConnectPackage.java

public class RNSpatialConnectPackage implements ReactPackage {

    @Override
    public List<Class<? extends JavaScriptModule>> createJSModules() {
        return Collections.emptyList();
    }

From source file com.boundlessgeo.spatialconnect.jsbridge.SCReactPackage.java

public class SCReactPackage implements ReactPackage {

    @Override
    public List<Class<? extends JavaScriptModule>> createJSModules() {
        return Collections.emptyList();
    }