esoftplay 0.0.108-t → 0.0.108-u

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.
Files changed (2) hide show
  1. package/bin/build.js +7 -7
  2. package/package.json +1 -1
package/bin/build.js CHANGED
@@ -383,13 +383,13 @@ export default function App() {
383
383
  cmd += "&& node ./node_modules/esoftplay/bin/router.js"
384
384
  execSync(cmd, { stdio: ['inherit', 'inherit', 'inherit'] })
385
385
  console.log('App.js has been replace to App.tsx');
386
- /* bugfix AsyncStorage @firebase, remove this section if firebase has update the AsyncStorage */
387
- if (fs.existsSync('../@firebase/app/dist/index.rn.cjs.js')) {
388
- let firebaseText = fs.readFileSync('../@firebase/app/dist/index.rn.cjs.js', 'utf8')
389
- firebaseText = firebaseText.replace("var AsyncStorage = require('react-native').AsyncStorage;", "var AsyncStorage = require('@react-native-async-storage/async-storage').default;")
390
- fs.writeFileSync('../@firebase/app/dist/index.rn.cjs.js', firebaseText)
391
- }
392
- /* end AsyncStorage @firebase section */
386
+ // /* bugfix AsyncStorage @firebase, remove this section if firebase has update the AsyncStorage */
387
+ // if (fs.existsSync('../@firebase/app/dist/index.rn.cjs.js')) {
388
+ // let firebaseText = fs.readFileSync('../@firebase/app/dist/index.rn.cjs.js', 'utf8')
389
+ // firebaseText = firebaseText.replace("var AsyncStorage = require('react-native').AsyncStorage;", "var AsyncStorage = require('@react-native-async-storage/async-storage').default;")
390
+ // fs.writeFileSync('../@firebase/app/dist/index.rn.cjs.js', firebaseText)
391
+ // }
392
+ // /* end AsyncStorage @firebase section */
393
393
  if (fs.existsSync('../@expo/vector-icons')) {
394
394
  let esoftplayIcon = ''
395
395
  fs.readdir('../@expo/vector-icons/build', (err, files) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.108-t",
3
+ "version": "0.0.108-u",
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",