Daniel Zlotin
2666cb1644
Revert "Use UIStoryboard methods for presenting a splash screen on iOS (#1453 )" (#1457 )
This reverts commit 36d2c7e35c .
7 vuotta sitten
Eli Perkins
36d2c7e35c
Use UIStoryboard methods for presenting a splash screen on iOS (#1453 )
This uses the proper methods for instantiating the initial view on iOS.
By utilizing these methods, we can stand up the initial view controller
from the storyboard.
See also:
https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252 -SW41
7 vuotta sitten
Ruslan.V
26dbb1b6ba
[iOS] Added ability to set static(root) background image (#1366 )
[iOS] Added ability to set static(root) background image
7 vuotta sitten
Guy Carmeli
2b182556c3
Update android-specific-use-cases.md
7 vuotta sitten
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({ ... });
}
7 vuotta sitten
Brendon Sled
932c3c63c0
Fixed screen size calculations when in multi-window view (#1432 )
7 vuotta sitten
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.
7 vuotta sitten
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.
7 vuotta sitten
Guy Carmeli
b0aa614598
Upgrade gradle version
7 vuotta sitten
Guy Carmeli
f77a8b7098
Use latest react-native-navigation
Yarn apparently still has issues with relative paths.
7 vuotta sitten
Brendon Sled
5acce30ace
Update screen style on configuration change (#1431 )
7 vuotta sitten
Guy Carmeli
a750168831
Remove push from Actions screen
7 vuotta sitten
Guy Carmeli
2531c08905
Use four spaces indentation
OCD made me do it.
7 vuotta sitten
Daniel Zlotin
55ddf850c9
Merge branch 'master' of https://github.com/wix/react-native-navigation
7 vuotta sitten
Daniel Zlotin
34052a901d
fix bug with FAB and toggleBottomTabs
7 vuotta sitten
Guy Carmeli
67db72fdb5
Align fab after screen pop
7 vuotta sitten
Guy Carmeli
2f69ac7773
Document bottomTabReselected
7 vuotta sitten
Brendon Sled
1603eb9bfa
Added screen backgroundColor to BottomTabsLayout (#1427 )
7 vuotta sitten
Brendon Sled
da9ed0c5fe
Fixed BottomTabs height being calculated twice (#1421 )
7 vuotta sitten
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
7 vuotta sitten
Guy Carmeli
66bc1ef7a0
Fix misaligned text in CollapsingTextView (#1418 )
7 vuotta sitten
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
7 vuotta sitten
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
7 vuotta sitten
Brendon Sled
abca139061
Fixed bottom tab bar animation setting the wrong value (#1403 )
7 vuotta sitten
Guy Carmeli
b9a3ceda60
Use animationType fade when starting the app
7 vuotta sitten
Brendon Sled
c8af4fdf07
Fixed lightbox status bar color override on Android (#1396 )
* Fixed lightbox status bar color override on Android
* Added missing imports
7 vuotta sitten
Guy Carmeli
0de47791fe
Reformat code (#1401 )
7 vuotta sitten
Guy Carmeli
b4ad066b2f
Align FAB to screen when BottomTabs are hidden (#1400 )
7 vuotta sitten
andrey
4c85cfde25
Add navBarSubtitleFontFamily to docs (#1395 )
7 vuotta sitten
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
7 vuotta sitten
Henry Chan
f3e7d8788e
Update styling-the-tab-bar.md (#1394 )
Removing duplicate property
7 vuotta sitten
Guy Carmeli
96934a3d2a
Update to RN 0.45.1
7 vuotta sitten
Daniel Zlotin
de22a372da
allow creation of MainReactPackage and or NavigationReactPackage
7 vuotta sitten
Daniel Zlotin
236e1d7c68
indentation
7 vuotta sitten
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
7 vuotta sitten
Guy Carmeli
2b24dff582
Fix flickering statusBar when showing modal (#1386 )
7 vuotta sitten
Guy Carmeli
1eb3bf66d3
Null check ReactContext in onActivityResult (#1380 )
Can be null if returning from another app and our activity wad destroyed in background
7 vuotta sitten
Ruslan.V
394e0960f8
[Android] Added fade & horizontal transition animations between screens (#1371 )
7 vuotta sitten
Ruslan.V
000eef1b1c
[iOS] Added fade transition animation between screens (#1367 )
* [iOS] Added fade transition animation between screens
* Update docs for #1367
7 vuotta sitten
Guy Carmeli
822afefd7e
Return empty Drawable when bridge isn't available (#1360 )
7 vuotta sitten
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
7 vuotta sitten
Kyle Johnson
0381fd0f98
Feature/set drawer enabled ios (#1347 )
* setDrawerEnabled with params side and enabled
* Tweak docs, small RCCDrawerController fix
* Correct indents
* Correct indents
7 vuotta sitten
Guy Carmeli
1d9b02d4a1
Use hardcoded BottomTabs height in visibility animator constructor (#1353 )
7 vuotta sitten
Guy Carmeli
3cd5f34804
Create styling-the-navigator.md
7 vuotta sitten
Leonardo Galante
f6f6dc597c
Add tabBarHidden key to docs (#1345 )
7 vuotta sitten
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
7 vuotta sitten
Guy Carmeli
8fd1a231ad
Revert "Fix title bar not displayed if it was initially hidden (#1341 )" (#1342 )
This reverts commit 7919e65932 .
7 vuotta sitten
Guy Carmeli
7919e65932
Fix title bar not displayed if it was initially hidden (#1341 )
Also cleaned up VisibilityAnimator.
7 vuotta sitten
Doron Pearl
48fbe55599
upgrade example e2e tests to detox 5 + RN 44.2 (#1337 )
7 vuotta sitten
Matt Davies
3176aeb448
Add a way to dynamically enable/disable a side menu for Android (#1326 )
7 vuotta sitten