Skip to content

Commit ca49a2a

Browse files
Bump frontegg-kotlin sdk to 1.3.32. (#130)
Bump frontegg-ios sfk to 1.3.7. Bump frontegg-kotlin sdk to 1.3.32.
1 parent 6561d98 commit ca49a2a

9 files changed

Lines changed: 17 additions & 13 deletions

File tree

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ dependencies {
6666
testImplementation 'org.jetbrains.kotlin:kotlin-test'
6767
testImplementation 'org.mockito:mockito-core:5.0.0'
6868

69-
implementation 'com.frontegg.sdk:android:1.3.28'
69+
implementation 'com.frontegg.sdk:android:1.3.32'
7070
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
7171

7272
implementation 'androidx.core:core-ktx:1.10.0'

android/src/main/kotlin/com/frontegg/flutter/FronteggMethodCallHandler.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,12 @@ class FronteggMethodCallHandler(
362362
val tenantId =
363363
call.argument<String>("tenantId") ?: throw ArgumentNotFoundException("tenantId")
364364

365-
context.fronteggAuth.switchTenant(tenantId) {
366-
result.success(null)
365+
context.fronteggAuth.switchTenant(tenantId) { success ->
366+
if (success) {
367+
result.success(null)
368+
} else {
369+
result.error("switch_tenant_failed", "Failed to switch tenant", null)
370+
}
367371
}
368372
}
369373

application_id/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@ flutter {
128128

129129
dependencies {
130130
androidTestUtil "androidx.test:orchestrator:1.5.1"
131-
implementation 'com.frontegg.sdk:android:1.3.28'
131+
implementation 'com.frontegg.sdk:android:1.3.32'
132132
}

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Sign up here → [https://portal.us.frontegg.com/signup](https://portal.us.front
3434

3535
The Flutter SDK supports Frontegg's **per-tenant sessions** feature through the underlying native SDKs.
3636

37-
- On **Android**, the plugin and example apps use `com.frontegg.sdk:android:1.3.27`.
37+
- On **Android**, the plugin and example apps use `com.frontegg.sdk:android:1.3.32`.
3838
- On **iOS**, the plugin depends on `FronteggSwift`:
39-
- **Flutter 3.41+** (SPM): `1.3.0` from GitHub. Run `flutter config --enable-swift-package-manager`, then `flutter pub get` and build.
39+
- **Flutter 3.41+** (SPM): `1.3.7` from GitHub. Run `flutter config --enable-swift-package-manager`, then `flutter pub get` and build.
4040
- Note: CocoaPods fallback is no longer supported for `FronteggSwift`.
4141
- SPM integration requires **Xcode 15+**.
4242

embedded/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@ flutter {
128128

129129
dependencies {
130130
androidTestUtil "androidx.test:orchestrator:1.5.1"
131-
implementation 'com.frontegg.sdk:android:1.3.28'
131+
implementation 'com.frontegg.sdk:android:1.3.32'
132132
}

embedded/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

embedded/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hosted/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,5 @@ flutter {
124124

125125
dependencies {
126126
androidTestUtil "androidx.test:orchestrator:1.5.1"
127-
implementation 'com.frontegg.sdk:android:1.3.28'
127+
implementation 'com.frontegg.sdk:android:1.3.32'
128128
}

ios/frontegg_flutter/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let package = Package(
1313
],
1414
dependencies: [
1515
.package(name: "FlutterFramework", path: "../FlutterFramework"),
16-
.package(url: "https://github.com/frontegg/frontegg-ios-swift.git", exact: "1.3.3"),
16+
.package(url: "https://github.com/frontegg/frontegg-ios-swift.git", exact: "1.3.7"),
1717
],
1818
targets: [
1919
.target(

0 commit comments

Comments
 (0)