You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/16 20:56:35 UTC

[GitHub] [cordova-plugin-device] breautek commented on a change in pull request #126: GH-91 android: Implement the changes in getting serial (Api_level 26):

breautek commented on a change in pull request #126:
URL: https://github.com/apache/cordova-plugin-device/pull/126#discussion_r456070547



##########
File path: plugin.xml
##########
@@ -37,10 +37,14 @@
     <!-- android -->
     <platform name="android">
         <config-file target="res/xml/config.xml" parent="/*">
-            <feature name="Device" >
+            <feature name="Device">
                 <param name="android-package" value="org.apache.cordova.device.Device"/>
             </feature>
         </config-file>
+        <config-file target="AndroidManifest.xml" parent="/*">
+            <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
+            <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>

Review comment:
       Cordova cannot define privileged permissions because that would cause apps to be rejected from the Google Play store.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org