Is there a native way to build an image picker/photo upload? It seems like react-native-image-picker is popular, but can I make one without a library?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/reactnative

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • SaaSHub - Software Alternatives and Reviews
  • react-native-image-picker

    :sunrise_over_mountains: A React Native module that allows you to use native UI to select media from the device library or directly from the camera.

    It's simple Java and Objective-C code. Eq. https://github.com/react-native-image-picker/react-native-image-picker/blob/main/android/src/main/java/com/imagepicker/ImagePickerModule.java here is the roughly 200 lines` file. You can build it on your own, however, you need to remember that native code will be needed as you need to retrieve files from the device and it's unreachable from JS code. You need to consider all permissions, especially in iOS.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts