MME Android SDK - GET_ACCOUNTS permission optional | Community
Skip to main content
Level 1
November 2, 2016
Investigating

MME Android SDK - GET_ACCOUNTS permission optional

  • November 2, 2016
  • 2 replies
  • 1504 views

Currently the Marketo Android SDK requires the permissions for GET_ACCOUNTS. This is a very intrusive permission that is not actually required for the vast majority of Android devices in market (98.4% actually). Note that pre 4.0 devices comprise about 1.6% of current Android devices - developer.android.com/about/dashboards/index.html

GET_ACCOUNTS on current versions of Android is not required at all and it appears that it was only required by GCM for Android devices older than Android 4.0. The following post has a good summary: stackoverflow.com/questions/18444227/get-accounts-permission-while-using-gcm-why-is-this-needed

To allow for support of pre 4.0 devices, the GET_ACCOUNTS permission should be requested after a version check to ensure the device is pre 4.0 so it can be excluded for devices with version 4.0 and later.

2 replies

November 4, 2016

Hi @David Townsend​

We are removing GET_ACCOUNT permission & decided to support android 4.0 onwards. We will be releasing SDK update shortly. Hope this helps.

February 6, 2020
No text available