Fung
Fung

Reputation: 970

How to override the permission requirement from Google Play Services?

Updated my app to use Google Play Services 12.0.

But got error while upload to Google Play. It is not me collecting phone state. And It is not reproducible on earlier version of Google Play Services.

I believe it is a bug. I think a work around is to override the requirement.

How to override the permission requirement from Google Play Services?

Upload failed Your APK is using permissions that require a privacy policy: (android.permission.READ_PHONE_STATE).

Upvotes: 2

Views: 830

Answers (1)

Fung
Fung

Reputation: 970

Confirmed it is an issue of 12.0 https://issuetracker.google.com/issues/76021774

A work around will be using tools:node="remove" attribute to override the permission requirement.

Upvotes: 1

Related Questions