telenordigital / connect-ios-sdk

Docs 📒👉
https://telenordigital.github.io/id-docs.telenordigital.com/integrate-ios-sdk.html
Apache License 2.0
9 stars 8 forks source link

Crashing on this line "oauth2Module.requestAccess { (accessToken: AnyObject?, error: NSError?) -> Void in" #59

Open nabeeljaved opened 5 years ago

nabeeljaved commented 5 years ago

Crashing on this line "oauth2Module.requestAccess { (accessToken: AnyObject?, error: NSError?) -> Void in". It is not even nill.

Devices: iPhone X & iPhone XS

Crash Log SignInViewController.swift line 235

Crashed: com.apple.main-thread 0 TDConnectIosSdk 0x10682fbe0 $S15TDConnectIosSdk12OperatorInfoC2idSSyFZTf4d_n + 704 1 TDConnectIosSdk 0x10681996c $S15TDConnectIosSdk12OAuth2ModuleC24requestAuthorizationCode17completionHandleryyyXlSg_So7NSErrorCSgtc_tF + 940 2 TDConnectIosSdk 0x10681c068 $S15TDConnectIosSdk12OAuth2ModuleC13requestAccess17completionHandleryyyXlSg_So7NSErrorCSgtctF + 1216 3 MyTelenor 0x104bae7c4 SignInViewController.signInUsingConnect() (SignInViewController.swift:235) 4 MyTelenor 0x104bb0604 @objc SignInViewController.actSigninWithMobileData(:) + 4340319748 5 libobjc.A.dylib 0x1d520f900 -[NSObject performSelector:withObject:withObject:] + 76 6 ??? 0x42d8203352ba4 (Missing) 7 ??? 0x3ba020347fea4 (Missing) 8 ??? 0x3fd502034801d8 (Missing) 9 ??? 0x1b39020347f178 (Missing) 10 ??? 0x3bdb0203b23dc4 (Missing) 11 ??? 0x13e80203b25024 (Missing) 12 ??? 0x6d50820336dc7c (Missing) 13 ??? 0x23c982032a3874 (Missing) 14 ??? 0x57e402032a63a0 (Missing) 15 ??? 0xd6502032a6718 (Missing) 16 ??? 0x7583820329ed9c (Missing) 17 ??? 0x49da81d5fa8a50 (Missing) 18 ??? 0x66d201d5fa89cc (Missing) 19 ??? 0x5ec601d5fa8284 (Missing) 20 ??? 0x655a81d5fa2f64 (Missing) 21 ??? 0x70ca81d5fa2844 (Missing) 22 ??? 0x170781d8251be8 (Missing) 23 ??? 0x34980203351428 (Missing) 24 ??? 0x5d050104a68bcc (Missing) 25 libdyld.dylib 0x1d5a58020 start + 4

jorunfa commented 5 years ago

Thanks for reporting. We'll investigate as soon as we find the time.

froeseth commented 5 years ago

@nabeeljaved, I cannot reproduce this error. I see you've mentioned the devices iPhone X and XS, but can you please provide more information? E.g. where does it happen? When does it happen? Which sdk version are you using? If possible, please also provide a video or screenshot.