facebookarchive / account-kit-samples-for-ios

Samples for the account kit product on ios.
43 stars 26 forks source link

An error causes iOS app crashing #22

Closed ahsaniqbalbykea closed 5 years ago

ahsaniqbalbykea commented 5 years ago

Here are the steps to reproduce (STR):

Step 1: Please enter mobile number and tap Next. Screen 1

Step 2: Please do not enter the SMS code you would most probably have received and tap on I didn't get a code. Screen 2

Step3: Tap on Get a call. Screen 3

Step 4: Please perform steps 2 & 3 again after getting a call and an error is displayed You've been temporarily blocked from logging in. Please try again later. Here is the DEBUG result:

Error Domain = com.facebook.accountkit: Error Code = 200 "(null)" UserInfo = { NSUnderlyingError = 0x282507120 { Error Domain = com.facebook.accountkit: ServerError Code = 15005 "(null)" UserInfo = { com.facebook.accountkit: ErrorUserMessageKey = You’ve been temporarily blocked from logging in. Please try again later., com.facebook.accountkit: ErrorDeveloperMessageKey = Application does not have permission for this action } }, com.facebook.accountkit: ErrorUserMessageKey = You’ve been temporarily blocked from logging in. Please try again later., com.facebook.accountkit: ErrorDeveloperMessageKey = Application does not have permission for this action }

Step 5: Tap on Try Again button. Screen 4

Step 6: Tap on < button to get back to the previous view. Screen 5

Step 7: Tap on I didn't get a code and it causes app crashing. Screen 6

Note: Black highlights has been added to prevent displaying personal information

robtimp commented 5 years ago

@ahsaniqbalbykea I wasn't able to reproduce this issue. Which version of AccountKit were you experiencing this with? Also, please provide your Xcode version, and installation method and version (e.g. CocoaPods version 1.6.1).

ahsaniqbalbykea commented 5 years ago

@robtimp

robtimp commented 5 years ago

@ahsaniqbalbykea Please upgrade to the latest version of Account Kit (5.0.0), and the issue should be resolved.