Open pietermarchand opened 8 years ago
Hello,
i managed to verify which package name is used in the androidmanifest.xml when debugging by reverse engineering the .apk with the apktool from Intel. I found the correct name in the
Hello,
what i've noticed so far when using intel XDK and ionic in debug/run-mode in Intel AppPreview is: =>when not asking for a serverAuthCode the app plugin works fine =>when asking for a serverauthcode and NOT having selected the user before, i get error 12501 =>when asking for a serverauthcode and having selected the user before, i get error 10
When building the app with intel XDK in the cloud instead of using the debugmode everything works fine!!! It seems to be a problem of naming or signing after all. I guess that the Intel AppPreview is not signed correct, which is pretty straight forward cause it is an existing app on which the app in development is running and which needs to run before debugging.
Does anybody know of a way to be able to use the Intel AppPreview-app together with cordova-google-plus plugin/google authentication?
Having to compile every time is not so pratical :-)
Thanks a lot, Pieter
I' m trying to integrate the cordova-google plugin with Intel XDK. So far so good, I managed to get where the app is asking for which account to use to login. After selecting I get an error 12501. =>In the docs I can find a warning about this error-message as it can appear when not using the correct Reverse_CLIENT_ID. I'm trying to use this in a hybrid app with crosswalk 19. The docs mention i have to use the android client_id in this case. The one created on the google developers site with the SHA1 (for android) When installing the plugin i'm asked for the reverse_client_id and completed it as described. This resulted in error 12501.
In the Intel XDK Build settings all flavors are using the same App ID and App Name I made a second credential for the debug app, cause it is using another ID and can't be changed cause intel xdk rewrites it automatically every rebuild. The ID used for making the credentials could be found in intelxdk.android.app.xml (cfr.) Using this Reverse_client_id resulted in error 12501 too.
I have then been using the IOS Reverse_client_ID too, => same error
I tried to use every corresponding key in the following files. intelxdk.ios.xml intelxdk.android.xml But they get rewritten by the intel XDK too. But these are for the final build, so the android debug is my first concern. Getting the debug working will probably make it more clear.
I'm using the correct keystore anyways, there's only one defined in Intel XDK (android) I'm still debugging, the other keys will be completed later.
How do I continue now, does anyone have some pointers what to verify?
Any other things to verify, callback urls (didn't find any directions anyways)?
This seems like a key-problem, the solution can't be that far, i guess?
Thanks for any responses in advance,
Pieter