1. Summary
App in the Simulator cannot be installed when LWA (Login with Amazon) is integrated.
App Name: Joyn
Bug Severity
Select one that applies
Impacts operation of app
Blocks current development
Improvement suggestion
Issue with documentation (If selected, please share the doc link and describe the issue)
Other
2. Steps to reproduce:
-
Update Kepler SDK to
0.20.3207 -
Following the instructions for LWA at docs. Have LWA is implemented.
-
Following the docs, add next to package.json
"dependencies": {
"@amzn/keplerscript-identity-lwa-lib": "*"
}
-
Build vpkg.
-
Try to install the bundle.
3. Observed Behavior
The installation script fails with:
Failed
ERR: Error: Command failed: vda -s emulator-5554 shell 'vpm install /tmp/fireflies_aarch64.vpkg'
error: Unable to install '/tmp/fireflies_aarch64.vpkg' as the required dependencies are not found on the device.
help: Please update your device software to the latest version or install the missing dependencies.
The following module dependencies declared in the application manifest are not found:
- /com.amazon.kepler.identity_lwa_lib_0@IIdentityLwaLib_0
Kepler operation FAILED due to an irrecoverable error: Failed
Additional logs can be found at /Users/kos/.kepler/logs
4. Expected Behavior
Installation script does not fail and the app can be installed and started afterwards
4.a Possible Root Cause & Temporary Workaround
After investigation, it was find out that removing file node_modules/@amzn/keplerscript-identity-lwa-lib/kepler-compatibility.json may do the trick and the app can be installed. but I am not sure what is the consequences. The file is containing
{
"versions": {
"0.0.44": "/com.amazon.kepler.identity_lwa_lib_0@IIdentityLwaLib_0"
}
}
5. Logs or crash report
Error log file is empty
6. Environment
Please fill out the fields related to your bug below:
- SDK Version:
0.20.3207 - App State:
Uninstalled/Installation Process - OS Information
kepler device info (on simulator)
{
"idme": "A24B7QXDATJDR3",
"os": "OS",
"hostname": "amazon-3b0c14e680a417f3",
"architecture": "aarch64",
"profile": "tv",
"product": "vvrp-tv-arm64",
"buildDescription": "OS 1.1 (VegaMainlineTvIntegration/10120390)",
"simulated": true,
"inDeveloperMode": false
}
