Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ dependencies {
testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation 'org.mockito:mockito-core:5.0.0'

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

implementation 'androidx.core:core-ktx:1.10.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,12 @@ class FronteggMethodCallHandler(
val tenantId =
call.argument<String>("tenantId") ?: throw ArgumentNotFoundException("tenantId")

context.fronteggAuth.switchTenant(tenantId) {
result.success(null)
context.fronteggAuth.switchTenant(tenantId) { success ->
if (success) {
result.success(null)
} else {
result.error("switch_tenant_failed", "Failed to switch tenant", null)
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion application_id/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ flutter {

dependencies {
androidTestUtil "androidx.test:orchestrator:1.5.1"
implementation 'com.frontegg.sdk:android:1.3.28'
implementation 'com.frontegg.sdk:android:1.3.32'
}
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Sign up here → [https://portal.us.frontegg.com/signup](https://portal.us.front

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

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

Expand Down
2 changes: 1 addition & 1 deletion embedded/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ flutter {

dependencies {
androidTestUtil "androidx.test:orchestrator:1.5.1"
implementation 'com.frontegg.sdk:android:1.3.28'
implementation 'com.frontegg.sdk:android:1.3.32'
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hosted/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,5 @@ flutter {

dependencies {
androidTestUtil "androidx.test:orchestrator:1.5.1"
implementation 'com.frontegg.sdk:android:1.3.28'
implementation 'com.frontegg.sdk:android:1.3.32'
}
2 changes: 1 addition & 1 deletion ios/frontegg_flutter/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
],
dependencies: [
.package(name: "FlutterFramework", path: "../FlutterFramework"),
.package(url: "https://github.com/frontegg/frontegg-ios-swift.git", exact: "1.3.3"),
.package(url: "https://github.com/frontegg/frontegg-ios-swift.git", exact: "1.3.7"),
],
targets: [
.target(
Expand Down
Loading