@@ -6,14 +6,14 @@ A [Flutter](https://flutter.dev) plugin for interfacing Gigya's native SDKs into
66Flutter plugin that provides an interface for the Gigya API.
77
88## Developers Preview Status
9- The plugin allows you to use the core elements & business API's flows available within the mobile SDKs.
10- Session encryption & management is handled in each platform. This plugin is currently in an early ** developers preview** stage.
9+ The plugin allows you to use the core elements & business API flows available within the SAP Customer Data Cloud mobile SDKs.
10+ This plugin is currently in an early developers preview stage.
1111
1212## Setup & Gigya core integration
1313
1414### Android setup
1515
16- Please add the following to your native implementation.
16+ Add the following to your native implementation.
1717
1818``` kotlin
1919class MainActivity : FlutterActivity () {
@@ -69,14 +69,14 @@ GigyaSdk.instance.send('REQUEST-ENDPOINT', {PARAMETER-MAP}).then((result) {
6969 debugPrint(error.errorDetails);
7070 });
7171```
72- Example implementation is demostrated in the * send_request.dart* class of the provided example applicaiton .
72+ Example implementation is demonstrated in the * send_request.dart* class of the provided example application .
7373
7474## Business APIs
7575
76- The plugin provides API to varius business APIs which iclude :
76+ The plugin provides an interface to these core SDK business APIs :
7777** login, register, getAccount, getAccount, isLoggedIn ,logOut, addConnection, removeConnection**
7878Implement them using the same request structure as shown above.
79- Example application includes the varius implementations.
79+ Example application includes the various implementations.
8080
8181## Social login
8282
@@ -86,21 +86,21 @@ The Flutter plugin supports the same *providers supported by the Core Gigya SDK.
8686Supported social login providers:
8787google, facebook, line, wechat, apple, amazon, linkedin, yahoo.
8888
89- ## Embeded socail providers
89+ ## Embedded social providers
9090
91- Specific social providers (Facebook, Google) require addional setup. This due to the their
91+ Specific social providers (Facebook, Google) require additional setup. This due to the their
9292requirement for specific (embedded) SDKs.
9393```
9494Example for both Facebook & Google are implemented in the example application.
9595```
9696
9797### Facebook
9898
99- Follow the core SDK documentation and instructions for setting Facbook login.
99+ Follow the core SDK documentation and instructions for setting Facebook login.
100100[ Android documentation] ( https://sap.github.io/gigya-android-sdk/sdk-core/#facebook )
101101[ iOS documentation] ( https://sap.github.io/gigya-android-sdk/sdk-core/#facebook )
102102
103- iOS: In additon add the following to your Runner's * AppDelegate.swift* file:
103+ iOS: In addition add the following to your Runner's * AppDelegate.swift* file:
104104``` swift
105105Gigya.sharedInstance (UserHost.self ).registerSocialProvider (of : .facebook , wrapper : FacebookWrapper ())
106106```
@@ -112,11 +112,11 @@ the [flutter_facebook_login] plugin to your **pubspec.yaml** dependencies.
112112
113113### Google
114114
115- Follow the core SDK documentation and instructions for setting Facbook login.
115+ Follow the core SDK documentation and instructions for setting Google login.
116116[ Android documentation] ( https://sap.github.io/gigya-android-sdk/sdk-core/#google )
117117[ iOS documentation] ( https://sap.github.io/gigya-swift-sdk/GigyaSwift/#google )
118118
119- iOS: In additon add the following to your Runner's * AppDelegate.swift* file:
119+ iOS: In addition add the following to your Runner's * AppDelegate.swift* file:
120120``` swift
121121Gigya.sharedInstance (UserHost.self ).registerSocialProvider (of : .google , wrapper : GoogleWrapper ())
122122```
@@ -172,7 +172,7 @@ GigyaSdk.instance.login(loginId, password).then((result) {
172172 final response = Account.fromJson(result);
173173 // Successfully logged in
174174 }).catchError((error) {
175- // Interruption may occured .
175+ // Interruption may have occurred .
176176 if (error.getInterruption() == Interruption.conflictingAccounts) {
177177 // Reference the correct resolver
178178 LinkAccountResolver resolver = GigyaSdk.instance.resolverFactory.getResolver(error);
@@ -187,7 +187,7 @@ GigyaSdk.instance.login(loginId, password).then((result) {
187187Once you reference your resolver, create your relevant UI to determine if a site or social linking is
188188required (see example app for details) and use the relevant "resolve" method.
189189
190- Example of resolveing link to site when trying to link a new social account to a site account.
190+ Example of resolving link to site when trying to link a new social account to a site account.
191191```
192192final String password = _linkPasswordController.text.trim();
193193resolver.linkToSite(loginId, password).then((res) {
0 commit comments