Skip to content

Commit ffc0c81

Browse files
committed
Merge branch 'develop' into main
2 parents 434f3c7 + 4dfacbe commit ffc0c81

File tree

24 files changed

+520
-254
lines changed

24 files changed

+520
-254
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ Developer Preview 0.1.3
6363
* iOS: Fixed bug in link account.
6464

6565
# 0.1.4
66-
Developer Preview 0.1.3
66+
Developer Preview 0.1.4
6767

6868
* Updated Android Core SDK v5.1.6
6969
* Added setSession interface.
70+
71+
# 0.1.5
72+
Developer Preview 0.1.5
73+
74+
* Added mobile SSO support using CLP.

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,24 @@ Screen-Sets events (event, map).
161161
event - actual event name.
162162
map - event data map.
163163

164+
## Mobile SSO
165+
166+
The plugin supports the native SDK's "Single Sign On feature".
167+
[Andorid](https://sap.github.io/gigya-android-sdk/sdk-core/#sso-single-sign-on)
168+
[iOS](https://sap.github.io/gigya-swift-sdk/GigyaSwift/#sso-single-sign-on)
169+
170+
Please make sure to implement the nessesary steps described for each platform.
171+
172+
To initiate the flow run the following snippet.
173+
```
174+
GigyaSdk.instance.sso().then((result) {
175+
// Handle result here.
176+
setState(() { });
177+
}).catchError((error) {
178+
// Handle error here.
179+
});
180+
```
181+
164182
## Resolving interruptions
165183

166184
Much like the our core SDKs, resolving interruptions is available using the plugin.

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ dependencies {
4444
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
4545

4646
// Gigya SDK core implementation.
47-
api 'com.github.SAP.gigya-android-sdk:gigya-android-sdk-core:core-v5.1.6'
47+
api 'com.github.SAP.gigya-android-sdk:sdk-core:core-v5.1.7'
4848
api 'com.google.code.gson:gson:2.8.6'
4949
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class GigyaFlutterPlugin : FlutterPlugin, MethodCallHandler {
6262
"forgotPassword" -> sdk.forgotPassword(call.arguments, result)
6363
"initSdk" -> sdk.initSdk(call.arguments, result)
6464
"setSession" -> sdk.setSession(call.arguments, result)
65+
"sso" -> sdk.sso(call.arguments, result)
6566
else -> result.notImplemented()
6667
}
6768
}

0 commit comments

Comments
 (0)