Skip to content

Commit 7d1d6e8

Browse files
committed
Merge branch 'develop'
2 parents 464fe22 + 18c38bb commit 7d1d6e8

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
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.12
2+
1.0.12
3+
* Fix: Android SDK Wrapper nullable "reason" in screen-set onHide callback.
4+
15
# 1.0.11
26
1.0.11
37

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,8 @@ class GigyaSDKWrapper<T : GigyaAccount>(application: Application, accountObj: Cl
757757

758758
override fun onHide(event: GigyaPluginEvent, reason: String?) {
759759
val data = event.eventMap.toMutableMap()
760-
data["reason"] = reason!!
761-
760+
data["reason"] = reason ?: "unknown"
761+
762762
handler.addScreenSetEvent(
763763
mapOf(
764764
"event" to "onHide",

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.10"
81+
version: "1.0.12"
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.11
3+
version: 1.0.12
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
@@ -50,7 +50,7 @@ public class GigyaSdkWrapper<T: GigyaAccountProtocol> :GigyaInstanceProtocol {
5050

5151
init(accountSchema: T.Type) {
5252
// Initializing the Gigya SDK instance.
53-
GigyaDefinitions.versionPrefix = "flutter_1.0.11_"
53+
GigyaDefinitions.versionPrefix = "flutter_1.0.12_"
5454
sdk = Gigya.sharedInstance(accountSchema)
5555
GigyaAuth.shared.register(scheme: accountSchema)
5656
}

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.11
3+
version: 1.0.12
44
homepage: https://github.com/SAP/gigya-flutter-plugin
55

66
environment:

0 commit comments

Comments
 (0)