1. Native feature intro #

Created Mon Dec 4, 2023 at 11:53 PM

Section info #

What about Expo projects? #

Expo projects are supposed to be JS only projects - they have almost no native code in them, at-least accessible to the developer.

If you want to use a native feature in an expo, there are two possibilities:

  1. Expo has a library in its SDK that’s enough for you. Nice, no extra work needed. Example - ImagePicker
  2. Expo doesn’t have a library with a feature you want, but an external library is available. Since we’re talking about native feature library here, there will be native code in it. There’s choice but to eject from Expo. Hard to do, but important if your app uses native features heavily, or you want to ensure high scope of customization of native features. Example - ImagePicker, Contact, FileSystem, DocumentPicker etc.

Note about Expo native components #