added

2022-07-21: SDK Update #181

Pause State, Component Masking, Layout changes, and more

Known Issues

Added

  • Special full screen layout to provide a video recording experience to the user and return the resulting video asset
  • Hide and Destroy options to a layout, so a layout can be removed without needing to show another one
  • Ability to mask components, allowing for a non rectangular appearance
  • Optional leaderboardRequiresVideo manifest option to require videos in leaderboard submissions
  • New CSS properties --o3h-safe-area-inset-top, --o3h-safe-area-inset-bottom, --o3h-safe-area-inset-left, --o3h-safe-area-inset-right and an API call to get their values - to be used to detect the device safe area in a cross platform safe way
  • Module Pause API to detect when JS execution is to be paused / resumed

Changed

  • Animated gifs can be selected with the image gallery
  • Layouts are created via the LayoutManager now
  • Platform components now shift properly when the keyboard is shown / hidden matching the behaviour of the html view
  • Module Pause behaviour
    • Closing a module now has a confirmation prompt
    • When the prompt is shown or the app is put into the background, the module pause state changes
    • JS execution is suspended while in the pause state
  • Loading content outside of your module folder is now blocked - ensure you include all your dependencies with the module delivery
  • Setting cookies / using local storage is now blocked - use the UserPersistentDataService instead

Fixed

  • Audio issues when using the file selection API calls
  • Memory leak with using image segmentation

Deprecated