Guy Carmeli
7461baedc9
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();
});
})
```
7 лет назад
Ran Greenberg
3f377f65df
fix navBarSubtitleColor - now it will set the navigation subtitle color properly without any effect on the title (#1847 )
7 лет назад
Eli Perkins
4c4eb7bb91
Prefer use of intrinsicContentSize (#1783 )
This converts from using a deprecated attribute.
7 лет назад
Ran Greenberg
c62d944c2b
add disabledButtonColor (#1842 )
* add disabledButtonColor in order to set navigation button disabled color
* add disabledButtonColor to the docs
7 лет назад
Ran Greenberg
52a093e17f
add hideBackButtonTitle in order to remove the back button title in the appStyle (#1837 )
7 лет назад
Ran Greenberg
93237a0bc3
add backButtonImage to app style in order to custom the default back button arrow image with provided image (#1834 )
7 лет назад
Guy Carmeli
354f60d124
Don't show title on button long press is title is undefined
Fixes #1007
7 лет назад
Thanh Le
6a2af3ecc0
New Feature: adding disabledSimultaneousGesture flag to manage simultaneous gesture recognition (#1777 )
7 лет назад
Guy Carmeli
e1b65cfc1a
Add keepStyleAcrossPush to documentation
7 лет назад
Ran Greenberg
ec71b3c2be
add the ability to choose is relevant styles properties will remember across push or not (#1773 )
7 лет назад
Ran Greenberg
9ad3baa4a4
add appStyle support for iOS (Android already support) 🤖 (#1772 )
7 лет назад
Thanh Le
9698578129
Bugfix #930 : change IF condition to make sure the originalInteractivePopGestureDelegate property contains value correctly. (#1763 )
7 лет назад
Guy Carmeli
a0b23ab274
Rename titleBarDisabledButtonColor to disabledButtonColor
7 лет назад
Guy Carmeli
11c27401ac
Add ability to set button colors individually on Android
7 лет назад
Jing Tai Piao
8ce9dac657
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
7 лет назад
Guy Carmeli
c2f45d51fc
Update top-level-api.md
7 лет назад
Guy Carmeli
804e64a553
Implement TopBar border
Ability to set a flat border under the TopBar. `topBarElevationShadowEnabled` should be set to true if using this feature.
7 лет назад
Guy Carmeli
8d6e713ca3
Update styling-the-navigator.md
7 лет назад
Luciano Di Pasquale
f249a1ea40
[Android] Add navBarTextFontBold, navBarHeight and topTabsHeight (#1691 )
* testing
* test
* try fix props on topTabs
* Test xml menu
* Add titleBarHeight
* Remove test
* Add to StyleParams
* Add topTabsHeight
* Fix styleParams type
* Add navBarFontBold
* Add typeface package
* Remove unused debugging
7 лет назад
simin.chen
d565f39794
add adjust soft input optional config for Lightbox on android platform (#1697 )
* add adjust soft input optional config for Lightbox on android platform
* Add doc about adjustSoftInput for showLightBox
7 лет назад
Guy Carmeli
daf75a9c2a
Update top-level-api.md
7 лет назад
Guy Carmeli
fc83d3562a
Document initialTabIndex
7 лет назад
Guy Carmeli
eb36b833f2
Handle initialTabIndex in AppStyle and TabStyle
7 лет назад
Eliasz Sawicki
bb584ff341
[iOS/Android] Add initialTabIndex support (#1674 )
* Add initialTabIndex support to RCCTabBarController
* Add initialTabIndex support to BottomTabsLayout
7 лет назад
Guy Carmeli
29ad9b2178
Update example app launcher icon
7 лет назад
Guy Carmeli
fc2a637235
Fix navigationBarColor in modals
closes #1694
7 лет назад
Guy Carmeli
24fb8db816
Create TopBar react view only once
fixes #1675
7 лет назад
Dan Reynolds
1f311717f7
Update android-specific-use-cases.md (#1678 )
7 лет назад
Guy Carmeli
d224bf4d39
Update adding-buttons-to-the-navigator.md
7 лет назад
Guy Carmeli
67d2c9eea4
Add CustomButton screen to example app
7 лет назад
Guy Carmeli
db69a30a35
Unmount custom TitleBar buttons
7 лет назад
Guy Carmeli
6db371beac
Cleanup TitleBar class a bit
7 лет назад
Guy Carmeli
803dccffd4
Implement custom TitleBar buttons on Android
7 лет назад
Eli Perkins
d5cfcbec67
Add docs about using custom navigation buttons (#1669 )
7 лет назад
Johan
0dc8f4f847
Improved Deeplink documentation (#1663 )
To match the rest of the styling
7 лет назад
Ran Greenberg
052231337c
fix ShowModal global screen events
7 лет назад
Ran Greenberg
0aae3fcc7c
rename types to navigation types
7 лет назад
Johan
904a1d8408
Added HandleDeepLink to TopLevelApi documentation (#1662 )
As the screen api document mentions that it can be done statically, it's best to mention it here as well.
7 лет назад
RajanPN
5717449ca6
Update top-level-api.md (#1658 )
7 лет назад
Guy Carmeli
137f62ff54
Revert "Fixed LightBox not updating overlay width/height on rotate" (#1657 )
* Revert "Add custom bar button item class (#1641 )"
This reverts commit 80ae102456 .
* Revert "Export `Navigator` class for public use (#1647 )"
This reverts commit 1770113321 .
* Revert "Hide back button when calling resetTo (#1469 )"
This reverts commit 518e372e05 .
* Revert "Add isRootLaunched implementation on Android"
This reverts commit 6f4aca32a6 .
* Revert "Fixed LightBox not updating overlay width/height on rotate (#1461 )"
This reverts commit 54d2531720 .
7 лет назад
Eli Perkins
80ae102456
Add custom bar button item class (#1641 )
This allows for custom React Native views to be rendered as a bar button item in the navigation bar.
7 лет назад
PC Futures
1770113321
Export `Navigator` class for public use (#1647 )
* Make Navigator Public
* Make Screen.js export both Screen and Navigator
* Update Navigation.js to import Screen correctly
* Make Navigator public for Android too
* Forgot to export after importing
* ESLint fix
* ESLint fix
* ESLint Fix
* ESLint Fix
7 лет назад
Kyle Johnson
518e372e05
Hide back button when calling resetTo (#1469 )
7 лет назад
Guy Carmeli
6f4aca32a6
Add isRootLaunched implementation on Android
returns true if NavigationActivity is resumed (startApp was called)
7 лет назад
Brendon Sled
54d2531720
Fixed LightBox not updating overlay width/height on rotate (#1461 )
* Fixed LightBox not updating overlay width/height on rotate
* Cleaned up bounds
* Removed unneeded call
7 лет назад
Guy Carmeli
51bc918998
Remove redundant calls to send screen appear event
7 лет назад
Guy Carmeli
90df99030c
Send missing visibility events to TopTab screens
7 лет назад
simin.chen
15d0451582
fix lightbox not unmount bug when back pressed for android (#1636 )
7 лет назад
Guy Carmeli
230737b5b9
Update styling-the-navigator.md
7 лет назад
Guy Carmeli
096243827a
Support statusBarTextColorScheme on Android
7 лет назад