Android.permission.READ_PHONE_STATE

Android.permission.READ_PHONE_STATE

  

Hi there, 


I'm trying to upload an apk to Play Store. But we receive this error. We discovered that we need to make some changes in the AndroidManifest.xml. But in outsystems, that file does not exist. What can we do? 


Below, there is a print of the page that returns those the message. 

Thanks.

Henrique Oliveira wrote:

Hi there, 


I'm trying to upload an apk to Play Store. But we receive this error. We discovered that we need to make some changes in the AndroidManifest.xml. But in outsystems, that file does not exist. What can we do? 


Below, there is a print of the page that returns those the message. 

Thanks.



I can't read the message, but there are some changes you can make through a Plugin... in the  Extensibility Configuration property.  This is a property of the Module itself.  For example, in the Camera plugin you can do this...

{
    "plugin":
    {
        "url": "https://github.com/OutSystems/cordova-plugin-camera#2.3.1.OS",
        "variables": [{
            "name": "CAMERA_USAGE_DESCRIPTION",
            "value": "We access your camera to take pictures."
        },
        {
            "name": "PHOTOLIBRARY_USAGE_DESCRIPTION",
            "value": "We access your photo library to load or save pictures."
        }]
    }
}

Here... the "CAMERA_USAGE_DESCRIPTION" and "PHOTOLIBRARY_USAGE_DESCRIPTION" are being added to the manifest.

Also have a look at the PhoneGap Build Manifests doc section...

http://docs.phonegap.com/phonegap-build/configuring/config-file-element/


Davidk wrote:

I can't read the message, but there are some changes you can make through a Plugin... in the  Extensibility Configuration property.  This is a property of the Module itself.  For example, in the Camera plugin you can do this...

{
    "plugin":
    {
        "url": "https://github.com/OutSystems/cordova-plugin-camera#2.3.1.OS",
        "variables": [{
            "name": "CAMERA_USAGE_DESCRIPTION",
            "value": "We access your camera to take pictures."
        },
        {
            "name": "PHOTOLIBRARY_USAGE_DESCRIPTION",
            "value": "We access your photo library to load or save pictures."
        }]
    }
}

Here... the "CAMERA_USAGE_DESCRIPTION" and "PHOTOLIBRARY_USAGE_DESCRIPTION" are being added to the manifest.

Also have a look at the PhoneGap Build Manifests doc section...

http://docs.phonegap.com/phonegap-build/configuring/config-file-element/


I looked into the link you posted but I couldn't find information related with the permissions to access the USB port and external storage on an Android device.

Do you know what should be on the external configurations in order to have those permissions?

Best regards,

João Santos