@appboxo/capacitor-boxo-sdk 0.9.1 → 0.10.0
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/AppboxoCapacitorBoxoSdk.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/io/boxo/sdk/capacitor/AppboxoPlugin.kt +2 -2
- package/dist/plugin.cjs.js +0 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +0 -2
- package/dist/plugin.js.map +1 -1
- package/ios/Sources/AppboxoPlugin/AppboxoPlugin.swift +1 -1
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -56,7 +56,7 @@ dependencies {
|
|
|
56
56
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
57
57
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
58
58
|
implementation project(':capacitor-android')
|
|
59
|
-
implementation('io.boxo.sdk:boxo-android:1.
|
|
59
|
+
implementation('io.boxo.sdk:boxo-android:1.35.0') {
|
|
60
60
|
exclude group: 'com.google.android.gms', module: 'play-services-location'
|
|
61
61
|
}
|
|
62
62
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
@@ -38,7 +38,7 @@ class AppboxoPlugin : Plugin(), Miniapp.LifecycleListener,
|
|
|
38
38
|
val userId = call.getString("userId") ?: ""
|
|
39
39
|
val language = call.getString("language") ?: "en"
|
|
40
40
|
val sandboxMode = call.getBoolean("sandboxMde", false)!!
|
|
41
|
-
val enableMultitaskMode = call.getBoolean("enableMultitaskMode",
|
|
41
|
+
val enableMultitaskMode = call.getBoolean("enableMultitaskMode", true)!!
|
|
42
42
|
val theme = call.getString("theme", "system")!!
|
|
43
43
|
val isDebug = call.getBoolean("isDebug", false)!!
|
|
44
44
|
val showPermissionsPage = call.getBoolean("showPermissionsPage", true)!!
|
|
@@ -80,7 +80,7 @@ class AppboxoPlugin : Plugin(), Miniapp.LifecycleListener,
|
|
|
80
80
|
val pageAnimation =
|
|
81
81
|
runCatching { PageAnimation.valueOf(call.getString("pageAnimation") ?: "") }
|
|
82
82
|
.getOrDefault(PageAnimation.BOTTOM_TO_TOP)
|
|
83
|
-
val saveState = call.getBoolean("saveState") ?:
|
|
83
|
+
val saveState = call.getBoolean("saveState") ?: false
|
|
84
84
|
handler?.post {
|
|
85
85
|
val miniapp: Miniapp = Boxo.getMiniapp(appId)
|
|
86
86
|
.setCustomEventListener(this)
|
package/dist/plugin.cjs.js
CHANGED
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Boxo = registerPlugin('Appboxo');\nconst Appboxo = registerPlugin('Appboxo');\nexport * from './definitions';\nexport { Appboxo };\nexport { Boxo };\n//# sourceMappingURL=index.js.map"],"names":["registerPlugin"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Boxo = registerPlugin('Appboxo');\nconst Appboxo = registerPlugin('Appboxo');\nexport * from './definitions';\nexport { Appboxo };\nexport { Boxo };\n//# sourceMappingURL=index.js.map"],"names":["registerPlugin"],"mappings":";;;;AACK,MAAC,IAAI,GAAGA,mBAAc,CAAC,SAAS;AAChC,MAAC,OAAO,GAAGA,mBAAc,CAAC,SAAS;;;;;"}
|
package/dist/plugin.js
CHANGED
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Boxo = registerPlugin('Appboxo');\nconst Appboxo = registerPlugin('Appboxo');\nexport * from './definitions';\nexport { Appboxo };\nexport { Boxo };\n//# sourceMappingURL=index.js.map"],"names":["registerPlugin"],"mappings":";;;AACK,OAAC,IAAI,GAAGA,mBAAc,CAAC,SAAS
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Boxo = registerPlugin('Appboxo');\nconst Appboxo = registerPlugin('Appboxo');\nexport * from './definitions';\nexport { Appboxo };\nexport { Boxo };\n//# sourceMappingURL=index.js.map"],"names":["registerPlugin"],"mappings":";;;AACK,OAAC,IAAI,GAAGA,mBAAc,CAAC,SAAS;AAChC,OAAC,OAAO,GAAGA,mBAAc,CAAC,SAAS;;;;;;;;;;;"}
|
|
@@ -66,7 +66,7 @@ public class AppboxoPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
66
66
|
let extraUrlParams = call.getObject("extraUrlParams")?.toMap() ?? nil
|
|
67
67
|
let colors = call.getObject("colors")?.toMap() ?? nil
|
|
68
68
|
let enableSplash = call.getBool("enableSplash")
|
|
69
|
-
let saveState = call.getBool("saveState",
|
|
69
|
+
let saveState = call.getBool("saveState", false)
|
|
70
70
|
let urlSuffix = call.getString("urlSuffix", "")
|
|
71
71
|
let pageAnimation = call.getString("pageAnimation", "")
|
|
72
72
|
|