@frontegg/ionic-capacitor 2.1.2 → 2.1.3-alpha.29915372249
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,7 +13,7 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
14
14
|
s.ios.deployment_target = '14.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
|
-
s.dependency "FronteggSwift", "1.3.
|
|
16
|
+
s.dependency "FronteggSwift", "1.3.12"
|
|
17
17
|
s.swift_version = '5.1'
|
|
18
18
|
s.pod_target_xcconfig = {
|
|
19
19
|
'CODE_SIGNING_ALLOWED' => 'YES'
|
package/android/build.gradle
CHANGED
|
@@ -62,7 +62,7 @@ dependencies {
|
|
|
62
62
|
implementation "androidx.browser:browser:1.8.0"
|
|
63
63
|
implementation 'io.reactivex.rxjava3:rxkotlin:3.0.1'
|
|
64
64
|
implementation 'com.google.code.gson:gson:2.10'
|
|
65
|
-
implementation 'com.frontegg.sdk:android:1.3.
|
|
65
|
+
implementation 'com.frontegg.sdk:android:1.3.36'
|
|
66
66
|
|
|
67
67
|
testImplementation "junit:junit:$junitVersion"
|
|
68
68
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
@@ -238,6 +238,9 @@ public class FronteggNativePlugin: CAPPlugin {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
fronteggApp.initWithRegion(regionKey: regionKey)
|
|
241
|
+
// FR-25945: the JS promise from initWithRegion hung forever on iOS because we never
|
|
242
|
+
// resolved the call (Android already resolves). Resolve so await-based region flows proceed.
|
|
243
|
+
call.resolve()
|
|
241
244
|
}
|
|
242
245
|
|
|
243
246
|
@objc func refreshToken(_ call: CAPPluginCall) {
|