You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "premkattaWm (via GitHub)" <gi...@apache.org> on 2026/07/08 12:37:44 UTC
[PR] fix(android): support cordova-android 15 WebView and API 36 MediaScanner [cordova-plugin-camera]
premkattaWm opened a new pull request, #966:
URL: https://github.com/apache/cordova-plugin-camera/pull/966
Two fixes for modern Android compatibility:
1. cordova-android 15+ WebView fix: The WebView now runs on https://localhost and blocks file:// and content:// URIs. Added a CordovaPluginPathHandler that serves cached camera images via https://localhost/_cordova_camera_cache_/... URLs. All FILE_URI return paths now use toWebViewAccessibleUri() to produce WebView- loadable URLs through this handler.
2. API 36 MediaScanner fix: MediaScannerConnection.scanFile() returns null on API 36+. Since API 29+ already saves gallery images via MediaStore ContentValues (writeTakenPictureToGalleryStartingFromAndroidQ), the legacy scanForGallery call is skipped on API 29+.
plugin.xml adds androidx.webkit:webkit as a framework dependency (required by WebViewAssetLoader.PathHandler).
--
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: [PR] fix(android): support cordova-android 15 WebView and API 36 MediaScanner [cordova-plugin-camera]
Posted by "premkattaWm (via GitHub)" <gi...@apache.org>.
premkattaWm closed pull request #966: fix(android): support cordova-android 15 WebView and API 36 MediaScanner
URL: https://github.com/apache/cordova-plugin-camera/pull/966
--
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