Closed mihiriroid closed 3 months ago
Hi @mihiriroid, please see this page: https://docs.amplify.aws/gen1/android/sdk/configuration/amplify-compatibility/
Because you are using Amplify v2, you will need to implement your own credentials provider (example provided on the page) for IoT. AWS Android SDK's providers interfere with Amplify v2 and wipe its credentials on the device.
Thanks for the help @tylerjroach, It's work for me.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Bug Description
To Reproduce Steps:
Code for fetching AuthSession
Code for connect to IoT Endpoints and subscribe topic.
Which AWS service(s) are affected?
Expected behavior If I don't sign out, I should stay signed in until the token expires or I manually sign out.
Environment Information (please complete the following information):