You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 10, 2022. It is now read-only.
[Auth0](https://auth0.com) is an authentication broker that supports social identity providers as well as enterprise identity providers such as Active Directory, LDAP, Google Apps and Salesforce.
7
8
8
-
**react-native-lock-android** is a wrapper around [Lock](https://github.com/auth0/Lock.Android) so it can be used from an Android React Native application
9
+
**react-native-lock-android** is a wrapper around [Lock.Android](https://github.com/auth0/Lock.Android) so it can be used from an Android React Native application
10
+
9
11
10
12
## Requirements
11
13
12
-
* Android API 16+
13
14
* React Native
15
+
* Android API 16+
16
+
14
17
15
18
## Installation
16
19
17
20
Run `npm install --save react-native-lock-android` to add the package to your app's dependencies.
18
21
19
-
Then add the dependency in the `build.gradle` file of the android project:
22
+
You need to include the `com.auth0.android:lock-react-native` library in your android project.
23
+
Add the dependency in the `build.gradle` file of the android project:
20
24
21
25
```gradle
22
26
compile 'com.auth0.android:lock-react-native'
@@ -44,6 +48,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
44
48
45
49
Finally you should see the Lock.Android [docs](https://github.com/auth0/Lock.Android) to find out how to add the Lock activities to your `AndroidManifest.xml` file.
0 commit comments