•
web_view.settings.domStorageEnabled = true
implementation platform('com.google.firebase:firebase-bom:24.6.0')
implementation 'com.google.firebase:firebase-auth'
implementation 'com.google.firebase:firebase-firestore'
Source: https://firebase.google.com/docs/android/setup#firebase-bom
val intent = packageManager.getLaunchIntentForPackage(packageName)
finishAffinity()
startActivity(intent)
exitProcess(0)
ProviderInstaller.installIfNeeded(context)
Source: https://developer.android.com/training/articles/security-gms-provider
./gradlew app:dependencies > tree.txt
val intent = Intent(Intent.ACTION_SEND)
intent.putExtra(Intent.EXTRA_TEXT, content)
intent.type = "text/plain"
startActivity(Intent.createChooser(intent, title))
This is particularly useful if you are using someone elses account. Just add the query parameter `hl`. For example: `hl=en`.