-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Labels
authRelated to the Auth category/pluginsRelated to the Auth category/pluginsbugSomething isn't workingSomething isn't working
Description
Before opening, please confirm:
- I have searched for duplicate or closed issues and discussions.
Language and Async Model
Kotlin - Coroutines
Amplify Categories
Authentication
Gradle script dependencies
amplify = "2.27.4"
amplify-auth-cognito = { module = "com.amplifyframework:aws-auth-cognito", version.ref = "amplify" }
amplify-core-kotlin = { module = "com.amplifyframework:core-kotlin", version.ref = "amplify" }Environment information
Gradle 8.13
------------------------------------------------------------
Build time: 2025-02-25 09:22:14 UTC
Revision: 073314332697ba45c16c0a0ce1891fa6794179ff
Kotlin: 2.0.21
Groovy: 3.0.22
Ant: Apache Ant(TM) version 1.10.15 compiled on August 25 2024
Launcher JVM: 21.0.7 (Azul Systems, Inc. 21.0.7+6-LTS)
Daemon JVM: /Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home (no JDK specified, using current Java home)
OS: Mac OS X 15.4.1 aarch64
Please include any relevant guides or documentation you're referencing
https://docs.amplify.aws/android/build-a-backend/auth/connect-your-frontend/listen-to-auth-events/
Describe the bug
when auth.autoSignIn() succeed Amplify.Hub does not trigger AuthChannelEventName.SIGNED_IN.name event name.
Reproduction steps (if applicable)
- subscribe to hub event
Amplify.Hub.subscribe(HubChannel.AUTH).collect {
logger.d{ "Event: $it" }
}
- auto sign in successfully
auth.autoSignIn() - notice that no event are logged.
Code Snippet
Log output
Configuration File
No response
GraphQL Schema
No response
Additional information and screenshots
No response
Metadata
Metadata
Assignees
Labels
authRelated to the Auth category/pluginsRelated to the Auth category/pluginsbugSomething isn't workingSomething isn't working