Skip to content

Instantly share code, notes, and snippets.

@srtvprateek
Last active August 11, 2022 20:32
Show Gist options
  • Save srtvprateek/80f258db7a36a3c8864ddb20374e8543 to your computer and use it in GitHub Desktop.
Save srtvprateek/80f258db7a36a3c8864ddb20374e8543 to your computer and use it in GitHub Desktop.
pluto-application-install-plugins
fun onCreate() {
....
Pluto.Installer(this)
.addPlugin(PlutoNetworkPlugin("network")) // network plugin
.addPlugin(PlutoExceptionsPlugin("exceptions")) // exceptions plugin
.addPlugin(PlutoLoggerPlugin("logger")) // logger plugin
.addPlugin(PlutoSharePreferencesPlugin("sharedPref")) // shared preference plugin
.addPlugin(PlutoRoomsDatabasePlugin("rooms-db")) // rooms database plugin
.addPlugin(PlutoDatastorePreferencesPlugin("datastore")) // datastore preferences plugin
.install()
....
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment