@applicaster/zapp-react-native-utils 14.0.13 → 14.0.15-alpha.1353611523
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.
|
@@ -216,8 +216,11 @@ export class PlayerNative extends Player {
|
|
|
216
216
|
};
|
|
217
217
|
|
|
218
218
|
closeNativePlayer = () => {
|
|
219
|
-
// TODO: Delete does not work
|
|
219
|
+
// TODO: Delete, does not work (component is null, should use call on the module instead)
|
|
220
|
+
// invokeNativeFunction passes view id as first parameter, but closeNativePlayer does not expect it,
|
|
221
|
+
// so it also fails, so call stopBackgroundPlayback directly
|
|
220
222
|
this.currentPlayerComponent()?.["closeNativePlayer"]?.();
|
|
223
|
+
this.getPlayerModule()?.stopBackgroundPlayback?.();
|
|
221
224
|
};
|
|
222
225
|
|
|
223
226
|
togglePlayPause = () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-utils",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.15-alpha.1353611523",
|
|
4
4
|
"description": "Applicaster Zapp React Native utilities package",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://github.com/applicaster/quickbrick#readme",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@applicaster/applicaster-types": "14.0.
|
|
30
|
+
"@applicaster/applicaster-types": "14.0.15-alpha.1353611523",
|
|
31
31
|
"buffer": "^5.2.1",
|
|
32
32
|
"camelize": "^1.0.0",
|
|
33
33
|
"dayjs": "^1.11.10",
|