@appboxo/capacitor-boxo-sdk 0.9.0 → 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.
@@ -3,7 +3,7 @@ require 'json'
3
3
  package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
4
 
5
5
  Pod::Spec.new do |s|
6
- s.name = 'CapacitorBoxoSdk'
6
+ s.name = 'AppboxoCapacitorBoxoSdk'
7
7
  s.version = package['version']
8
8
  s.summary = package['description']
9
9
  s.license = package['license']
@@ -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
package/Package.swift CHANGED
@@ -2,11 +2,11 @@
2
2
  import PackageDescription
3
3
 
4
4
  let package = Package(
5
- name: "CapacitorBoxoSdk",
5
+ name: "AppboxoCapacitorBoxoSdk",
6
6
  platforms: [.iOS(.v14)],
7
7
  products: [
8
8
  .library(
9
- name: "CapacitorBoxoSdk",
9
+ name: "AppboxoCapacitorBoxoSdk",
10
10
  targets: ["AppboxoPlugin"])
11
11
  ],
12
12
  dependencies: [
@@ -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)
@@ -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.0",
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",
@@ -13,7 +13,7 @@
13
13
  "ios/Sources",
14
14
  "ios/Tests",
15
15
  "Package.swift",
16
- "CapacitorBoxoSdk.podspec"
16
+ "AppboxoCapacitorBoxoSdk.podspec"
17
17
  ],
18
18
  "author": "Appboxo pte. ltd",
19
19
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  ],
32
32
  "scripts": {
33
33
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
34
- "verify:ios": "xcodebuild -scheme CapacitorBoxoSdk -destination generic/platform=iOS",
34
+ "verify:ios": "xcodebuild -scheme AppboxoCapacitorBoxoSdk -destination generic/platform=iOS",
35
35
  "verify:android": "cd android && ./gradlew clean build test && cd ..",
36
36
  "verify:web": "npm run build",
37
37
  "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",