magic-script-components-react-native
magic-script-components-react-native copied to clipboard
Add events to Scene component
magic-script-components-lumin
Scene
component supports:
- onAppStart(initData), where:
initData = {
uri: <string>, // Deep linking URI value
isInternetConnected: <boolean>, // there is an internet connection
isWiFiConnected: <boolean>, // WiFi Connected status
isWiFiEnabled: <boolean>, // Wifi is enabled in settings
isShareableApp: <boolean> // Able to replicate the scene graph on the remote device
}
- onAppPause()
- onAppResume()
magic-script-components-react-native
needs to provide support for the listed events as well. Most likely initData.isShareableApp
will be false
until we find mechanism to replicate JSX across devices.
Platforms:
- [ ] Android
- [ ] iOS
- [x] Lumin