Beelphegor / cordova-camscanner

4 stars 4 forks source link

ErrorCode 4002, Authorization Error #12

Open hydrococcous opened 7 years ago

hydrococcous commented 7 years ago

Hello Erick, i have install your plugin in ionic 2. i can start the scan-process from my app without problems. But when i want to save the file back to my app i get the following error from CamScanner:

ErrorCode 4002, Authorization error, please input the legal APP_KEY

But i have given my KEY in config.xml

<plugin name="cordova-camscanner" spec="~0.1.0"><variable name="ANDROID_APP_KEY" value="mylegalkey" /></plugin>

Is there a solution? Thanks for helping

Beelphegor commented 7 years ago

be aware that the key you are given only works if your application has the correct bundle name and the correct signature, if don't then the key will not work and you'll get that message.