Created
October 21, 2020 17:12
-
-
Save Younes-Charfaoui/1bc8e87f44354a6e53a2e239e023345b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AmplifyApplication : Application() { | |
override fun onCreate() { | |
super.onCreate() | |
try { | |
Amplify.configure(applicationContext) | |
Log.i("AmplifyApplication", "Initialized Amplify with success") | |
} catch (error: AmplifyException) { | |
Log.e("AmplifyApplication", "Error while initializing Amplify", error) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment