Commit Graph

2235 Commits

Author SHA1 Message Date
Jose G
4e74437a44 chore(typescript): export InitialLayout type (#5738) 2019-03-27 00:14:32 +01:00
alex clifton
f23ba70ad7 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 14:13:05 -04:00
Jose G
ec7e1f7f8a chore(typescript): export ScreenProps (#5726) 2019-03-22 19:11:05 +01:00
Jose G
07e7df0186 [TypeScript] Export DrawerIconProps and DrawerLabelProps (#5715)
* chore(typescript): export DrawerIconProps and DrawerLabelProps

* chore: update changelog
2019-03-21 03:28:36 +01:00
Jose G
cdf8e9eb25 chore(typescript): export "TabBarIconProps" and "TabBarLabelProps" (#5712) 2019-03-20 18:02:12 +01:00
Brent Vatne
0f2792b65e Release 3.5.1 2019-03-19 16:22:51 -07:00
Brent Vatne
d563ef8559 Regenerate lockfile in NavigationPlayground 2019-03-19 16:17:38 -07:00
Brent Vatne
990260b943 Regenerate lockfile 2019-03-19 16:15:33 -07:00
Brent Vatne
ba7c30114e Export GestureContexts and add missing type for withOrientation, fix header back button title prop type 2019-03-19 13:58:18 -07:00
Brent Vatne
64bd6f7dfe Release 3.5.0 2019-03-19 11:05:23 -07:00
Jacob Powers
677d4e9950 Issue-5701: TabBarBottom -> BottomTabBar in type definitions (#5702)
* Issue-5701: TabBarBottom -> BottomTabBar in type definitions

* BottomTabBar changelog update
2019-03-19 10:45:54 -07:00
Julian Hundeloh
31908c5306 fix: export NavigationContext in types (#5707) 2019-03-19 18:44:54 +01:00
Brent Vatne
8feb4e34dc Release 3.4.1 2019-03-16 10:45:03 -07:00
AkiVer
e23d86af8a Fix missing ts def (#5689)
* fix: missing typescript definition file

* chore: update changelog for missing ts file
2019-03-16 10:41:42 -07:00
Brent Vatne
0482a89089 Simplify CI config 2019-03-16 10:39:42 -07:00
Brent Vatne
4c689ab7be Attempted fix for CI 2019-03-16 09:40:31 -07:00
Brent Vatne
d9eee984a5 Remove cache 2019-03-15 19:50:12 -07:00
Brent Vatne
45bce5d352 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
12499677e2 Fix jest test 2019-03-15 19:37:15 -07:00
Brent Vatne
edfd50b7fd Release 3.5.0-alpha.0 2019-03-15 16:19:19 -07:00
Brent Vatne
0d423f4ce7 Release 3.4.0 2019-03-15 11:03:42 -07:00
Brent Vatne
303e9bb278 Fix RNGH type definition 2019-03-15 10:32:37 -07:00
Brent Vatne
d3ce361d38 Enable tests on CI again (currently will fail because of TS error in RNGH) 2019-03-13 21:27:15 -07:00
Brent Vatne
65629caadd Get Jest running in NavigationPlayground 2019-03-13 21:24:15 -07:00
Brent Vatne
0cabc7fb7e Fix NavigationPlayground and bump some versions 2019-03-13 15:51:50 -07:00
Jan Hesters
f58491b6d8 Add TypeScript declaration file and convert NavigationPlayground to TypeScript 2018-11-23 14:02:31 +01:00
Steven Black
35e6bc50dc CustomTabs – consolidate all imports from react-navigation on the same line. (#5664) 2019-03-07 18:44:42 -05:00
Titus Efferian
8a4f4ac372 remove unused import and unused destructuring (#5622) 2019-03-01 04:11:25 +07:00
Danny Althoff
e4bf3efbe3 fixed typo in Custom TaB UI example (#5627) 2019-02-27 20:47:03 +01:00
Brent Vatne
e324760298 Release 3.3.2 2019-02-25 14:27:25 -08:00
Brent Vatne
efb10328b7 Release 3.3.1 2019-02-25 14:24:55 -08:00
Ashoat Tevosyan
d1f6a92c14 [flow] Update Flow libdef with Feb 2019 changes (#5599)
This corresponds to three `flow-typed` PRs:

1. https://github.com/flow-typed/flow-typed/pull/3140 Get rid of deprecated Navigator exports in 3.0
2. https://github.com/flow-typed/flow-typed/pull/3147 Refine AnimatedValue type
3. https://github.com/flow-typed/flow-typed/pull/3148 Introduce SafeAreaViewInsets type
2019-02-16 19:30:36 -05:00
Brent Vatne
cef8f62301 Remove autopublish from CI 2019-02-16 16:28:03 -08:00
Brent Vatne
61977ef747 Release 3.3.0 2019-02-16 16:16:22 -08:00
Brent Vatne
4c89ec5da1 Release 3.2.3 2019-02-13 21:13:36 -08:00
Brent Vatne
df6f40be32 Release 3.2.1 2019-02-09 10:31:49 -08:00
Brent Vatne
09a8c82c7f Release 3.2.0 2019-02-08 18:24:47 -08:00
Brent Vatne
45b0375804 Release 3.1.5 2019-02-06 09:07:05 -08:00
Brent Vatne
55d137ccdf Release 3.1.4 2019-02-05 09:12:22 -08:00
Brent Vatne
1e1d8dc939 Release 3.1.3 2019-02-04 16:45:48 -08:00
Brent Vatne
4f0f511010 Bump @react-navigation/native and react-navigation-stack 2019-02-04 16:42:40 -08:00
NrqhEIcsRi004
1dce94bdff Update CHANGELOG.md (#5554) 2019-02-03 04:45:50 +07:00
Brent Vatne
f4023443dd Release 3.1.2 2019-02-01 11:59:47 -08:00
Brent Vatne
12e919f69d Bump @react-navigation/native and react-navigation-drawer dependencies 2019-01-09 12:29:12 -08:00
Nicolas Hart
523294730f fix typo "transtion" => "transition" (#5447) 2019-01-03 22:10:33 +01:00
Levi Buzolic
b015d5362d [flow] Update withNavigation and withNavigationFocus to support defaultProps (#5398) 2019-01-03 14:42:12 +11:00
Brent Vatne
af86f113a9 Remove README.md from examples directory 2018-12-26 12:16:39 -08:00
Brent Vatne
1e40076f70 Update README in NavigationPlayground 2018-12-26 12:16:17 -08:00
Brent Vatne
2bb5058eef Release 3.0.9 2018-12-19 10:31:49 -08:00
Brent Vatne
6f16ca3f8e Release 3.0.8 2018-12-11 11:52:19 -08:00