Hack to fix when app is stuck on the splash screen. (#3688)
When the navigation activity is killed/restarted by the system, onCreate launches the SplashActivity and kills itself. The new SplashActivity starts context initialization but that is broken in between by the onDestroy of the NavigationActivity we just killed. This fix adds a boolean to disable destruction of js in this case.
Use Case: When exposing the layout, other android code can check what kind of layout it is and react accordingly, fx:
```
if (activity.getLayout() instanceof BottomTabsLayout) {
// ...
}
```
when compileSdkVersion is 25, below error was occured in react native 0.56.0.
"No resource found that matches the given name: attr 'android:keyboardNavigationCluster'"
so i have to change compileSdkVersion to 26.
Please add this push on your repository.
Thanks
Android: Fix an issue with incorrect Lightbox measurments. (#2625)
Due to a race condition, the height and width of the Lightbox screen
may be read too early, resulting in a zero-width or height lightbox.
Addresses Content of lightbox not displayed #2288
Fix Global Events and Screen Events do not work after iPhoneX patch (#1668)
* fix navigatorStyle don't work on Drawer
* Fix lightbox dismiss on Android
* Update LightBox.java
* Add splash screen tut in third party lib support list
* Revert the old drawer commit
* Fix screen events
* Fixed issue with rightButtons getting ignored in preference for empty Screen buttons
* Fixes an issue where on an iPhone X when showing the tab bar on pop from
a scrollable view to a non-scrollable view the root view's bounds
would be incorrect
By default RTL is not enabled on the MaterialMenuDrawable of which the LeftButton extends. This results in the back button not being flipped when running your app against a right-to-left language. Enabling RTL for the LeftButton fixes this behavior and correctly flips the button when needed.