magic-script-components-react-native icon indicating copy to clipboard operation
magic-script-components-react-native copied to clipboard

Add events to Scene component

Open grozdanov opened this issue 4 years ago • 1 comments

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

grozdanov avatar Mar 30 '20 18:03 grozdanov