expo-app-auth
Advanced tools
Comparing version 4.0.0 to 5.0.0-rc.0
import { NativeModulesProxy } from '@unimodules/core'; | ||
export default NativeModulesProxy.ExpoAppAuth; | ||
export default NativeModulesProxy.ExpoAppAuth || {}; | ||
//# sourceMappingURL=ExpoAppAuth.js.map |
{ | ||
"name": "expo-app-auth", | ||
"version": "4.0.0", | ||
"version": "5.0.0-rc.0", | ||
"description": "Expo Unimodule for interfacing with the OpenID library AppAuth", | ||
@@ -55,3 +55,3 @@ "main": "build/AppAuth.js", | ||
}, | ||
"gitHead": "8413e821076a2eca36b302e68dd628ce2e1f591a" | ||
"gitHead": "211a7a3ce4007e7aa10ccf6efac4b5333ec31d0a" | ||
} |
@@ -14,3 +14,3 @@ # expo-app-auth | ||
For bare React Native projects, you must ensure that you have [installed and configured the `@unimodules/core` package](https://github.com/unimodules/core) before continuing. | ||
For bare React Native projects, you must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/unimodules/react-native-unimodules) before continuing. | ||
@@ -25,35 +25,10 @@ ### Add the package to your npm dependencies | ||
Add the dependency to your `Podfile` and then run `pod install`. | ||
Run `pod install` in the ios directory after installing the npm package. | ||
```ruby | ||
pod 'EXAppAuth', path: '../node_modules/expo-app-auth/ios' | ||
``` | ||
### Configure for Android | ||
1. Append the following lines to `android/settings.gradle`: | ||
No additional set up necessary. | ||
```gradle | ||
include ':expo-app-auth' | ||
project(':expo-app-auth').projectDir = new File(rootProject.projectDir, '../node_modules/expo-app-auth/android') | ||
``` | ||
2. Insert the following lines inside the dependencies block in `android/app/build.gradle`: | ||
```gradle | ||
api project(':expo-app-auth') | ||
``` | ||
3. In `MainApplication.java`, import the package and add it to the `ReactModuleRegistryProvider` list: | ||
```java | ||
import expo.modules.appauth.AppAuthPackage; | ||
``` | ||
```java | ||
private final ReactModuleRegistryProvider mModuleRegistryProvider = new ReactModuleRegistryProvider(Arrays.<Package>asList( | ||
// Your other packages will be here | ||
new AppAuthPackage() | ||
), Arrays.<SingletonModule>asList()); | ||
``` | ||
# Contributing | ||
Contributions are very welcome! Please refer to guidelines described in the [contributing guide]( https://github.com/expo/expo#contributing). |
import { NativeModulesProxy } from '@unimodules/core'; | ||
export default NativeModulesProxy.ExpoAppAuth; | ||
export default NativeModulesProxy.ExpoAppAuth || {}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
114252
43
2
1
33