esoftplay 0.0.157 → 0.0.158

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.
package/bin/build.js CHANGED
@@ -137,10 +137,10 @@ if (fs.existsSync(packjson)) {
137
137
  }
138
138
  }
139
139
  $appjson.expo.plugins = [
140
- "./node_modules/esoftplay/assets/plugins/heapSize",
141
- "./node_modules/esoftplay/assets/plugins/fcmIcon",
142
- "./node_modules/esoftplay/assets/plugins/noDarkAndroid",
143
- "./node_modules/esoftplay/assets/plugins/withAndroidVerifiedLinksWorkaround",
140
+ "./assets/plugins/heapSize",
141
+ "./assets/plugins/fcmIcon",
142
+ "./assets/plugins/noDarkAndroid",
143
+ "./assets/plugins/withAndroidVerifiedLinksWorkaround",
144
144
  ]
145
145
 
146
146
  fs.writeFile(appjson, JSON.stringify($appjson, null, 2), (err) => {
package/bin/cli.js CHANGED
@@ -1057,6 +1057,10 @@ function buildPrepare(include = true) {
1057
1057
  fs.mkdirSync('./assets/esoftplaymodules')
1058
1058
  command('cp -r -v ./modules/* ./assets/esoftplaymodules')
1059
1059
  }
1060
+ if(!fs.existsSync('./assets/plugins')){
1061
+ fs.mkdirSync('./assets/plugins')
1062
+ command('cp -r -v ./assets/plugins/* ./assets/plugins')
1063
+ }
1060
1064
 
1061
1065
  if (fs.existsSync('./node_modules/esoftplay/modules')) {
1062
1066
  fs.readdirSync('./node_modules/esoftplay/modules').forEach((module) => {
@@ -1081,7 +1085,7 @@ function buildPrepare(include = true) {
1081
1085
  } else {
1082
1086
  excludeOnBuild('ios', false)
1083
1087
  if (fs.existsSync('./assets/esoftplaymodules')) {
1084
- command('rm -rf ./modules && mv ./assets/esoftplaymodules modules')
1088
+ command('rm -rf ./modules && mv ./assets/esoftplaymodules modules && rm -rf ./assets/plugins')
1085
1089
  consoleSucces("BUILD PREPARE SUCCESS CANCELED..!")
1086
1090
  }
1087
1091
  else
@@ -1,7 +1,5 @@
1
1
  // noPage
2
2
  // withObject
3
-
4
- //moveup for formatting currency with lang
5
3
  import { LibLocale } from 'esoftplay/cache/lib/locale/import';
6
4
  import esp from 'esoftplay/esp';
7
5
  import useGlobalState from 'esoftplay/global';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.157",
3
+ "version": "0.0.158",
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",