Last active
June 13, 2019 13:59
-
-
Save berteodosio/9827bac3e4a30226f0b7379781b99885 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 AppApplication : Application() { | |
override fun onCreate() { | |
super.onCreate() | |
val remoteFileUrl = "https://<remote_file_url>.json" | |
SdkCore.Initializer() | |
.context(this) | |
.configuration(ConfigurationParameters(R.raw.configuration, remoteFileUrl)) | |
.configureLog(LogLevel.VERBOSE, ignoreThrowable = false) | |
.addModule(AuthModule.newInstance()) | |
.addModule(BillingModule.newInstance()) | |
.addModule(ProfileModule.newInstance()) | |
.addModule(PersistenceModule.newInstance()) | |
.addModule(NewsContentViewerModule.newInstance()) | |
.init() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment