question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nothings happens after pressing Take-photo or Choose-from-library, even no errors

See original GitHub issue

Description

As title, nothing happens when I pressed Take-photo or Choose-from-library. However the Cancel button is effective, the if (response.didCancel) block is entered. I also tried to provide a callback function to options of ImagePicker.showImagePicker(options, the Cancel logic is still effective, but there shows no error.

Additional Information

  • React Native version:
    "react": "16.0.0-alpha.12",
    "react-native": "0.45.1",
    "react-native-config": "^0.2.1",
    "react-native-device-info": "^0.10.0",
    "react-native-drawer": "^2.3.0",
    "react-native-image-picker": "^0.26.4",
    "react-native-maps": "^0.15.3",
    "react-native-material-ui": "^1.12.0",
    "react-native-vector-icons": "^4.3.0",
  • Platform: Android 6
  • Development Operating System: Windows 7
  • Dev tools: I’m forcing my Android SDK to ver 23 with this config
subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion 23
                buildToolsVersion '23.0.1'
            }
        }
    }
}

Any suggestion or guess will be appreciated, thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:17 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
nqthuan303commented, Sep 8, 2017

it’s working for me now. Do this step to fix this issue 5. Add the required permissions in AndroidManifest.xml:

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
3reactions
isAlmogKcommented, Sep 5, 2017

+1 I’m having the same issue only happing on Andriod

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nothings happens after pressing Take-photo or Choose-from ...
Nothings happens after pressing Take-photo or Choose-from-library, even ... the Cancel logic is still effective, but there shows no error.
Read more >
Solved: Uploading photos from camera roll - the Etsy Community
I'm trying to upload photos for my listings using the Etsy app on my iPhone. When I go to Add photo I have...
Read more >
My Camera Won't Take A Picture and Release the Shutter ...
Solution. Check the following to resolve the issue: Make sure the battery is fully charged. Check the lens to make sure it is...
Read more >
I am having trouble with my Polaroid Lab. How can I ...
If the LED flashes rapidly when the Polaroid Lab turns on again, ... LEDs flashing = shutter button has been pressed but no...
Read more >
Why are my images not exporting? - Capture One
There are a few reasons why images do not export, or cannot be exported. This article will help to explain why this might...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found