request write permission to google calendar too
This commit is contained in:
parent
95beb83913
commit
850b0bd61c
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue