Ruslan.V
26dbb1b6ba
[iOS] Added ability to set static(root) background image (#1366 )
[iOS] Added ability to set static(root) background image
il y a 7 ans
Guy Carmeli
2b182556c3
Update android-specific-use-cases.md
il y a 7 ans
Guy Carmeli
8acfe41f04
Support headlessJs (#1444 )
Currently startApp is called from global context which results in the
app being launched when headlessJs tasks run in the background.
In order to support this use case, while not breaking existing users,
this commit adds two mechanisms which should help users detrmine if
the native Activity is running and startApp can be called safely.
1. RNN.appLaunched event is emitted is SplashActivity starts and react
context has already been created. This is the use case of openeing
the app while headless js task was started or has just finished and
react context is in a "pasued" state.
2. Navigation.isAppLaunched() convenience method has been added.
It returns a promise which when resolved, indicates if the app
is launched and we should show the ui or not.
Usage
import {Navigation, NativeEventsReceiver} from 'react-native-navigation';
Promise.resolve(Navigation.isAppLaunched())
.then(appLaunched => {
if (appLaunched) {
startApp();
} else {
new NativeEventsReceiver().appLaunched(startApp);
}
});
function startApp() {
Navigation.startTabBasedApp({ ... });
}
il y a 7 ans
Brendon Sled
932c3c63c0
Fixed screen size calculations when in multi-window view (#1432 )
il y a 7 ans
Eli Perkins
9d8b392f55
Prefer use of view controller hierarchy to display lightbox (#1439 )
This fixes issues with other React Native views which rely on the view controller hierarchy.
il y a 7 ans
Eli Perkins
834962bf89
[iOS] Allow lightbox tap to dismiss without background color (#1440 )
* Move logic for tap background to dismiss out of background color view
This allows for tapping the background without setting a color here, meaning this feature can be enabled with one less view in the view hierarchy
* Only allow taps on views that aren't the React view
This allows for taps on any background view, visual effect view, color tint view, etc, but not on the content.
il y a 7 ans
Guy Carmeli
b0aa614598
Upgrade gradle version
il y a 7 ans
Guy Carmeli
f77a8b7098
Use latest react-native-navigation
Yarn apparently still has issues with relative paths.
il y a 7 ans
Brendon Sled
5acce30ace
Update screen style on configuration change (#1431 )
il y a 7 ans
Guy Carmeli
a750168831
Remove push from Actions screen
il y a 7 ans
Guy Carmeli
2531c08905
Use four spaces indentation
OCD made me do it.
il y a 7 ans
Daniel Zlotin
55ddf850c9
Merge branch 'master' of https://github.com/wix/react-native-navigation
il y a 7 ans
Daniel Zlotin
34052a901d
fix bug with FAB and toggleBottomTabs
il y a 7 ans
Guy Carmeli
67db72fdb5
Align fab after screen pop
il y a 7 ans
Guy Carmeli
2f69ac7773
Document bottomTabReselected
il y a 7 ans
Brendon Sled
1603eb9bfa
Added screen backgroundColor to BottomTabsLayout (#1427 )
il y a 7 ans
Brendon Sled
da9ed0c5fe
Fixed BottomTabs height being calculated twice (#1421 )
il y a 7 ans
Brendon Sled
3ee0cd1958
Added tapBackgroundToDismiss to LightBox screens (#1416 )
* Added tapBackgroundToDismiss to LightBox screens
* Updated LightBox readme
* Formatting updates
* Fixed ios selector
* Updated animationEnd hide method
il y a 7 ans
Guy Carmeli
66bc1ef7a0
Fix misaligned text in CollapsingTextView (#1418 )
il y a 7 ans
levynir
125417e084
added a missing comma (#1412 )
added a missing comma in the 'style object format' so to help users who copy/paste this code block
il y a 7 ans
Guy Carmeli
0d6b895b1b
Set BottomTab colours only if needed (#1414 )
Fixes #1411
Each time a color attribute is set in AHBottomNavigation, all items in
the BottomTabs are recreated. If a badge is set, it is animated each
time items are recreated. This behaviour can even be seen in the gifs
in the repo https://github.com/aurelhubert/ahbottomnavigation
il y a 7 ans
Brendon Sled
abca139061
Fixed bottom tab bar animation setting the wrong value (#1403 )
il y a 7 ans
Guy Carmeli
b9a3ceda60
Use animationType fade when starting the app
il y a 7 ans
Brendon Sled
c8af4fdf07
Fixed lightbox status bar color override on Android (#1396 )
* Fixed lightbox status bar color override on Android
* Added missing imports
il y a 7 ans
Guy Carmeli
0de47791fe
Reformat code (#1401 )
il y a 7 ans
Guy Carmeli
b4ad066b2f
Align FAB to screen when BottomTabs are hidden (#1400 )
il y a 7 ans
andrey
4c85cfde25
Add navBarSubtitleFontFamily to docs (#1395 )
il y a 7 ans
Grundmanis
ff803dd4b0
[iOS] Enable back swipe gesture when a navBar is hidden. Resolves this issue: https://github.com/wix/react-native-navigation/issues/930 (#1391 )
added 03d380f8a9 back and also applied this fix https://github.com/wix/react-native-navigation/issues/428#issuecomment -278268928 on top of it
il y a 7 ans
Henry Chan
f3e7d8788e
Update styling-the-tab-bar.md (#1394 )
Removing duplicate property
il y a 7 ans
Guy Carmeli
96934a3d2a
Update to RN 0.45.1
il y a 7 ans
Daniel Zlotin
de22a372da
allow creation of MainReactPackage and or NavigationReactPackage
il y a 7 ans
Daniel Zlotin
236e1d7c68
indentation
il y a 7 ans
Elaine N Hilliard
74266b05eb
Replace React.PropTypes with prop-types (#1373 )
React is now migrating away from React.PropTypes starting from v15.5.0
More info:
https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html
il y a 7 ans
Guy Carmeli
2b24dff582
Fix flickering statusBar when showing modal (#1386 )
il y a 7 ans
Guy Carmeli
1eb3bf66d3
Null check ReactContext in onActivityResult (#1380 )
Can be null if returning from another app and our activity wad destroyed in background
il y a 7 ans
Ruslan.V
394e0960f8
[Android] Added fade & horizontal transition animations between screens (#1371 )
il y a 7 ans
Ruslan.V
000eef1b1c
[iOS] Added fade transition animation between screens (#1367 )
* [iOS] Added fade transition animation between screens
* Update docs for #1367
il y a 7 ans
Guy Carmeli
822afefd7e
Return empty Drawable when bridge isn't available (#1360 )
il y a 7 ans
Matt Davies
35c61b450f
Fixes for dynamically controlling iOS drawer status (#1356 )
* Fix iOS drawer status control
* Prevent MMDrawerController disabling UI interaction when accidentally assigning a nil drawer controller and toggling that drawer
il y a 7 ans
Kyle Johnson
0381fd0f98
Feature/set drawer enabled ios (#1347 )
* setDrawerEnabled with params side and enabled
* Tweak docs, small RCCDrawerController fix
* Correct indents
* Correct indents
il y a 7 ans
Guy Carmeli
1d9b02d4a1
Use hardcoded BottomTabs height in visibility animator constructor (#1353 )
il y a 7 ans
Guy Carmeli
3cd5f34804
Create styling-the-navigator.md
il y a 7 ans
Leonardo Galante
f6f6dc597c
Add tabBarHidden key to docs (#1345 )
il y a 7 ans
Guy Carmeli
6c11aad4ec
Title bar visibility bug (#1346 )
* Fix title bar not displayed if it was initially hidden
Also cleaned up VisibilityAnimator.
* Move visibility animator into topBar
il y a 7 ans
Guy Carmeli
8fd1a231ad
Revert "Fix title bar not displayed if it was initially hidden (#1341 )" (#1342 )
This reverts commit 7919e65932 .
il y a 7 ans
Guy Carmeli
7919e65932
Fix title bar not displayed if it was initially hidden (#1341 )
Also cleaned up VisibilityAnimator.
il y a 7 ans
Doron Pearl
48fbe55599
upgrade example e2e tests to detox 5 + RN 44.2 (#1337 )
il y a 7 ans
Matt Davies
3176aeb448
Add a way to dynamically enable/disable a side menu for Android (#1326 )
il y a 7 ans
Grundmanis
94d01386a6
[iOS] Fix disabledBackGesture. (#1281 )
* Fix disabledBackGesture.
This `return self._disableBackGesture ? self._disableBackGesture : YES;` check is incorrect, it's the same as `true ? true : true;`.
Also `_disableBackGesture` was never set. We should just `return disabledBackGestureBool` (bool value of the prop).
* [iOS] Enable back swipe gesture when a navBar is hidden. Resolves this issue: https://github.com/wix/react-native-navigation/issues/930
added 03d380f8a9 back and also applied this fix https://github.com/wix/react-native-navigation/issues/428#issuecomment -278268928 on top of it
* Revert accidental commit: 3cdb1b37f6
il y a 7 ans
Matt Davies
d74751dd80
Add screen events for side menus on Android (#1324 )
il y a 7 ans