Hi,
I'm getting COMMAND_SERVICE_NOT_INSTALLED errors when trying to connect to the Appstore SDK in sandbox mode from a Samsung Device:
- D/Kiwi: CommandServiceClient: Binding Service!!!
- D/Kiwi: CommandServiceClient: Created intent with action com.amazon.venezia.CommandService
- E/Kiwi: CommandServiceClient: CommandServiceException happened, retriesLeft=4
- com.amazon.a.a.n.a.a.c: COMMAND_SERVICE_NOT_INSTALLED: null: null
- at com.amazon.a.a.n.a.d.e(CommandServiceClient.java:257)
- at com.amazon.a.a.n.a.d.a(CommandServiceClient.java:181)
- at com.amazon.a.a.n.a.a.a(AbstractCommandTask.java:124)
- at com.amazon.a.a.n.b.b$1.run(SimpleTaskPipeline.java:179)
- at android.os.Handler.handleCallback(Handler.java:938)
- at android.os.Handler.dispatchMessage(Handler.java:99)
- at android.os.Looper.loop(Looper.java:246)
- at android.os.HandlerThread.run(HandlerThread.java:67)
- D/Kiwi: CommandServiceClient: Sleeping for 400 ms
I'm also trying to get the user data but the request never returns on Sandbox.
- D/d: Appstore SDK - Sandbox Mode: sendGetUserDataRequest
- D/d: Appstore SDK - Sandbox Mode: sendPurchaseUpdatesRequest/sendGetUserData first:a3c3a5b3-d45d-4a0d-9ba7-6bb7c3075bba
- D/d: Appstore SDK - Sandbox Mode: sendItemDataRequest
When running against the production servers I do get a response but it's status code is failed:
- D/AmazonIAPStore: onUserDataResponse status=FAILED (com.amazon.device.iap.model.UserDataResponse@bc5c0d5, requestId: "4768930a-9fa6-443e-8ae9-db256b339cc3", requestStatus: "FAILED", userData: "null")
What am I missing here ? I do see the .json uploaded in the Amazon App Tester app, included the pem file for app store authentication and for peace of mind I've disabled obfuscation and optimization in my pro guard rules file:
-dontoptimize -dontobfuscate -printconfiguration fullconfig.txt
What am I missing ?