- 
                Notifications
    
You must be signed in to change notification settings  - Fork 17
 
Description
Describe the bug
A clear and concise description of what the bug is.
com.amplifyframework.ui:authenticator:1.0.0 is not working with latest compose bom library . It is only being compatable with androidx.compose.animation:animation:1.4.3 .And it is not working with any of the upper version.
We are faing this issue to implement amplify in Android:-
java.lang.NoSuchMethodError: No static method AnimatedContent(Ljava/lang/Object;Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/Alignment;Ljava/lang/String;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;II)V in class Landroidx/compose/animation/AnimatedContentKt; or its super classes (declaration of 'androidx.compose.animation.AnimatedContentKt' appears in /data/app/~~6bhZICrgqVij99eBwBhVhA==/com.kotak.kotakpro.qa-b8N8K3H1VJQv0sX17v-0zQ==/base.apk)
at com.amplifyframework.ui.authenticator.ui.AuthenticatorKt.Authenticator(Authenticator.kt:112)
To Reproduce
A code sample or steps:
   Authenticator(
            signInContent = {
                Amplify.Auth.signIn(
                    "888888888888", "8888888888", { result ->
                        if (result.isSignedIn) {
                          
                            Toast.makeText(context, "authenticated", Toast.LENGTH_SHORT).show()
                    } else {
                        Toast.makeText(context, "not authenticated", Toast.LENGTH_SHORT).show()
                    }
                }, {
                    startSensorEvent.value = true
                }
            )
        }
    ) {
     //content
    }
Which AWS service(s) are affected?
amplify authenticator