request write permission to google calendar too

This commit is contained in:
tibbi 2017-07-23 12:25:47 +02:00
parent 95beb83913
commit 850b0bd61c

View file

@ -51,7 +51,7 @@ class SettingsActivity : SimpleActivity() {
setContentView(R.layout.activity_settings)
res = resources
credential = GoogleAccountCredential.usingOAuth2(this, arrayListOf(CalendarScopes.CALENDAR_READONLY)).setBackOff(ExponentialBackOff())
credential = GoogleAccountCredential.usingOAuth2(this, arrayListOf(CalendarScopes.CALENDAR)).setBackOff(ExponentialBackOff())
}
override fun onResume() {