alex clifton
445dcfcdf2
unhandled promise rejection failed to delete storage directory ( #5727 )
...
with:
await AsyncStorage.clear();
I'm getting this in ios:
unhandled promise rejection failed to delete storage directory
found this:
https://stackoverflow.com/questions/46736268/react-native-asyncstorage-clear-is-failing-on-ios
switched to use this instead:
await AsyncStorage.getAllKeys().then(AsyncStorage.multiRemove)
but that causes unhandled promise rejection in android.
this is working:
Platform.OS === 'ios' ? await AsyncStorage.getAllKeys().then(AsyncStorage.multiRemove) : await AsyncStorage.clear()
2019-03-22 11:13:05 -07:00
Brent Vatne
c766a66be8
Regenerate lockfile in NavigationPlayground
2019-03-19 16:17:38 -07:00
Brent Vatne
c4278e5250
Remove unnecessary dependency in NavigationPlayground
...
- node_modules is pulled in when using file://../../ in yarn
2019-03-15 19:40:39 -07:00
Brent Vatne
2d6a284226
Fix jest test
2019-03-15 19:37:15 -07:00
Brent Vatne
91f3f93541
Fix RNGH type definition
2019-03-15 10:32:37 -07:00
Brent Vatne
a8c0f83df9
Enable tests on CI again (currently will fail because of TS error in RNGH)
2019-03-13 21:27:15 -07:00
Brent Vatne
e117bb3cde
Get Jest running in NavigationPlayground
2019-03-13 21:24:15 -07:00
Brent Vatne
245d09ed1a
Fix NavigationPlayground and bump some versions
2019-03-13 15:51:50 -07:00
Jan Hesters
eac5feb64e
Add TypeScript declaration file and convert NavigationPlayground to TypeScript
2019-03-13 11:10:31 -07:00
Steven Black
e4902e98aa
CustomTabs – consolidate all imports from react-navigation on the same line. ( #5664 )
2019-03-07 20:44:42 -03:00
Titus Efferian
4d5641f7be
remove unused import and unused destructuring ( #5622 )
2019-02-28 15:11:25 -06:00
Danny Althoff
114e28b56f
fixed typo in Custom TaB UI example ( #5627 )
2019-02-27 11:47:03 -08:00
Brent Vatne
77aa514874
Release 3.2.3
2019-02-13 21:16:19 -08:00
Brent Vatne
ebc18aa859
Release 3.2.0
2019-02-08 18:24:47 -08:00
Brent Vatne
a931aa3986
Release 3.1.5
2019-02-06 09:07:05 -08:00
Brent Vatne
ea002fe950
Bump @react-navigation/native and react-navigation-stack
2019-02-04 16:42:40 -08:00
Brent Vatne
31e07e9692
Bump @react-navigation/native and react-navigation-drawer dependencies
2019-01-09 12:29:12 -08:00
Brent Vatne
49e3fb0d97
Update README in NavigationPlayground
2018-12-26 12:16:17 -08:00
Paul-Henri Koeck
4eec187d66
Fix for NavigationPlayground red box (duplicate native module) ( #5294 )
...
Solves https://github.com/react-navigation/react-navigation/issues/5293
2018-11-27 11:09:41 -08:00
Brent Vatne
55f326960a
Release 3.0.0
2018-11-26 11:50:25 -08:00
Brent Vatne
23f7895792
Release 3.0.0-rc.5
2018-11-07 16:53:10 -08:00
Brent Vatne
a393818875
Release 3.0.0-rc.1 with explicit dependency on react-native-screens
2018-11-01 16:27:11 -07:00
Brent Vatne
4254d46694
Clean up SafeAreaView in example
2018-10-31 15:54:29 -07:00
Eric Vicenti
4502061a10
bump versions, export context
2018-10-29 20:15:41 -07:00
Brent Vatne
7942eecb4e
Bump react-navigation-stack version
2018-10-26 10:57:09 -07:00
Brent Vatne
308d38015d
Bump core for default params
2018-10-23 17:01:43 -07:00
Brent Vatne
77c30d543b
Bump @react-navigation/native and re-export scroll related modules
2018-10-23 11:52:21 -07:00
Brent Vatne
93ce7f4e9e
Release 3.0.0-alpha.10
2018-10-22 21:01:39 -07:00
Brent Vatne
eb54371306
Bump dependency versions
2018-10-22 19:50:33 -07:00
Brent Vatne
a2e053d31c
Bump react-navigation-stack
2018-10-22 19:50:33 -07:00
Yao Hui Chua
af18e1c672
Fix typo in MainScreen ( #5162 )
2018-10-22 11:55:11 -07:00
Brent Vatne
0c9014e52f
Bump versions
2018-10-17 15:35:57 -07:00
Brent Vatne
89b01f2211
Bump dependency versions
2018-10-16 21:29:01 -07:00
Brent Vatne
ffae3efe42
Use RNGH buttons
2018-10-16 13:21:56 -07:00
Brent Vatne
550d4fb676
Update for new alpha versions of navigators, release new alpha
2018-10-15 14:15:01 -07:00
Eric Vicenti
402b201618
Fix playground
2018-10-11 20:58:39 -07:00
Eric Vicenti
df1728e13b
Copy native support to @react-navigation/native
2018-10-11 20:47:20 -07:00
Eric Vicenti
b331dea1a1
Extract core codebase to @react-navigation/core
2018-10-11 14:48:58 -07:00
Brent Vatne
9e1982d8a8
Bump navigator dependencies to alpha versions
2018-10-11 12:48:47 -07:00
Brent Vatne
51d791d301
navigationOptions in navigator config is renamed to defaultNavigationOptions.
...
The new meaning of navigationOptions in navigator config is the navigation options for that navigator, not for screens inside of it.
2018-10-11 12:46:54 -07:00
Eric Vicenti
3ac5f412b7
Introduce getActiveChildNavigationOptions ( #5080 )
...
This is a utility to allow navigationOptions definition functions to access the navigation options of the active child route, which allows people to replicate the v1 behavior of deep nav configuration.
2018-10-09 15:37:57 -07:00
Eric Vicenti
03d9133a7d
Custom Tabs UI Example ( #4996 )
...
* Custom Tabs UI Example
* Clean up and add SafeAreaView
2018-09-19 21:15:34 +02:00
Brent Vatne
0b698ae5d6
Update playground to expo sdk 30 and add commented out screens option in App.js
2018-09-14 11:48:34 +02:00
Brent Vatne
ffd1865485
Bump react-navigation-stack and react-navigation-tabs
2018-09-06 15:06:34 -07:00
Brent Vatne
27eb73cc14
Release 2.12.1
2018-08-23 16:29:12 -07:00
Brent Vatne
556c31626e
Update react-navigation-stack, export HeaderStyleInterpolator, and add example of using it to playground
2018-08-22 17:16:39 -07:00
Brent Vatne
b6bca3ed2e
Fix drawer config in Drawer + Tabs example
2018-08-22 16:04:11 -07:00
Nicolas Charpentier
0c56b21b46
Remove duplicate private key ( #4819 )
...
A package can't be more private than that, so let's remove duplicates.
2018-08-21 16:13:22 -07:00
Brent Vatne
b0443c1861
Move more logs behind debug flag in stack playground
2018-07-24 10:47:59 -07:00
Brent Vatne
cd3707d64b
Add headerLayoutPreset, add config for back button title visibility and make it have reasonable defaults, better back button ripple on Android ( #4588 )
2018-07-20 14:12:39 -07:00