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 ph.com.globe.connect.GlobeConnectPackage.java

public class GlobeConnectPackage implements ReactPackage {
    @Override
    public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
        return Arrays.<NativeModule>asList(new Amax(reactContext), new Authentication(reactContext),
                new BinarySms(reactContext), new Location(reactContext), new Payment(reactContext),
                new Sms(reactContext), new Subscriber(reactContext), new Ussd(reactContext));

From source file rn.crashlytics.answers.AnswersPackage.java

public class AnswersPackage implements ReactPackage {

    final Answers answers;

    public AnswersPackage() {
        this(null);

From source file rocks.crownstone.consumerapp.BluenetBridgePacket.java

/**
 * Copyright (c) 2015 Bart van Vliet <bart@dobots.nl>. All rights reserved.
 * <p/>
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 3, as
 * published by the Free Software Foundation.

From source file versioned.host.exp.exponent.modules.api.components.svg.RNSvgPackage.java

public class RNSvgPackage implements ReactPackage {

    @Override
    public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
        return Arrays.<ViewManager>asList(RNSVGRenderableViewManager.createRNSVGGroupViewManager(),
                RNSVGRenderableViewManager.createRNSVGPathViewManager(),