Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
tal-mi committed Apr 10, 2022
2 parents 434f3c7 + 4dfacbe commit ffc0c81
Show file tree
Hide file tree
Showing 24 changed files with 520 additions and 254 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ Developer Preview 0.1.3
* iOS: Fixed bug in link account.

# 0.1.4
Developer Preview 0.1.3
Developer Preview 0.1.4

* Updated Android Core SDK v5.1.6
* Added setSession interface.

# 0.1.5
Developer Preview 0.1.5

* Added mobile SSO support using CLP.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,24 @@ Screen-Sets events (event, map).
event - actual event name.
map - event data map.

## Mobile SSO

The plugin supports the native SDK's "Single Sign On feature".
[Andorid](https://sap.github.io/gigya-android-sdk/sdk-core/#sso-single-sign-on)
[iOS](https://sap.github.io/gigya-swift-sdk/GigyaSwift/#sso-single-sign-on)

Please make sure to implement the nessesary steps described for each platform.

To initiate the flow run the following snippet.
```
GigyaSdk.instance.sso().then((result) {
// Handle result here.
setState(() { });
}).catchError((error) {
// Handle error here.
});
```

## Resolving interruptions

Much like the our core SDKs, resolving interruptions is available using the plugin.
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

// Gigya SDK core implementation.
api 'com.github.SAP.gigya-android-sdk:gigya-android-sdk-core:core-v5.1.6'
api 'com.github.SAP.gigya-android-sdk:sdk-core:core-v5.1.7'
api 'com.google.code.gson:gson:2.8.6'
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class GigyaFlutterPlugin : FlutterPlugin, MethodCallHandler {
"forgotPassword" -> sdk.forgotPassword(call.arguments, result)
"initSdk" -> sdk.initSdk(call.arguments, result)
"setSession" -> sdk.setSession(call.arguments, result)
"sso" -> sdk.sso(call.arguments, result)
else -> result.notImplemented()
}
}
Expand Down
Loading

0 comments on commit ffc0c81

Please sign in to comment.