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 2021/04/14 17:44:56 UTC

[GitHub] [cordova-plugin-media-capture] chriskhongqarma commented on a change in pull request #215: [Android] Store image/audio/video in FileProvider due to Android 11 updates

chriskhongqarma commented on a change in pull request #215:
URL: https://github.com/apache/cordova-plugin-media-capture/pull/215#discussion_r613451543



##########
File path: src/android/Capture.java
##########
@@ -59,7 +59,7 @@ Licensed to the Apache Software Foundation (ASF) under one
 import android.net.Uri;
 import android.os.Environment;
 import android.provider.MediaStore;
-import androidx.core.content.FileProvider;

Review comment:
       I tried using androidx, but apparently it is rather troublesome to enable androidx in the media-capture plugin. I think a better solution would be using the old framework like other plugins, and let a cordova plugin called [cordova-plugin-androidx-adapter](https://github.com/dpa99c/cordova-plugin-androidx-adapter) take care of migrating to AndroidX. 




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