forked from BetterSocial/mobileapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
27 lines (23 loc) · 748 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
* @format
*/
import 'react-native-gesture-handler';
import './src/libraries/reactotron/reactotronInstance';
import {enableScreens} from 'react-native-screens';
import config from 'react-native-config';
import {AppRegistry} from 'react-native';
import {configureHumanID} from '@human-internet/react-native-humanid';
import App from './App';
import AppIcon from './src/components/AppIcon';
import {name as appName} from './app.json';
enableScreens();
const {HUMAN_ID_CLIENT_ID, HUMAN_ID_CLIENT_SECRET} = config;
const clientSecret = HUMAN_ID_CLIENT_SECRET;
const clientId = HUMAN_ID_CLIENT_ID;
configureHumanID({
appName: 'Better Social',
clientSecret,
clientId,
Icon: AppIcon
});
AppRegistry.registerComponent(appName, () => App);