You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "tamsel12 (via GitHub)" <gi...@apache.org> on 2023/07/04 07:17:13 UTC

[GitHub] [cordova-plugin-media-capture] tamsel12 opened a new issue, #271: Android 13 support Targetting SDK 33

tamsel12 opened a new issue, #271:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/271

   # Bug Report
   Android 13 Support - Targetting SDK 33 - CAPACITOR 5 
   ## Problem
   I have migrated to Capacitor 5 , But it denies the permission , I have changed the permissions like READ_MEDA_IMAGES. But I am not able to open the camera , it always throws permission denied 
   ### What is expected to happen?
   Runtime permission should be show and it Should open the camera 
   
   ### What does actually happen?
   No Run Time Permission , and it does not open the camera 
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   I have implemented permission dialog using cordova android permissions plugin , but camera does not open 
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   Android 13, Ionic6  , capacitor 5 
   
   
   ### 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.
   -->
   Android 13, Ionic6  , capacitor 5 , Android STUDIO - Flamingo 
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [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
   
   
   Thanks , 


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


[GitHub] [cordova-plugin-media-capture] ryaa commented on issue #271: Android 13 support Targetting SDK 33

Posted by "ryaa (via GitHub)" <gi...@apache.org>.
ryaa commented on issue #271:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/271#issuecomment-1644973969

   > You can fork this repo and follow the same idea extending the method i've created [here](https://github.com/apache/cordova-plugin-media-capture/compare/master...SocialCities:cordova-plugin-video-capture:master).
   
   This changes fixes the problem and enable capturing video on the apps targeting SDK 33. Thank you


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


[GitHub] [cordova-plugin-media-capture] jcesarmobile commented on issue #271: Android 13 support Targetting SDK 33

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

   should be fixed in version 5.0.0 of the plugin
   
   if somebody still have problems with that version, please, create a new issue and provide a sample app that reproduces the problem


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


[GitHub] [cordova-plugin-media-capture] vaibhav65577 commented on issue #271: Android 13 support Targetting SDK 33

Posted by "vaibhav65577 (via GitHub)" <gi...@apache.org>.
vaibhav65577 commented on issue #271:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/271#issuecomment-1643309072

   @FrancescoPaiola 
   I am using the same package for taking picture and video.
   Can you please share me the exact step by step solution for fixing this issue?
   
   We have deadline for submitting app with api 33 next month from play store ,And this will be broken if I am set my targetapi = 33 for android  


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


[GitHub] [cordova-plugin-media-capture] vaibhav65577 commented on issue #271: Android 13 support Targetting SDK 33

Posted by "vaibhav65577 (via GitHub)" <gi...@apache.org>.
vaibhav65577 commented on issue #271:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/271#issuecomment-1645271485

   @ryaa 
   And what about capture image?


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


[GitHub] [cordova-plugin-media-capture] ryaa commented on issue #271: Android 13 support Targetting SDK 33

Posted by "ryaa (via GitHub)" <gi...@apache.org>.
ryaa commented on issue #271:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/271#issuecomment-1645369596

   > @ryaa And what about capture image?
   
   i have not checked but i guess it will fail as the change is related to the capturing video only


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


[GitHub] [cordova-plugin-media-capture] FrancescoPaiola commented on issue #271: Android 13 support Targetting SDK 33

Posted by "FrancescoPaiola (via GitHub)" <gi...@apache.org>.
FrancescoPaiola commented on issue #271:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/271#issuecomment-1620019851

   You can fork this repo and follow the same idea extending the method i've created [here](https://github.com/apache/cordova-plugin-media-capture/compare/master...SocialCities:cordova-plugin-video-capture:master).
   
   Maybe you can pass an additional parameter to ´getPermissionsList()´ to get a specific feature's permissions list. 
   Dynamically asking for SDK >= 33:
   - `Manifest.permission.CAMERA` and `Manifest.permission.READ_MEDIA_VIDEO` for video capture feature.
   - `Manifest.permission.CAMERA` and `Manifest.permission.READ_MEDIA_IMAGES` for image capture feature.
   
   And keeping the other case for SDK < 33:
   - `Manifest.permission.CAMERA`, `Manifest.permission.READ_EXTERNAL_STORAGE` and `Manifest.permission.WRITE_EXTERNAL_STORAGE` for all the features.


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


[GitHub] [cordova-plugin-media-capture] jcesarmobile closed issue #271: Android 13 support Targetting SDK 33

Posted by "jcesarmobile (via GitHub)" <gi...@apache.org>.
jcesarmobile closed issue #271: Android 13 support Targetting SDK 33 
URL: https://github.com/apache/cordova-plugin-media-capture/issues/271


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


[GitHub] [cordova-plugin-media-capture] FrancescoPaiola commented on issue #271: Android 13 support Targetting SDK 33

Posted by "FrancescoPaiola (via GitHub)" <gi...@apache.org>.
FrancescoPaiola commented on issue #271:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/271#issuecomment-1619862147

   check this out: https://github.com/apache/cordova-plugin-media-capture/issues/261#issuecomment-1610188701


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


[GitHub] [cordova-plugin-media-capture] tamsel12 commented on issue #271: Android 13 support Targetting SDK 33

Posted by "tamsel12 (via GitHub)" <gi...@apache.org>.
tamsel12 commented on issue #271:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/271#issuecomment-1619962487

   @FrancescoPaiola  Will above solution working for capture image too? , Because you mentioned that it will be worked for video only.


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