While that works without problems on my BEX prepared device (aka I can connect to the amazon app store and get user and product data), when I do the exact same steps with my normal development Firestick the requests for user data and product data fail.
I made sure the device is in Developer Mode, and otherwise it is the exact same resigned app package that is installed to both firesticks.
I attached the device log and the app log from when starting up the app on the normal development device (note: that device also has some issues with printing any console log from the app into the system log, so you won’t see the app logs in the attached system log - the app log I attached is logged by another way).
In the app log you see the getUserData call made to the iap service here:
2025-12-02T15:19:45.115Z [DEBUG] [iap]: Refreshing purchase data
and the failing response here:
2025-12-02T15:19:46.242Z [WARN] [iap]: Error trying to get user data from app store: FAILED 2025-12-02T15:19:46.244Z [DEBUG] [iap]: Error on refreshing app store data on app foregrounding: Error: Appstore error: Could not get user data [getUserData failed]
which corresponds to the launching of the amazon iap service in the system log here:
Dec 02 15:19:45.281445 firestick-05c11b3546ebc9e0 local0.info lcm_service[893]: 893 I lcm-server:[Lcm.cpp:3377] Received launch request for orpheus://com.amazon.iap.core.service
followed by some iap logging which does not give me any clue on why it fails.
What can be the reason i can’t use the AppStore DevTeston my normal development device when it just works on my BEX device? (Btw we also tried on a colleague’s normal development device, and it’s also not working there).
AppStore DevTest is also not working on my BEX device anymore with the newest keplerscript-appstore-iap-lib version 2.12.13
it did work on my BEX device with a really old version of the appstore-iap-lib (version 2.3.0), which I cannot use anymore with Vega v0.21 and the @amazon-devices packages and which crashes now on BEX with the newest BEX version
on both the BEX version and the normal development device I see logs that look like the resigning process did not work or is not accepted - but I did all resigning steps as written in the documentation and also made sure the used certificate is the one from the amazon developer site for the app (and, with the 2.3.0 version of the iap library this exact resigning apparently did work), there were no issues in the resigning process:
Dec 04 13:40:28.454556 firestick-05c11b3546ebc9e0 local0.err pkgmgrd[887]: 30854 E pkgmgr-signature:[PackageSignatureVerifier.cpp:250] Package 'com.amazon.rialto.cordova.webapp.webapp7b743ed0e02e48178fb2bf55dbb38517' not signed with any distributor
Dec 04 13:40:29.395898 firestick-05c11b3546ebc9e0 local0.info pkgmgrd[887]: 30854 I pkgmgr-metrics-reporter:[MetricsReporter.cpp:297] 'PackageInstallOrUpdateStatus' metric reported. Package Id: com.amazon.rialto.cordova.webapp.webapp7b743ed0e02e48178fb2bf55dbb38517, RequestorId: com.amazon.dev.shell, Status: Operation completed successfully Package Distributors: UNSIGNED, isAnUpdate: true
Ok, that log statement is a red herring - I got it working now, and that log statement is still printing.
The reason it was not working on my normal device seems to have been that somehow that device never registered to my Amazon user account when i logged in with it on the device, only the BEX device was showing as registered device. I did a factory reset to the normal device, logged in again with my amazon user, saw it being added as registered device to the user account, and now my re-signed app version can connect to the app store.
Thanks for looking into this issue, I’ll close it.