This commit adds support for fade and slide-horizontal animations for modals and a few other animation related changes:
* Support defining animationType when calling dismissModal
* Support fade and slide horizontal animations for modals
* Slightly reworked current screen animations timings
* Fixed slide-horizontal x offset and removed alpha
* android oreo overdraw fix
* apply top bar title color
* update readme
* update formatting
* merge v2
* navigation oprtions formatting
* font size props
* update test
* ci fix
* rm global variable
* font size
* update readme
* playground
* after merge fix
Stop calling host.clear() when activity is destroyed (#1838)
This is a breaking change and has to be opt-in. To prevent host.clear from being called,
Override `clearHostOnActivityDestroy` in MainApplication and return false:
```java
@Override
public boolean clearHostOnActivityDestroy() {
return false;
}
```
If host isn't cleared, the next time the app is opened react context might still be initialized.
In this case we emit appLaunched event which has to be handled in Js:
```js
Promise.resolve(Navigation.isAppLaunched())
.then((appLaunched) => {
if (appLaunched) {
startApp();
}
new NativeEventsReceiver().appLaunched(() => {
startApp();
});
})
```
* Added v2 docs
* Move docs around
* Update _sidebar.md
* Update README.md
* Delete
* Remove usage docs (it was duplicated)
* Fixed sidebar links
* Moved the readme back to the root
Add missing params for showInAppNotification (#1707)
* Add font family support on bottom tabs
* import missing classes
* import missing class
* update document
* Support customize icon for left nav button in android
* Add navBar navBarTextFontSize support for android
* Add missing parameter instruction for in app notification
* Merge changes as origin master