Giter Club home page Giter Club logo

capacitor-image-picker's People

Contributors

jonz94 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

missile71

capacitor-image-picker's Issues

This plugin cause `@capacitor/camera` plugin to malfunction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.