Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amplify Kotlin Android feature for AWS IoT Core #2852

Closed
1 task done
datasciencemachine opened this issue Jun 18, 2024 · 4 comments
Closed
1 task done

Amplify Kotlin Android feature for AWS IoT Core #2852

datasciencemachine opened this issue Jun 18, 2024 · 4 comments
Labels
question General question

Comments

@datasciencemachine
Copy link

Before opening, please confirm:

Language and Async Model

Kotlin

Amplify Categories

Not applicable

Gradle script dependencies

// Put output below this line

Environment information

# Put output below this line


Please include any relevant guides or documentation you're referencing

No response

Describe the feature request

In the Amplify v2 docuementation for Kotlin or Android, I am not able to see any implementation for AWS IoT Core in it. Basically, I need the support to create an android app to control my IoT Core Things.

Initialization steps (if applicable)

No response

Code Snippet

// Put your code below this line.

amplifyconfiguration.json

No response

GraphQL Schema

// Put your schema below this line

Additional information and screenshots

No response

@github-actions github-actions bot added the pending-triage Issue is pending triage label Jun 18, 2024
@tylerjroach
Copy link
Member

tylerjroach commented Jun 18, 2024

Amplify v2 does not have IoT capabilities.

If you are looking to make mqtt connections, you will want to use aws-iot-device-sdk-java.
If you are looking for APIs to manage IoT, you can use the AWS Kotlin SDK

@tylerjroach tylerjroach added question General question and removed pending-triage Issue is pending triage labels Jun 18, 2024
@datasciencemachine
Copy link
Author

datasciencemachine commented Jun 19, 2024

Thanks for your help Tyler. I can use sdk for my use case as well. However, on the sdk repo readme, it was mentioned to use amplify instead of sdk directly, like in the screenshot below:
Screenshot_20240619_113052_Chrome

This the repo where i am planning to use the sdk from, can you please guide me if this repo is different from the ones you shared earlier to get iot core mqtt connection.
https://github.com/aws-amplify/aws-sdk-android

@vincetran
Copy link
Member

@datasciencemachine As Tyler suggested, Amplify is not a complete 1:1 replacement for aws-sdk-android. So you can use the two other repos as he suggested.

For the MQTT connection, it actually looks like there's a v2 of that library: https://github.com/aws/aws-iot-device-sdk-java-v2

For the AWS SDK Kotlin, here is the docs page with code examples for doing IoT things with it: https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/kotlin/services/iot#code-examples

@vincetran vincetran added the pending-community-response Issue is pending response from the issue requestor label Jun 25, 2024
@mattcreaser mattcreaser added the closing soon This issue will be closed in 7 days unless further comments are made. label Jun 28, 2024
@github-actions github-actions bot removed pending-community-response Issue is pending response from the issue requestor closing soon This issue will be closed in 7 days unless further comments are made. labels Jul 26, 2024
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question
Projects
None yet
Development

No branches or pull requests

5 participants