Beelphegor / cordova-camscanner

4 stars 4 forks source link

Error Code: 5008 #13

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi,

I have installed this plugin in cordova app and facing following error after scanning image and coming back to my app from CamScanner app:

Error Code: 5008

I checked error list but did not get this error listed. I also got below error logs:

success: null -canOpenURL: failed for URL: "camscanner://openAPI" - error: "(null)" -canOpenURL: failed for URL: "camscannerpro://openAPI" - error: "(null)" -canOpenURL: failed for URL: "camscannerhd://openAPI" - error: "(null)" -canOpenURL: failed for URL: "camscannerhdpro://openAPI" - error: "(null)"

Is there a solution? Thanks for helping.

Beelphegor commented 7 years ago

https://github.com/Beelphegor/cordova-camscanner/blob/master/lib/ios/CamScannerOpenAPIFramework.framework/Versions/A/Headers/CamScannerOpenAPIController.h#L36 Seems to be an issue with your authorization, make sure you are using the right key, and that your package name and signature are correct for the key you were given.