Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

v2.17.0

Compare
Choose a tag to compare
@gre gre released this 20 Dec 11:03
· 220 commits to master since this release

This release fixes a bunch of crashes you might have met in the past using gl-react-native. I've been testing the library using this technique which allowed me to detect 4-5 bugs/race conditions at various places in iOS and Android implementations.

gl-react-native minor version now strictly follows react-native minor version.
React Native when releasing new minor tends to contain breaking changes, so to make gl-react-native more reliable, we will no longer support unlimited bound of versions but only strictly the same minor version.

gl-react-native 2.17.x will only works with react-native 0.17.x.

Release Notes

  • port to React 0.17
  • refactor iOS events implementation and make Android events working. (breaking changes in 0.17)
  • captureFrame() now returns a Promise and is implemented on Android
  • eventsThrough feature: simplify implementation using pointerEvents to also make it work on Android
  • Fix race condition crashes in the iOS implementation by making sure operations are done on the right lifecycle/thread (fix about 3 different race conditions). Should fix #38 #41
  • Improve the error message when you don't configure properly gl-react-native native module in your app.

Known issues

  • #47 Android: crash when using a lot of simultaneous Surface (like 5-10)
  • #46 Android: The transparency of rasterized content is not supported.