KotlinLeaner
03/25/2023, 8:47 PM<http://Amplify.xyz|Amplify.xyz>
. So this class is making singleton automatically with companion object
?KotlinLeaner
03/25/2023, 8:49 PMkoin
it doesn't get method like this
private val amplify by inject<Amplify>()
because I cannot find addPlugin
method
amplify.addPlugin(AWSCognitoAuthPlugin())
KotlinLeaner
03/25/2023, 8:50 PMAmplify.addPlugin(AWSCognitoAuthPlugin())
it working fine..