AWS IoT + AWS Amplify Android + Android

0

Hello, We are looking at the documentation to build an Android App to Subscribe&Publish commands on AWS IoT. The documentation says it is now recommended to use new AWS Amplify Android SDK for all new applications.

We did so and we also managed to use the new Authenticator UI in Compose and sign up & sign in. After a couple of days (documentation is quite unorganized), we made it and all was going well... at least until we figured out the new Amplify SDK for Android doesn't has any reference to PubSub module (which the Mobile SDK has). We are stuck. Is there anything we are missing in the documentation, or it isn't implemented at all (will it ever be?) ?

Should we go back using the "old" not recommended Mobile SDK to login using cognito as credential provider (https://docs.amplify.aws/sdk/pubsub/getting-started/q/platform/android) + AWS Android SDK to make use of aws iot module ? Also, in this case, can we still use the Authenticator UI Component (https://github.com/aws-amplify/amplify-ui-android/tree/main/authenticator) or we should build the UI and logics behind it ?

That's mainly because we cannot seem to get the AWSMobileClient object anywhere using the recommended Amplify Android SDK, which i necessary to initialize for AWS IoT.

Thank you in advance.

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions