You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nanahuatzin (via GitHub)" <gi...@apache.org> on 2024/07/11 06:59:03 UTC

[I] error in plugin.xml [cordova-plugin-camera]

Nanahuatzin opened a new issue, #888:
URL: https://github.com/apache/cordova-plugin-camera/issues/888

   # Bug Report
   
   ## Problem
   
   # Bug Report
   
   ## Problem
   
   After compiling my Cordova project, my AndroidManifest.xml file breaks at this line:
   
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
   
   ### What is expected to happen?
   
   The project should compile correctly without errors.
   
   ### What does actually happen?
   
   The compilation fails due to the aforementioned line in the AndroidManifest.xml.
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   In the plugin.xml file of the cordova-plugin-camera, on line 58, there is this line:
   
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
   
   it should be <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   Add the project in Cordova and compile.
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Cordova V13, Android, running on Windows 10.
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova: 13.0.0
   Node: 18.0.0
   cordova-plugin-camera: Latest version
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [x ] I included all the necessary information above
   
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
   
   ### What is expected to happen?
   
   I will compile correctly
   
   ### What does actually happen?
   
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   In the line 58 of the current there is this line.
   
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
   
   it should be <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   add the proyect in cordova and compile
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Cordova V13,  android, runing on windows 10.
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   Cordova, android 13.0.0
   node 18.0.0
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [x ] I included all the necessary information above
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

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


Re: [I] error in plugin.xml [cordova-plugin-camera]

Posted by "jcesarmobile (via GitHub)" <gi...@apache.org>.
jcesarmobile commented on issue #888:
URL: https://github.com/apache/cordova-plugin-camera/issues/888#issuecomment-2227499798

   The line is correct, that permission shouldn’t be requested on SDKs over 32, if it’s conflicting with another plugin, it’s the other plugin that should be updated to declare the permission like this plugin does


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

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


Re: [I] error in plugin.xml [cordova-plugin-camera]

Posted by "jcesarmobile (via GitHub)" <gi...@apache.org>.
jcesarmobile closed issue #888: error in plugin.xml
URL: https://github.com/apache/cordova-plugin-camera/issues/888


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

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