Skip to content

Add events to Scene component #511

Description

@grozdanov

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
  • Lumin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions