jonz94 / capacitor-image-picker Goto Github PK
View Code? Open in Web Editor NEW⚡️ Capacitor plugin for multiple image selection.
Home Page: https://www.npmjs.com/package/@jonz94/capacitor-image-picker
License: BSD Zero Clause License
⚡️ Capacitor plugin for multiple image selection.
Home Page: https://www.npmjs.com/package/@jonz94/capacitor-image-picker
License: BSD Zero Clause License
When using this plugin along side with @capacitor/camera
plugin, the image picker works fine, but the camera won't work.
Related error message in Android Studio's console:
D/Capacitor: Sending plugin error: {"save":false,"callbackId":"41879053","pluginId":"Camera","methodName":"requestPermissions","success":false,"error":{"message":"Missing the following permissions in AndroidManifest.xml:\nandroid.permission.WRITE_EXTERNAL_STORAGE\n"}}
...
E/Capacitor/Console: File: http://localhost/main.bf4669fd4a781b3b.js - Line 1 - Msg: ERROR Error: Uncaught (in promise): Error: Missing the following permissions in AndroidManifest.xml:
android.permission.WRITE_EXTERNAL_STORAGE
Error: Missing the following permissions in AndroidManifest.xml:
android.permission.WRITE_EXTERNAL_STORAGE
at returnResult (http://localhost/:741:32)
at Object.win.androidBridge.onmessage (http://localhost/:716:21)
The strange thing is that even we have already setup the corresponding permissions in AndroidManifest.xml
as following:
<?xml version="1.0" encoding="utf-8" ?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="dev.jonz94.demo">
<!-- Network -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- Camera -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- ... -->
</manifest>
the same error message described above still showing up.
Currently, this plugin cannot build with latest xcode 15.
Capacitor 5 beta is already released: https://capacitorjs.com/docs/next/updating/plugins/5-0
Therefore, it is a good time to start adding support for Capacitor 5 and Android 13.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.