-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
24 lines (20 loc) · 732 Bytes
/
index.js
File metadata and controls
24 lines (20 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import React from 'react';
import { Provider } from 'react-redux';
import {AppRegistry} from 'react-native';
import App from './src/App';
import {name as appName} from './app.json';
import { GoogleSignin } from '@react-native-google-signin/google-signin';
import storeConfig from './src/domain/storeConfig';
import axios from 'axios';
axios.defaults.baseURL = 'https://identy-cd856-default-rtdb.firebaseio.com/';
const store = storeConfig();
GoogleSignin.configure({
webClientId: '897362002662-kihdbmlmur6gsj5s3mi7m9o808j0m5s4.apps.googleusercontent.com',
offlineAccess: true,
});
const Redux = () => (
<Provider store={store}>
<App />
</Provider>
);
AppRegistry.registerComponent(appName, () => Redux);