esoftplay 0.0.110-d → 0.0.110-e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,9 +6,6 @@ import * as Font from "expo-font";
6
6
  import firebase from 'firebase';
7
7
  import React, { useEffect, useMemo } from "react";
8
8
  import { Alert, View } from "react-native";
9
- import { getReactNativePersistence } from 'firebase/auth/react-native';
10
- import AsyncStorage from '@react-native-async-storage/async-storage';
11
-
12
9
  //@ts-ignore
13
10
  import Navs from "../../cache/navs";
14
11
 
@@ -33,13 +30,6 @@ function setFonts(): Promise<void> {
33
30
  })
34
31
  }
35
32
 
36
- /*
37
- import { getReactNativePersistence } from 'firebase/auth/react-native';
38
- import AsyncStorage from '@react-native-async-storage/async-storage';
39
-
40
- const auth = initializeAuth(firebaseApp, );
41
- */
42
-
43
33
 
44
34
  export default function m(props: UserIndexProps): any {
45
35
  const [loading, setLoading] = useSafeState(true)
@@ -67,9 +57,7 @@ export default function m(props: UserIndexProps): any {
67
57
  }, 30 * 1000);
68
58
  if (esp.config('firebase').hasOwnProperty('apiKey')) {
69
59
  if (!firebase.apps.length) {
70
- firebase.initializeApp(esp.config('firebase'), {
71
- persistence: getReactNativePersistence(AsyncStorage),
72
- });
60
+ firebase.initializeApp(esp.config('firebase'));
73
61
  firebase.auth().signInAnonymously()
74
62
  }
75
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.110-d",
3
+ "version": "0.0.110-e",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",