Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 715 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 715 Bytes

Ensemble Reactive Native Wrapper

React native wrapper of ensemble package

Installation

npm install ensemble-react-native

Usage

import { openEnsembleApp } from 'ensemble-react-native';

// ...

<TouchableOpacity onPress={openEnsembleApp}>
    <Text>Go to Ensemble Screen</Text>
</TouchableOpacity>

Test

Install dependency: yarn install

[optional] Change appId:

  • Go to ensemble_app/ensemble/ensemble-config.yaml
  • change appId

Build flutter files: cd ensemble_app && flutter build aar --no-tree-shake-icons

Note: If their is any change in ensemble_app you need to re-run above build aar command

Move to main repo: cd ..

Run on android: yarn example android