Reputation: 2735
I want to request WRITE_EXTERNAL_STORAGE permission.
I added <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
I know how to request runtime permission in Java request permissions
The same I want to achieve in Dart without using Method Channel and invoking the Java code. I searched but did not find a way.
Upvotes: 1
Views: 584
Reputation: 2735
Now, simple_permissions plugin is available. It is new but easy to use.
Upvotes: 1
Reputation: 277067
This is not possible. Such information is available only with Method Channel
.
Upvotes: 2