question

Shanmi avatar image
Shanmi asked

Login issue on Kindle Fire HD without device registered

On a Kindle Fire HD device, if I'm not logged in natively with an amazon account and login through signin page on browser and on returning back to the app, the login fails all the time. The only relevant crash log i get is as follows: E/GC_NetworkCallFactory(5141): Exception encountered while executing request: com.amazon.ags.AGSClientException: Network request requires authentication E/GC_NetworkCallFactory(5141): com.amazon.ags.AGSClientException: Network request requires authentication E/GC_NetworkCallFactory(5141): at com.amazon.ags.html5.comm.HttpNetworkClient.addADPTokenHeaders(HttpNetworkClient.java:177) E/GC_NetworkCallFactory(5141): at com.amazon.ags.html5.comm.HttpNetworkClient.addAuthenticationHeaders(HttpNetworkClient.java:153) E/GC_NetworkCallFactory(5141): at com.amazon.ags.html5.comm.HttpNetworkClient.execute(HttpNetworkClient.java:89) E/GC_NetworkCallFactory(5141): at com.amazon.ags.html5.comm.NetworkCallFactory.handleServiceRequest(NetworkCallFactory.java:148) E/GC_NetworkCallFactory(5141): at com.amazon.ags.html5.comm.NetworkCallFactory.handleMessage(NetworkCallFactory.java:114) E/GC_NetworkCallFactory(5141): at com.amazon.ags.html5.javascript.CallHandlerBase.handleMessage(CallHandlerBase.java:61) E/GC_NetworkCallFactory(5141): at com.amazon.ags.html5.javascript.domain.JavascriptInterface$8.run(JavascriptInterface.java:235) E/GC_NetworkCallFactory(5141): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) E/GC_NetworkCallFactory(5141): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) E/GC_NetworkCallFactory(5141): at java.lang.Thread.run(Thread.java:856) Everything works fine if I'm logged in on the device. Also, the same steps work ok on a non-Kindle android device as well. I'm testing on a Kindle Fire HD 8.9 version 8.4.8_4849120 , GameCircle version 2.6.32.0-gen5_2607510 , with GameCircle api version 2.3.1 Thanks.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Shanmi, Could you please let us know what is your use case of signing in an user to a Kindle device which is not registered. For your information, if the device is not registered with an Amazon account, the app which is published through Amazon App Store, would not work in Kindle device. Because downloaded apps always needs it's owner account to be logged in to the store. The user who would try to launch the app with out registering the device with an account would see a popup in the app start-up and that will force the app to be terminated by saying the user "app is not owned by you".
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Shanmi avatar image
Shanmi answered
@Sujoy@Amazon Thanks for your reply. If thats the case then it should be fine, i was testing in based on the use-case we had while developing for GooglePlay where the app is not "bound" to an account, it just needs one to install from the play-store, the user can then uninstall GooglePlay services from the app-manager. We just need to make sure that the app doesn't crash in that case.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Shanmi, In Kindle Fire, the app store could not be uninstalled. And if you install one app from one account and deregister the device, the installed app could not be launched. You will face a popup saying that "you do not own this app" or "please register the device". The app would never be crashed in any case.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Shanmi avatar image
Shanmi answered
Hi Sujoy Thanks again for the reply. So a fresh install for the new user would mean a new Local-Store folder and the application would launch from the start ? Thanks in advance.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Yes.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Shanmi avatar image
Shanmi answered
Thanks again :)
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.