Commit Graph

80 Commits

Author SHA1 Message Date
Krzysztof Magiera
5dadab9aa6 Trigger moveToWindow:nil call when screen animation starts to mimick UINavController behavior (#47)
With this change in the screens that are being transitioned get detach+attach events similarily to how it is done in UINavigationController. This allows views underneath to get notified that the transition is started and react to it when necessary (e.g. hide keyboard)
2018-12-20 08:39:11 +01:00
Krzysztof Magiera
5cd96cdd1b Upgrade Example project 2018-12-18 13:14:43 +01:00
Tycho Tatitscheff
bf0cca0bae Update build.gradle (#45)
gradle 2.2.1 is no more resolved on maven. This resuts in a build error like:

```
* What went wrong:
A problem occurred configuring project ':react-native-image-picker'.
> Could not resolve all artifacts for configuration ':react-native-image-picker:classpath'.
   > Could not find any matches for com.android.tools.build:gradle:2.2.+ as no versions of com.android.tools.build:gradle are available.
     Searched in the following locations:
       - https://jcenter.bintray.com/com/android/tools/build/gradle/maven-metadata.xml
       - https://jcenter.bintray.com/com/android/tools/build/gradle/
     Required by:
         project :react-native-image-picker
```

RNSvg already fix here : e48dbdb08b (diff-c31b32364ce19ca8fcd150a417ecce58)
2018-12-18 12:53:56 +01:00
Krzysztof Magiera
1cd165e763 Use react-navigation v3 2018-12-13 20:14:01 +01:00
Krzysztof Magiera
7e8337b059 Bump version -> alpha.17 2018-12-05 08:20:06 +01:00
Guillaume Duveau
68424adc39 Support project-wide properties, replace deprecated configuration (#41) 2018-12-05 08:19:35 +01:00
Krzysztof Magiera
a2046da40d Bump version -> alpha.16 2018-11-05 10:37:35 +01:00
Krzysztof Magiera
f57223659c Fix issue with alert/modal dismiss when pushing new screens 2018-11-05 10:37:16 +01:00
Krzysztof Magiera
88ba15f86d Fix project config to make it possible to run on device 2018-11-05 10:36:24 +01:00
sebryu
2af7141beb Updated name of library in readme file (#37) 2018-10-25 13:03:34 +02:00
Krzysztof Magiera
c32b4e4c11 Bump version -> alpha.15 2018-10-12 13:52:45 +02:00
Krzysztof Magiera
35120d9f8a Export native screen components so that they can be wrapped in reanimated view wrapper 2018-10-12 13:52:22 +02:00
Krzysztof Magiera
5763e7c745 Update example config for Android to make it build after recent screens package renaming 2018-10-11 12:51:06 +02:00
Krzysztof Magiera
214ded0152 Fix example app to make it compile with new RN 2018-10-11 12:46:16 +02:00
Janic Duplessis
ece5b6ef6a Use commitAllowingStateLoss instead of commit (#24)
This fixes a crash I saw in production on Android `java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState`. The fix is based on the comment here https://stackoverflow.com/questions/7575921/illegalstateexception-can-not-perform-this-action-after-onsaveinstancestate-wit.

The crash stopped happening since deploying this fix.

Fixes #20
2018-10-11 12:44:34 +02:00
Scott MacLellan
29022684cc Fixing a minor typo (#25)
Updating a really minor typo in the readme: `s/enojy/enjoy`.

Here it is in context:

```markdown
3. That's all 🎉 – enjoy faster navigation in your Expo app. Keep in mind screens are in pretty early phase so please report if you discover some issues.
```
2018-10-08 09:07:14 +02:00
Janic Duplessis
7ffdccd377 Use getViewManagerConfig when available to remove warning (#28) 2018-10-08 09:06:53 +02:00
Thibault Malbranche
0daa7e2ef7 Rename RNScreen to RNScreens to stay consistent (#27) 2018-10-08 09:06:12 +02:00
Krzysztof Magiera
6291a98bbc Bump version -> alpha.14 2018-10-02 20:36:13 +02:00
Krzysztof Magiera
1a1b38f7d4 Rename screens.shared and screens.js to .native.js and .web.js to support react native web users properly 2018-10-02 20:35:42 +02:00
Krzysztof Magiera
27f235fc9a Bump version -> alpha.13 2018-10-02 16:00:41 +02:00
Janic Duplessis
5e41470b4f Fix typo in updateContainer method definition (#23) 2018-10-02 16:00:13 +02:00
Bruno Lemos
4cf7b82a11 Fix for unsupported platforms (#22)
Fixes #13 for real
Fixes https://github.com/react-navigation/react-navigation/issues/5004

Use different `index.js` files for supported and unsupported platforms.

Tested on iOS and on an existing web project that uses react-navigation.

---

!['react-native' does not contain an export named 'requireNativeComponent'.](https://user-images.githubusercontent.com/619186/46323012-8164e300-c5c2-11e8-964e-b6f233776dab.png)

Necolas explained here that this import should not be on any file that runs on web: https://github.com/necolas/react-native-web/issues/507#issuecomment-307953785
2018-10-02 15:59:23 +02:00
Krzysztof Magiera
75b62b487f Merge pull request #19 from kelset/patch-1
Update README.md
2018-10-01 19:08:55 +02:00
Lorenzo Sciandra
b6c83acc6b Update README.md
fix for crash
2018-09-27 12:24:19 +01:00
Krzysztof Magiera
8d2463faed Update README.md 2018-09-27 11:42:51 +02:00
Krzysztof Magiera
b9d84e7f22 Update README.md 2018-09-25 09:30:39 +02:00
Krzysztof Magiera
91cb2bd423 Update README.md 2018-09-25 09:26:01 +02:00
Krzysztof Magiera
cf695ffe82 Merge pull request #16 from Minishlink/patch-1
Minimal support for other platforms
2018-09-25 08:28:53 +02:00
Louis Lagrange
118068ed13 Minimal support for other platforms
Such as web, windows...
2018-09-24 22:06:40 +02:00
Krzysztof Magiera
b9938ada36 Merge pull request #14 from ckknight/types
Add typescript definitions
2018-09-24 08:46:25 +02:00
Cameron Knight
7a1668abca Add typescript definitions 2018-09-19 16:04:22 -07:00
Krzysztof Magiera
18e13ec5e9 Bump version -> alpha.12 2018-09-18 10:54:43 +02:00
Krzysztof Magiera
e2e8310b17 Merge pull request #12 from fangasvsass/master
fixes setActive method when the param is not int type in Android
2018-09-17 13:32:49 +02:00
Krzysztof Magiera
833e310392 Bump version -> alpha.11 2018-09-17 12:10:27 +02:00
Krzysztof Magiera
14e1334505 Export screensEnabled method to test if screens support is switched ON 2018-09-17 12:09:50 +02:00
blake
851fed90c8 fixes setActive method when the param is not int type in Android 2018-09-17 14:14:59 +08:00
Krzysztof Magiera
310847e02f Bump version -> alpha.10 2018-09-14 12:34:14 +02:00
Krzysztof Magiera
5c78c68b60 Upgrade RN version in example app 2018-09-14 12:29:07 +02:00
Krzysztof Magiera
38e163eb76 Use RCTExecuteOnMainQueue to make sure updates are executed immediately in batch
This fixes problem with black screen when navigating back in react nativation.
2018-09-14 12:29:07 +02:00
Krzysztof Magiera
f4aea4d831 Merge pull request #10 from Nkzn/patch-3
fix: link syntax@README
2018-09-14 10:03:33 +02:00
Krzysztof Magiera
d5953d3336 Merge pull request #6 from xcarpentier/patch-1
Fix typo
2018-09-14 10:03:04 +02:00
Krzysztof Magiera
b2fdb566bb Merge pull request #5 from dsznajder/update-peer-dependencies
Resolve unmet peer dependencies
2018-09-14 10:02:47 +02:00
Krzysztof Magiera
4aefd192f2 Merge pull request #3 from brentvatne/patch-1
Fix typo in error message and be specific about the README
2018-09-14 10:02:24 +02:00
Yukiya Nakagawa
5aabeeed1e fix: link syntax@README 2018-09-14 16:42:22 +09:00
Krzysztof Magiera
295db9ea62 Update README.md 2018-09-14 09:01:18 +02:00
Krzysztof Magiera
852f898889 Update README.md 2018-09-14 08:59:28 +02:00
Xavier Carpentier
c999930af6 Fix typo 2018-09-12 21:00:49 +02:00
Damian Sznajder
efd93fc3a3 Resolve unmet peer dependencies 2018-09-12 20:51:21 +02:00
Krzysztof Magiera
651adf6725 Update README.md 2018-09-12 16:53:08 +02:00