From e2ca936f220dbe8f2cc13b70cafa840191af85df Mon Sep 17 00:00:00 2001 From: Axel Schenkelman Date: Tue, 10 Jul 2018 14:54:39 -0300 Subject: [PATCH 1/2] Update README.md troubleshooting section --- README.MD | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.MD b/README.MD index 19898eb..f61a4b7 100644 --- a/README.MD +++ b/README.MD @@ -391,6 +391,7 @@ react-native run-ios # or react-native run-android
I have problems running the example +
If you have trouble running any example try the following: @@ -405,6 +406,26 @@ If you have trouble running any example try the following:
+
+ "A system issue occured, Please try again" when sending SMS +
+ +A. Check your `FacebookAppID` and `AccountKitClientToken` on iOS `Info.plist` and Android `strings.xml` is correct + +B. If you have enabled the **client access token flow in fb account kit dashboard**, then `configure` `responseType` should be set to `code`. + +```javascript +// Configures the SDK with some options +RNAccountKit.configure({ + responseType: 'code' + ... +}) +``` + +Issue: [#68](https://github.com/underscopeio/react-native-facebook-account-kit/issues/68) + +
+ ## License License is MIT From 5a601d23792f9492959635daa38e1bf5b3547795 Mon Sep 17 00:00:00 2001 From: Axel Schenkelman Date: Tue, 10 Jul 2018 15:13:58 -0300 Subject: [PATCH 2/2] Fix typos in README.md troubleshooting section --- README.MD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.MD b/README.MD index f61a4b7..978d1fa 100644 --- a/README.MD +++ b/README.MD @@ -410,9 +410,9 @@ If you have trouble running any example try the following: "A system issue occured, Please try again" when sending SMS
-A. Check your `FacebookAppID` and `AccountKitClientToken` on iOS `Info.plist` and Android `strings.xml` is correct +A. Check your `FacebookAppID` and `AccountKitClientToken` on iOS `Info.plist` and Android `strings.xml` are correct -B. If you have enabled the **client access token flow in fb account kit dashboard**, then `configure` `responseType` should be set to `code`. +B. If you have enabled the **client access token flow in fb account kit dashboard**, then `responseType` should be set to `code` when calling `configure` ```javascript // Configures the SDK with some options