@os1-platform/dispatch-mobile 1.0.6 → 1.0.8

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 (3) hide show
  1. package/README.md +38 -42
  2. package/file_unzip.js +5 -0
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -44,54 +44,50 @@ npx install-expo-modules
44
44
  ### Install Dispatch SDK Package
45
45
 
46
46
  ```sh
47
- #using npm
48
- npm install @os1-platform/dispatch-mobile@latest_version
49
47
 
50
- #or using Yarn
51
- yarn add @os1-platform/dispatch-mobile@latest_version
48
+ npm install @os1-platform/dispatch-mobile
49
+
52
50
  ```
53
51
 
54
- ### Install these dependencies
52
+ ### Install these peer dependencies
55
53
 
56
54
  ```json
57
55
  {
58
- "dependencies": {
59
- "@apollo/client": "^3.5.6",
60
- "@expo-google-fonts/ibm-plex-sans": "*",
61
- "@os1-platform/mts-mobile": "^1.0.1",
62
- "@react-native-async-storage/async-storage": "^1.15.5",
63
- "@react-native-community/datetimepicker": "^3.5.2",
64
- "@react-native-community/netinfo": "^6.0.2",
65
- "@react-native-community/slider": "^4.1.7",
66
- "@react-native-firebase/analytics": "^14.2.2",
67
- "@react-native-firebase/app": "^14.2.2",
68
- "@react-native-firebase/crashlytics": "^14.2.2",
69
- "@react-native-firebase/messaging": "^14.2.2",
70
- "@react-native-firebase/remote-config": "^14.2.2",
71
- "@react-navigation/native": "^6.0.6",
72
- "@react-navigation/native-stack": "^6.2.5",
73
- "@sentry/react-native": "^3.2.13",
74
- "axios": "^0.24.0",
75
- "expo": "~43.0.4",
76
- "expo-barcode-scanner": "~11.2.1",
77
- "expo-blur": "~11.0.0",
78
- "expo-camera": "~12.1.2",
79
- "expo-file-system": "~13.0.3",
80
- "expo-font": "~10.0.3",
81
- "expo-image-manipulator": "~10.1.2",
82
- "expo-image-picker": "~11.0.3",
83
- "expo-location": "~13.0.4",
84
- "expo-sqlite": "~10.0.3",
85
- "graphql": "^16.2.0",
86
- "react": "^17.0.2",
87
- "react-native": "^0.66.0",
88
- "react-native-dropdown-picker": "^5.4.0",
89
- "react-native-get-random-values": "^1.8.0",
90
- "react-native-paper": "^4.9.2",
91
- "react-native-safe-area-context": "^3.3.2",
92
- "react-native-screens": "^3.9.0",
93
- "react-native-vector-icons": "^9.0.0"
94
- }
56
+ "@apollo/client": "^3.5.6",
57
+ "@expo-google-fonts/ibm-plex-sans": "*",
58
+ "@os1-platform/mts-mobile": "^1.0.1",
59
+ "@react-native-async-storage/async-storage": "^1.15.5",
60
+ "@react-native-community/datetimepicker": "^3.5.2",
61
+ "@react-native-community/netinfo": "^6.0.2",
62
+ "@react-native-community/slider": "^4.1.7",
63
+ "@react-native-firebase/analytics": "^14.2.2",
64
+ "@react-native-firebase/app": "^14.2.2",
65
+ "@react-native-firebase/crashlytics": "^14.2.2",
66
+ "@react-native-firebase/messaging": "^14.2.2",
67
+ "@react-native-firebase/remote-config": "^14.2.2",
68
+ "@react-navigation/native": "^6.0.6",
69
+ "@react-navigation/native-stack": "^6.2.5",
70
+ "@sentry/react-native": "^3.2.13",
71
+ "axios": "^0.24.0",
72
+ "expo": "~43.0.4",
73
+ "expo-barcode-scanner": "~11.2.1",
74
+ "expo-blur": "~11.0.0",
75
+ "expo-camera": "~12.1.2",
76
+ "expo-file-system": "~13.0.3",
77
+ "expo-font": "~10.0.3",
78
+ "expo-image-manipulator": "~10.1.2",
79
+ "expo-image-picker": "~11.0.3",
80
+ "expo-location": "~13.0.4",
81
+ "expo-sqlite": "~10.0.3",
82
+ "graphql": "^16.2.0",
83
+ "react": "^17.0.2",
84
+ "react-native": "^0.66.0",
85
+ "react-native-dropdown-picker": "^5.4.0",
86
+ "react-native-get-random-values": "^1.8.0",
87
+ "react-native-paper": "^4.9.2",
88
+ "react-native-safe-area-context": "^3.3.2",
89
+ "react-native-screens": "^3.9.0",
90
+ "react-native-vector-icons": "^9.0.0"
95
91
  }
96
92
  ```
97
93
 
package/file_unzip.js ADDED
@@ -0,0 +1,5 @@
1
+ const decompress = require('decompress');
2
+
3
+ decompress('./mobile-execution-lib-0.6.4.tgz', './').then((files) => {
4
+ console.log('done!');
5
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os1-platform/dispatch-mobile",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Dispatch SDK React Native Package",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -18,6 +18,7 @@
18
18
  "!**/__fixtures__",
19
19
  "!**/__mocks__",
20
20
  "mobile-execution-lib-*",
21
+ "file_unzip.js",
21
22
  "gitignore",
22
23
  "babel.config.js",
23
24
  "tsconfig.build.json",