@applicaster/zapp-react-dom-app 13.0.5-rc.0 → 14.0.0-alpha.1101330035
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.
|
@@ -63,7 +63,8 @@ async function gatherData(uuid) {
|
|
|
63
63
|
...NativeModules?.QuickBrickCommunicationModule,
|
|
64
64
|
// Device data retrieved from native device apis
|
|
65
65
|
...deviceData,
|
|
66
|
-
uuid: uuid || uuidv4(),
|
|
66
|
+
uuid: uuid || uuidv4(), // Created on first session, persisted in local thereafter
|
|
67
|
+
sessionId: uuidv4(), // Created on every session
|
|
67
68
|
locale: `{language=${languageLocale}, country=${countryLocale}}`,
|
|
68
69
|
};
|
|
69
70
|
|
package/Polyfills/index.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { QuickBrickCommunicationModule } from "./QuickBrickCommunicationModule";
|
|
2
|
-
import { AnalyticsBridge } from "./AnalyticsBridge";
|
|
3
1
|
import { getStorageModule } from "./Storage";
|
|
4
2
|
import { DeviceEventEmitter } from "./DeviceEventEmitter";
|
|
5
|
-
import { AppLoaderBridge } from "./AppLoaderBridge";
|
|
6
3
|
import { isSamsungPlatform, isLgPlatform } from "../App/Loader/utils/platform";
|
|
7
4
|
|
|
8
5
|
// Polyfill for abort controller required by shaka-player 4.x.x
|
|
@@ -24,11 +21,13 @@ const PLATFORM_KEYS = {
|
|
|
24
21
|
// const DESKTOP_BROWSER = [PLATFORMS.linux, PLATFORMS.mac, PLATFORMS.win];
|
|
25
22
|
|
|
26
23
|
export function registerNativeModulesPolyfills(NativeModules) {
|
|
27
|
-
NativeModules.QuickBrickCommunicationModule = QuickBrickCommunicationModule;
|
|
28
24
|
NativeModules.LocalStorage = getStorageModule("localStorage");
|
|
29
25
|
NativeModules.SessionStorage = getStorageModule("sessionStorage");
|
|
30
|
-
NativeModules.AnalyticsBridge = AnalyticsBridge;
|
|
31
|
-
NativeModules.AppLoaderBridge = AppLoaderBridge;
|
|
26
|
+
NativeModules.AnalyticsBridge = require("./AnalyticsBridge").AnalyticsBridge;
|
|
27
|
+
NativeModules.AppLoaderBridge = require("./AppLoaderBridge").AppLoaderBridge;
|
|
28
|
+
|
|
29
|
+
NativeModules.QuickBrickCommunicationModule =
|
|
30
|
+
require("./QuickBrickCommunicationModule").QuickBrickCommunicationModule;
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
function getWebPlatform(fallbackPlatform) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-dom-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0-alpha.1101330035",
|
|
4
4
|
"description": "Zapp App Component for Applicaster's Quick Brick React Native App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,13 +22,12 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/applicaster/zapp-react-dom-app#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@applicaster/zapp-react-dom-ui-components": "
|
|
26
|
-
"@applicaster/zapp-react-native-bridge": "
|
|
27
|
-
"@applicaster/zapp-react-native-redux": "
|
|
28
|
-
"@applicaster/zapp-react-native-ui-components": "
|
|
29
|
-
"@applicaster/zapp-react-native-utils": "
|
|
25
|
+
"@applicaster/zapp-react-dom-ui-components": "14.0.0-alpha.1101330035",
|
|
26
|
+
"@applicaster/zapp-react-native-bridge": "14.0.0-alpha.1101330035",
|
|
27
|
+
"@applicaster/zapp-react-native-redux": "14.0.0-alpha.1101330035",
|
|
28
|
+
"@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.1101330035",
|
|
29
|
+
"@applicaster/zapp-react-native-utils": "14.0.0-alpha.1101330035",
|
|
30
30
|
"abortcontroller-polyfill": "^1.7.5",
|
|
31
|
-
"react-router-dom": "^5.1.2",
|
|
32
31
|
"typeface-montserrat": "^0.0.54",
|
|
33
32
|
"video.js": "7.14.3",
|
|
34
33
|
"videojs-contrib-eme": "^3.8.1",
|
|
@@ -40,11 +39,9 @@
|
|
|
40
39
|
"core-js": "3.29.1",
|
|
41
40
|
"immer": "*",
|
|
42
41
|
"react": "*",
|
|
43
|
-
"react-dom": "*",
|
|
44
42
|
"react-native": "*",
|
|
45
43
|
"react-native-safe-area-context": "*",
|
|
46
44
|
"react-native-svg": "*",
|
|
47
|
-
"react-native-web": "*",
|
|
48
45
|
"uglify-js": "*",
|
|
49
46
|
"validate-color": "*",
|
|
50
47
|
"zustand": "*"
|