Files
react-navigation/android
Krzysztof Magiera 102880c18b Trigger transition finish event from native stack (#330)
This change adds new event that gets dispatched from native stack when screen transitioning is finished.

The new event is used by react-navigation to update the library internal state that the triggered action has been finished. Previously we were relying solely on onAppear and onDisappear events, however those does not get triggered when new iOS 13 modals are used or when transparent modals are displayed. This is because with transparent modals the view below is still visible. We therefore needed another way of notifying the library that screen transition have finished despite the fact that disappear event couldn't be triggered.

As a part of this change I also refactored invalid ref cycle-break code on iOS which was ought to remove reference cycle between view and view controller. This code have been moved to viewWillDisappear callback.

Also on Android part small refactoring has been done and we removed the necessity to keep mActiveScreens array which was occasionally getting out of sync with the list of active fragments.
2020-02-14 15:13:00 +01:00
..
2018-08-03 13:54:11 +02:00
2018-08-03 13:54:11 +02:00
2018-08-03 13:54:11 +02:00
2018-08-03 13:54:11 +02:00

README

If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm:

  1. Be sure to have the Android SDK and NDK installed
  2. Be sure to have a local.properties file in this folder that points to the Android SDK and NDK
ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle
sdk.dir=/Users/{username}/Library/Android/sdk
  1. Delete the maven folder
  2. Run sudo ./gradlew installArchives
  3. Verify that latest set of generated files is in the maven folder with the correct version number