Android google calendar permission issue

99封情书 提交于 2019-12-08 09:07:12

问题


I am using google-api-client to access Google calendar.

Following are the permissions in my manifest file.

 <uses-permission
  android:name="android.permission.INTERNET" />
 <uses-permission
  android:name="android.permission.GET_ACCOUNTS" />
 <uses-permission
  android:name="android.permission.USE_CREDENTIALS" />
 <uses-permission
  android:name="android.permission.MANAGE_ACCOUNTS" />

but I am getting such a warning message on the first run:


The following one or more applications request permission to access your account, now and in the future.

  • Google .....@gmail.com
  • Google Calendar

Do you want to allow this request?


screenshot:

is there a way to avoid this message?


回答1:


No you cannot avoid this message, this is to let the users know what applications are doing with their data.



来源:https://stackoverflow.com/questions/3965126/android-google-calendar-permission-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!