sanil
sanil

Reputation: 460

Runtime Permission Handling

Is it necessary to include required permissions(For ex-WRITE_EXTERNAL_STORAGE) in manifest file if i am using run time permission manager for compileSdkVersion 24 and minSdkVersion is 23?

Upvotes: 2

Views: 178

Answers (3)

Harminder Singh
Harminder Singh

Reputation: 332

Yes, You need to declare required permission in AndroidManifest.xml.

Permission modal only works for marshmallow and above platforms.

To support version smaller than marshmallow, you need to declare them.

Upvotes: 1

Priya
Priya

Reputation: 1632

Yes, You need to include all permission in manifest.xml file even You use it in run time else it will not run. You can find more information about it here . Thanks

Upvotes: 2

Sneh Pandya
Sneh Pandya

Reputation: 8463

Yes, all permissions are to be explicitly declared in your AndroidManifest.xml file regardless of implemented them as Runtime permission or not.

Upvotes: 3

Related Questions