Using @amazon-devices/keplerscript-appstore-iap-lib@2.12.13 causes in-app purchases to fail

Hi @ishijima_tatsuki_1

I checked the logs and could not find any calls to IAP APIs.
Downloaded the VPKG (you shared) and extracted it.
Observed that the system bundle configurations are missing.

(base) srivishn@7cf34ddb32eb Downloads % cat assets/raw/keplerscript-app-config.json {"schemaVersion":1,"mainBundle":"index.hermes.bundle","developmentEnabled":true,"linkLaunch":[],"linkDynamic":["keplerscript-appstore-iap-lib"],"appLibraries":[{"components":[],"turbomodules":["AppstoreIAPRequestHandlerModule"],"libraryName":"libkeplerscript-appstore-iap-lib.so","uiComponentName":"","publicName":"keplerscript-appstore-iap-lib"}],"runtimeFeatures":{},"systemBundles":{}}%

The 2.12.13 version of keplerscript-appstore-iap-lib is system bundled and the configurations need to be present.
Also, for LAT, debug vpkg will not work and release vpkg has to be used.

Can you please try a clean build and test using release vpkg ?

You might benefit from the below reference docs:

  1. IAP Overview | Design and Develop Vega Apps
  2. How to address System Bundles and Troubleshooting
  3. A Developer's Guide: Understanding System Bundles in Apps for Amazon Fire TV

Do let me know if this works for you.

Warm regards,
Ivy