bjornlain2 opened a new issue #777:
URL: https://github.com/apache/cordova-plugin-camera/issues/777


   So i've got the same problem as here : 
[](https://github.com/apache/cordova-plugin-camera/issues/673?fbclid=IwAR3lUhLMFsonYvXSqjphQys9-ilUgbEfVLOJ7J3joB5iykeRjiuXJyESWgA)
 
   
   On there is says that you need to add this code , but i think it is only for 
Android studio or something, if i try to put like that
   in the config.xml of Ionic it wont build the app and gives errors. 
   
   `<config-file parent="/*" target="AndroidManifest.xml">
       <queries>
           <intent>
               <action android:name="android.media.action.IMAGE_CAPTURE" />
           </intent>
           <intent>
               <action android:name="android.intent.action.GET_CONTENT" />
           </intent>
       </queries>
   </config-file>`
   
   What i do have is an 'edit-config'  and i tried to put it in like this, it 
builds but still doesn't fix the issue : 
   
   `     <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" 
target="/manifest/application" 
xmlns:android="http://schemas.android.com/apk/res/android";>
               <application 
android:networkSecurityConfig="@xml/network_security_config" />
               <queries>
                   <intent>
                       <action 
android:name="android.media.action.IMAGE_CAPTURE" />
                   </intent>
                   <intent>
                       <action android:name="android.intent.action.GET_CONTENT" 
/>
                   </intent>
                   <intent>
                       <action android:name="android.intent.action.PICK" />
                   </intent>
               </queries>
           </edit-config>`
   
   
   So this is actually a disaster because 15 big companies use my application 
and its really bad if they can't take pictures on Android.
   Its very important in the app . It is also already uploaded on the playstore 
so i need to fix it really fast.
   
   Please someone help me :)
   
![afbeelding_2021-11-15_122801](https://user-images.githubusercontent.com/94365201/141774393-ba644e2a-132d-4473-827e-8bbb90cdac9f.png)
   
![afbeelding_2021-11-15_122813](https://user-images.githubusercontent.com/94365201/141774431-2d0ab009-7240-4c59-be43-79b1721a3c7e.png)
   
   
   
   ## Checklist
   
   
   - [ x] I searched for existing GitHub issues
   - [x ] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to