Skip to content

Commit 65dbf9d

Browse files
committed
fix: Wrong type casting in cancellation error
1 parent 7bbc794 commit 65dbf9d

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.0.15
2+
1.0.15
3+
* Fix: Wrong type casting in cancellation error (Android)
4+
15
# 1.0.14
26
1.0.14
37
* Fix: Aligned cancellation error (Android/iOS).

android/src/main/kotlin/com/sap/gigya_flutter_plugin/GigyaSDKWrapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ class GigyaSDKWrapper<T : GigyaAccount>(application: Application, accountObj: Cl
592592
"callId" to "0",
593593
"statusCode" to 0,
594594
"errorMessage" to "Operation canceled",
595-
"errorCode" to CANCELED_ERROR
595+
"errorCode" to CANCELED_ERROR.toInt()
596596
)
597597
)
598598
}

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ packages:
7878
path: ".."
7979
relative: true
8080
source: path
81-
version: "1.0.14"
81+
version: "1.0.15"
8282
google_sign_in:
8383
dependency: "direct main"
8484
description:

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: gigya_flutter_plugin_example
22
description: Demonstrates how to use the gigya_flutter_plugin plugin.
3-
version: 1.0.14
3+
version: 1.0.15
44
homepage: https://www.sap.com
55
publish_to: none
66

ios/Classes/GigyaSdkWrapper.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class GigyaSdkWrapper<T: GigyaAccountProtocol> :GigyaInstanceProtocol {
6767

6868
init(accountSchema: T.Type) {
6969
// Initializing the Gigya SDK instance.
70-
GigyaDefinitions.versionPrefix = "flutter_1.0.14_"
70+
GigyaDefinitions.versionPrefix = "flutter_1.0.15_"
7171
sdk = Gigya.sharedInstance(accountSchema)
7272
GigyaAuth.shared.register(scheme: accountSchema)
7373
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: gigya_flutter_plugin
22
description: SAP Gigya Flutter plugin
3-
version: 1.0.14
3+
version: 1.0.15
44
homepage: https://github.com/SAP/gigya-flutter-plugin
55

66
environment:

0 commit comments

Comments
 (0)