Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load image from gallery using input of type file #445

Open
azkdev opened this issue Jun 11, 2019 · 2 comments
Open

Load image from gallery using input of type file #445

azkdev opened this issue Jun 11, 2019 · 2 comments

Comments

@azkdev
Copy link

azkdev commented Jun 11, 2019

Can we upload images using inputs of type file?
I have been added android permissions like this:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />

and then requesting permissions using PermissionHandler in my app:

PermissionHandler().requestPermissions([
    PermissionGroup.photos,
    PermissionGroup.storage
]);

but when I tap the image upload input, nothing happens =c
debug logs are also blank.
thanks in advance

@PreethiSagana
Copy link

I have the same issue, the file upload was working but once I set geolocationEnabled: true it stopped working. I want both geolocation and file upload to be working. Is there a work around?

@azkdev
Copy link
Author

azkdev commented Jul 1, 2019

@PreethiSagana no, it's not a workaround yet =(
I have been ported my project to React Native and all the futures working from the box! awesome =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants