forked from axxag/react-native-apple-authentication-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
20 lines (16 loc) · 700 Bytes
/
index.js
File metadata and controls
20 lines (16 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { NativeModules } from "react-native";
const { AppleAuthenticationAndroid } = NativeModules;
export const NOT_CONFIGURED_ERROR =
AppleAuthenticationAndroid &&
AppleAuthenticationAndroid.E_NOT_CONFIGURED_ERROR;
export const SIGNIN_FAILED_ERROR =
AppleAuthenticationAndroid &&
AppleAuthenticationAndroid.E_SIGNIN_FAILED_ERROR;
export const SIGNIN_CANCELLED_ERROR =
AppleAuthenticationAndroid &&
AppleAuthenticationAndroid.E_SIGNIN_CANCELLED_ERROR;
export const Scope =
AppleAuthenticationAndroid && AppleAuthenticationAndroid.Scope;
export const ResponseType =
AppleAuthenticationAndroid && AppleAuthenticationAndroid.ResponseType;
export default AppleAuthenticationAndroid;