bluerain-platform-react-native

It is used to provide react-native components and APis for your native App using react-native . https://blueeast.gitbook.io/bluerain-platform-react-native

Installation

Run the following command in the plugin directoy:

yarn add  @blueeast/bluerain-platform-react-native

Utils

It is used to render MainView of App

import BR from '@blueeast/bluerain-os';
import RN from 'react-native';
BR.Utils.setMainView=(App) => {
    RN.AppRegistry.registerComponent('MyApp', () => App)
    RN.AppRegistry.runApplication('MyApp', { rootTag: document.getElementsByClassName('app-container') });
}

Components

This plugin registers following components in the Component registry, so they can be reused later by other apps and plugins:

APIs

ReactNativePlugin

Extends Plugin

ReactNative Plugin

Properties

Last updated