Android special permissions from individual manufacturers (especially Huawei) -
there phone manufacturers require special permissions in order to routine stuff without permissions on ordinary phones.
if don't include specific permissions in manifest, app crashes.
so, workflow this:
write ordinary code
publish app
notice lots of java.lang.securityexception alerts in developer console
somehow find missing permissions , put them in manifest.
for instance:
i have line of code requires:
<uses-permission android:name="android.permission.write_settings" /> the code works on devices, on huawei devices needs:
<uses-permission android:name="com.huawei.android.launcher.permission.write_settings"/> i have found above permission stackoverflow, after observing crashes inside developer console, not official source.
as expected, workflow time consuming.
are there lists of such manufacturer specific permissions? if so, ideal if gather them together.
thanks.
Comments
Post a Comment