Commit Graph

136 Commits

Author SHA1 Message Date
Krzysztof Magiera
c1540d395b Bump version -> 2.0.0-alpha3 2.0.0-alpha3 2.0.0-alpha.3 2019-09-09 15:14:56 +02:00
Krzysztof Magiera
6508386424 Fix issue with soft keyboard not showing from time to time on Android (#152) 2019-09-09 15:14:24 +02:00
dependabot[bot]
de9bfc3021 Bump extend from 3.0.1 to 3.0.2 (#143)
Bumps [extend](https://github.com/justmoon/node-extend) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/justmoon/node-extend/releases)
- [Changelog](https://github.com/justmoon/node-extend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/justmoon/node-extend/compare/v3.0.1...v3.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:40:33 +02:00
dependabot[bot]
797a41cd54 Bump merge from 1.2.0 to 1.2.1 (#142)
Bumps [merge](https://github.com/yeikos/js.merge) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/yeikos/js.merge/releases)
- [Commits](https://github.com/yeikos/js.merge/compare/v1.2.0...v1.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:40:17 +02:00
dependabot[bot]
8567af05fe Bump mixin-deep from 1.3.1 to 1.3.2 (#146)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:36:08 +02:00
dependabot[bot]
2c6e99223e Bump morgan from 1.9.0 to 1.9.1 (#145)
Bumps [morgan](https://github.com/expressjs/morgan) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/expressjs/morgan/releases)
- [Changelog](https://github.com/expressjs/morgan/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/morgan/compare/1.9.0...1.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:35:54 +02:00
dependabot[bot]
fefe4a4fdc Bump react-dom from 16.4.1 to 16.4.2 (#140)
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.4.1 to 16.4.2.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.4.2/packages/react-dom)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:35:34 +02:00
dependabot[bot]
171eb42b62 Bump lodash from 4.17.10 to 4.17.15 (#133)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:35:23 +02:00
dependabot[bot]
bf7db1d348 Bump handlebars from 4.0.12 to 4.2.0 in /Example (#147)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.2.0.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:35:15 +02:00
dependabot[bot]
034fbb3f12 Bump js-yaml from 3.12.0 to 3.13.1 (#108)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:34:47 +02:00
dependabot[bot]
cf2bf00b23 Bump handlebars from 4.0.11 to 4.1.2 (#110)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.11 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.11...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:34:31 +02:00
dependabot[bot]
8c8b52cd4e Bump js-yaml from 3.12.0 to 3.13.1 in /Example (#107)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:34:02 +02:00
dependabot[bot]
6de1282412 Bump mixin-deep from 1.3.1 to 1.3.2 in /Example (#144)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:33:51 +02:00
dependabot[bot]
db725d4cce Bump lodash from 4.17.11 to 4.17.15 in /Example (#148)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:33:39 +02:00
dependabot[bot]
e42f8da979 Bump merge from 1.2.0 to 1.2.1 in /Example (#141)
Bumps [merge](https://github.com/yeikos/js.merge) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/yeikos/js.merge/releases)
- [Commits](https://github.com/yeikos/js.merge/compare/v1.2.0...v1.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-09 10:33:23 +02:00
Horcrux
ad14bf417a fix project.pbxproj (#150) 2019-09-09 10:32:56 +02:00
Krzysztof Magiera
827116725a Bump version -> 2.0.0-alpha2 2019-09-09 10:32:00 +02:00
Krzysztof Magiera
f8a104a698 Fix iOS back gesture handling (header config & touches) 2019-09-09 10:31:15 +02:00
Brent Vatne
4e57b61d2c Merge pull request #149 from todorone/patch-1
Fix README typo
2019-09-05 11:10:06 -07:00
Fedir Ushakov
bf23bf6ce6 Fix typo 2019-09-05 19:27:19 +03:00
Krzysztof Magiera
7084d140ee Bump version -> 2.0.0-alpha1 2019-09-05 16:55:38 +02:00
Krzysztof Magiera
a9fbe70892 README updates 2019-09-05 16:55:15 +02:00
Krzysztof Magiera
80a466970e Navigation stack native primitives (#139)
Adds support for stack navigation primitives (UINavigationViewController and Android fragment container with back button support)
2019-09-05 13:55:14 +02:00
Radek Pietruszewski
4c2aded426 [trivial] Update README.md - ReactFragmentActivity (#131) 2019-07-18 22:47:45 +02:00
Brent Vatne
df03cd9829 Merge pull request #132 from mitulsavani/patch-1
Fixed typo
2019-07-18 11:07:28 -07:00
Mitul Savani
43b2d7a92d Fixed typo 2019-07-17 12:35:33 -04:00
Krzysztof Magiera
ada582f3e3 Bump version -> alpha.23 1.0.0-alpha.23 2019-07-05 21:23:55 +02:00
Satyajit Sahoo
c1cbf77097 Add lazy requiring screens components (#117)
* Add lazy requiring screens components

* Fix naming

* Lazily initialize AnimatedNativeScreen
2019-07-04 12:44:32 +02:00
Michał Osadnik
b042571315 Add lazy requiring screens components (#115)
* Add lazy requiring screens components

* Fix naming
2019-07-04 12:41:00 +02:00
bpeyrou
ed826d7b91 Upgrade from android support v4 to androidX (#68) 2019-07-04 10:57:58 +02:00
Radek Pietruszewski
0627e742c8 [trivial] fix link (#118) 2019-07-04 10:57:18 +02:00
Satyajit Sahoo
acf80e640c Fix type of active prop in typescript definitions (#97)
The TS definitions specify the prop as a boolean, but passing a boolean causes a crash.
2019-05-13 14:40:47 +02:00
chrisnojima
0d082ad985 Fix the missing setRef handler (#91) 2019-04-30 07:54:26 +02:00
Evan Bacon
dd0d564cd3 [web] Default active prop to true (#90)
* navigation expects the default of `active` value to be `true`
* fixed typo
2019-04-25 10:53:14 +02:00
Evan Bacon
033a6d3167 [web] Added active prop (#88)
# Why

[`react-navigation-stack`](https://github.com/react-navigation/react-navigation-stack/pull/105) relies on Screens to be removed when the active prop is falsey.

# How

Set `display: none` when the `active` prop is `false` or an `Animated.Value` with a value of `0`.

Related: https://github.com/react-navigation/react-navigation-stack/pull/105
2019-04-19 12:18:08 +02:00
Maytee Chinavanichkit
54b5e75b11 Fix non ascii character in comment (#82)
I was getting the following compilation errors when I pulled in this repo.

```
error: unmappable character for encoding ASCII
```

The root cause seems to be the character below was not from the ASCII set.
2019-03-28 11:25:54 +01:00
Michał Osadnik
e8d792d549 Merge pull request #75 from scottmas/master
Update docs
2019-03-11 11:42:17 +01:00
scottmas
a0e7dd990b Update
Tweak
2019-02-25 15:06:50 -07:00
scottmas
36aa843aaf Tweak readme
Tweak readme
2019-02-25 14:20:43 -07:00
scottmas
e96f4954db Update docs
The docs do not state that react-native-screens is also used by default for the tab and drawer navigators. I updated the docs to include that. I didn't see support in any of the other navigators that I looked at, but if there are any others, we should update the documentation for them as well.
2019-02-25 08:41:22 -07:00
Michel dos Santos Kuguio
f28f889f98 update to gradle 4.10.1 or high (#60)
Add suport to gradle 4.10.1 or high!
The new version of android studio 3.3 recommendete to update gradle project to 4.10.1 

> To take advantage of the latest features, improvements, and security fixes, we strongly recommend that you update the Android Gradle plugin to version 3.3.0 and Gradle to version 4.10.1. [Release notes ](https://developer.android.com/studio/releases/gradle-plugin) 

>Android plugin 3.2.0 and higher now support building the Android App Bundle—a new upload format that defers APK generation and signing to compatible app stores, such as Google Play. With app bundles, you no longer have to build, sign, and manage multiple APKs, and users get smaller, more optimized downloads. [Learn more](https://developer.android.com/guide/app-bundle/?utm_source=android-studio)

but if the upgrade to the new Android gradle warning come up, becouse  was obsoleted 

> WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'.

> It will be removed at the end of 2019.
> For more information, [see ](https://d.android.com/r/tools/task-configuration-avoidance.)
> To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.


Changelog:
----------
[Android] [Deprecated] - fix warinings obsolete to update to gradle 4.10.1 or high

Test Plan:
----------
change gradle-wrapper.proprerties:
`- distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip`
`+ distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip`

and in build.gradle

` - classpath 'com.android.tools.build:gradle:3.2.0'`
`+ classpath 'com.android.tools.build:gradle:3.3.0'`

for warnnings starts, use this change and fix the problem! =)
2019-02-12 13:09:47 +01:00
Alain Hufkens
8bfc363cf7 Add tvOS target (#65)
I added a RNScreens-tvOS Target. It doesn't have anything that doesn't work on tvOS.
it's working in our project now.
2019-02-12 13:09:22 +01:00
Krzysztof Magiera
c680c4fd91 Bump version -> alpha.22 1.0.0-alpha.22 2019-01-15 16:30:28 +01:00
Krzysztof Magiera
c741acf7cc Unwrap Context in order to retrieve Activity subclass (#59)
This fixes crash on Expo client which is wrapping Activity prior to passing it as a context to the root view.

After my recent change in the logic on how we access main activity we know extract the reference to it using `getContext` from the root view. Previously we were using `getTopLevelActivity` which wasn't working well in the cases where other non-react-native activities were transitioning in or out. The new approach however turned out not to be the best as for example expo client does not pass activity instance as a context directly to the root view. Instead the activity class is wrapped in ContextThemeWrapper ([see it here](41458d1de9/android/expoview/src/main/java/versioned/host/exp/exponent/ReactUnthemedRootView.java (L13))).

We now try to unwrap the context if it is not a fragment activity using `getBaseContext`

This fixes https://github.com/expo/expo/issues/3191
2019-01-15 16:29:46 +01:00
Krzysztof Magiera
11906bfddf Bump version -> alpha.21 2019-01-07 11:11:45 +01:00
Krzysztof Magiera
742df91d39 Restore view interaction when container changes from 0 active to 1 active (#56)
Previously we weren't triggering transaction finish when going from none active screens to 1 active screen. This turns out to be the case in tab navigator where for a sub-frame moment the active state changes for the current screen to `NO` and then new screen isn't active yet.

Fixes #53
2019-01-07 11:11:21 +01:00
Krzysztof Magiera
9e151fe6fb Bump version -> alpha.20 2019-01-04 16:44:37 +01:00
Krzysztof Magiera
c0b73545ff Avoid ReactContext.getCurrentActivity for accessing FragmentActivity 2019-01-04 16:44:01 +01:00
Krzysztof Magiera
0f6e0c123d Bump version -> alpha.19 2018-12-20 11:03:13 +01:00
Krzysztof Magiera
369987f68e Make sure we access fragment manager only when view is attached (activity is foregrounded) (#52)
This change makes us reach to fragment manager only when screen container is attached to window (and therefore we are sure that the current activity is react one). The problem reported in #33 was due to the fact we'd do that when container is instantiated which does not necessarily mean that react activity is in foreground. We didn't need to actually access fragment manager while not in foreground so this change removes fragmentManager as a member and we get it directly from context when needed.

Supposedly fixes #33
2018-12-20 11:02:39 +01:00