esoftplay 0.0.231 → 0.0.236

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/error.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import * as Application from 'expo-application';
1
2
  import Constants from 'expo-constants';
2
3
  import * as FileSystem from 'expo-file-system';
3
4
  import { Platform } from 'react-native';
@@ -120,7 +121,7 @@ export function getError() {
120
121
  'time: \n' + _e?.time,
121
122
  'domain: ' + config.domain + config.uri,
122
123
  'runtimeVersion:' + app.expo.runtimeVersion,
123
- 'package: ' + (Platform.OS == 'ios' ? expoConfig?.ios?.bundleIdentifier : expoConfig?.android?.package) + ' - v' + (Platform.OS == 'ios' ? app.expo.ios.buildNumber : app.expo.android.versionCode),
124
+ 'package: ' + (Application.nativeBuildVersion) + ' - v' + (Platform.OS == 'ios' ? app.expo.ios.buildNumber : app.expo.android.versionCode),
124
125
  'device: ' + Platform.OS + ' | ' + Constants.deviceName,
125
126
  'native/pub_id: ' + expoConfig?.sdkVersion + '/' + (config?.publish_id || '-'),
126
127
  'user_id: ' + _e?.user?.id || _e?.user?.user_id || '-',
@@ -200,6 +200,7 @@ export default {
200
200
  if (routes && routes.length > 0) {
201
201
  _route = [..._route, ...routes]
202
202
  }
203
+ this._ref?.dispatch?.(StackActions.popToTop());
203
204
  const resetAction = CommonActions.reset({
204
205
  index: _route.length - 1,
205
206
  routes: _route.map((rn) => ({ name: rn }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.231",
3
+ "version": "0.0.236",
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",