Skip to content

Commit 22f0e4a

Browse files
authored
Bugfix/example fixes (#196)
* Use the new package scheme for the Android dependency * Use latest version of js library in examples
1 parent 9747213 commit 22f0e4a

File tree

13 files changed

+17
-20
lines changed

13 files changed

+17
-20
lines changed

Example/AndroidExample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Demo application for Android
55
## Versions
66
- **React Native** 0.57.2
77
- **App Auth:** 0.94.0
8-
- **React Native App Auth:** 3.1.0
8+
- **React Native App Auth:** Latest
99

1010
## Setup
1111

Example/AndroidExample/android/app/src/main/java/com/rnappauthandroidexample/MainApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import android.app.Application;
44

55
import com.facebook.react.ReactApplication;
6-
import com.reactlibrary.RNAppAuthPackage;
6+
import com.rnappauth.RNAppAuthPackage;
77
import com.facebook.react.ReactNativeHost;
88
import com.facebook.react.ReactPackage;
99
import com.facebook.react.shell.MainReactPackage;

Example/AndroidExample/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"react": "16.5.0",
1111
"react-native": "0.57.2",
12-
"react-native-app-auth": "^3.1.0",
12+
"react-native-app-auth": "FormidableLabs/react-native-app-auth",
1313
"styled-components": "^3.4.10"
1414
},
1515
"devDependencies": {

Example/AndroidExample/yarn.lock

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4873,10 +4873,9 @@ react-is@^16.3.1, react-is@^16.5.0:
48734873
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.5.2.tgz#e2a7b7c3f5d48062eb769fcb123505eb928722e3"
48744874
integrity sha512-hSl7E6l25GTjNEZATqZIuWOgSnpXb3kD0DVCujmg46K5zLxsbiKaaT6VO9slkSBDPZfYs30lwfJwbOFOnoEnKQ==
48754875

4876-
react-native-app-auth@^3.1.0:
4876+
react-native-app-auth@FormidableLabs/react-native-app-auth:
48774877
version "3.1.0"
4878-
resolved "https://registry.yarnpkg.com/react-native-app-auth/-/react-native-app-auth-3.1.0.tgz#642d920e10888c21412ddf844661363e58071ef5"
4879-
integrity sha512-UnspV2pRF1FDnrR/pgeLNG3YgQTO13sdjjOBNhRDyW6vDaLzXX2YGo6Ivb1T2HeTY7mFm11h+t/f+b0s8gNaoA==
4878+
resolved "https://codeload.github.com/FormidableLabs/react-native-app-auth/tar.gz/9747213b00b0ac46449ff19fa5c720a45720e1cd"
48804879

48814880
react-native@0.57.2:
48824881
version "0.57.2"

Example/Latest/android/app/src/main/java/com/appauthexample/MainApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import android.app.Application;
44

55
import com.facebook.react.ReactApplication;
6-
import com.reactlibrary.RNAppAuthPackage;
6+
import com.rnappauth.RNAppAuthPackage;
77
import com.facebook.react.ReactNativeHost;
88
import com.facebook.react.ReactPackage;
99
import com.facebook.react.shell.MainReactPackage;

Example/Latest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"react": "16.5.0",
1111
"react-native": "0.57.0",
12-
"react-native-app-auth": "^3.1.0",
12+
"react-native-app-auth": "FormidableLabs/react-native-app-auth",
1313
"styled-components": "^3.4.9"
1414
},
1515
"devDependencies": {

Example/Latest/yarn.lock

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4694,10 +4694,9 @@ react-is@^16.3.1, react-is@^16.5.0:
46944694
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.5.2.tgz#e2a7b7c3f5d48062eb769fcb123505eb928722e3"
46954695
integrity sha512-hSl7E6l25GTjNEZATqZIuWOgSnpXb3kD0DVCujmg46K5zLxsbiKaaT6VO9slkSBDPZfYs30lwfJwbOFOnoEnKQ==
46964696

4697-
react-native-app-auth@^3.1.0:
4697+
react-native-app-auth@FormidableLabs/react-native-app-auth:
46984698
version "3.1.0"
4699-
resolved "https://registry.yarnpkg.com/react-native-app-auth/-/react-native-app-auth-3.1.0.tgz#642d920e10888c21412ddf844661363e58071ef5"
4700-
integrity sha512-UnspV2pRF1FDnrR/pgeLNG3YgQTO13sdjjOBNhRDyW6vDaLzXX2YGo6Ivb1T2HeTY7mFm11h+t/f+b0s8gNaoA==
4699+
resolved "https://codeload.github.com/FormidableLabs/react-native-app-auth/tar.gz/9747213b00b0ac46449ff19fa5c720a45720e1cd"
47014700

47024701
react-native@0.57.0:
47034702
version "0.57.0"

Example/iOSCarthageExample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Demo application installing the AppAuth dependency using Carthage
55
## Versions
66
- **React Native** 0.57.2
77
- **App Auth:** 0.94.0
8-
- **React Native App Auth:** [from PR](https://github.com/FormidableLabs/react-native-app-auth/pull/189)
8+
- **React Native App Auth:** Latest
99

1010
## Setup
1111

Example/iOSCarthageExample/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"react": "16.5.0",
1111
"react-native": "0.57.2",
12-
"react-native-app-auth": "FormidableLabs/react-native-app-auth#189/head",
12+
"react-native-app-auth": "FormidableLabs/react-native-app-auth",
1313
"styled-components": "^3.4.10"
1414
},
1515
"devDependencies": {

Example/iOSCarthageExample/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4873,9 +4873,9 @@ react-is@^16.3.1, react-is@^16.5.0:
48734873
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.5.2.tgz#e2a7b7c3f5d48062eb769fcb123505eb928722e3"
48744874
integrity sha512-hSl7E6l25GTjNEZATqZIuWOgSnpXb3kD0DVCujmg46K5zLxsbiKaaT6VO9slkSBDPZfYs30lwfJwbOFOnoEnKQ==
48754875

4876-
react-native-app-auth@FormidableLabs/react-native-app-auth#189/head:
4876+
react-native-app-auth@FormidableLabs/react-native-app-auth:
48774877
version "3.1.0"
4878-
resolved "https://codeload.github.com/FormidableLabs/react-native-app-auth/tar.gz/f83fffbb9bca78b108cc5abf9625814a60cae94d"
4878+
resolved "https://codeload.github.com/FormidableLabs/react-native-app-auth/tar.gz/9747213b00b0ac46449ff19fa5c720a45720e1cd"
48794879

48804880
react-native@0.57.2:
48814881
version "0.57.2"

0 commit comments

Comments
 (0)