@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.
@@ -13,6 +13,6 @@ Pod::Spec.new do |s|
13
13
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
14
  s.ios.deployment_target = '14.0'
15
15
  s.dependency 'Capacitor'
16
- s.dependency 'BoxoSDK', '1.19.0'
16
+ s.dependency 'BoxoSDK', '1.21.0'
17
17
  s.swift_version = '5.1'
18
18
  end
@@ -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.33.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", false)!!
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") ?: true
83
+ val saveState = call.getBoolean("saveState") ?: false
84
84
  handler?.post {
85
85
  val miniapp: Miniapp = Boxo.getMiniapp(appId)
86
86
  .setCustomEventListener(this)
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var core = require('@capacitor/core');
6
4
 
7
5
  const Boxo = core.registerPlugin('Appboxo');
@@ -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":";;;;;;AACK,MAAC,IAAI,GAAGA,mBAAc,CAAC,SAAS,EAAE;AAClC,MAAC,OAAO,GAAGA,mBAAc,CAAC,SAAS;;;;;"}
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
@@ -7,8 +7,6 @@ var capacitorAppboxo = (function (exports, core) {
7
7
  exports.Appboxo = Appboxo;
8
8
  exports.Boxo = Boxo;
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  return exports;
13
11
 
14
12
  })({}, capacitorExports);
@@ -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,EAAE;AAClC,OAAC,OAAO,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", true)
69
+ let saveState = call.getBool("saveState", false)
70
70
  let urlSuffix = call.getString("urlSuffix", "")
71
71
  let pageAnimation = call.getString("pageAnimation", "")
72
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appboxo/capacitor-boxo-sdk",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "A capacitor wrapper over Appboxo SDK for IOS and Android.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",