Building an Expo App with Native Code Using EAS Build
Why Stack Overflow recommends it
Stack Overflow users link it when answering questions about using native modules like react-native-firebase or Notifee in Expo, since it shows how to build a custom dev client instead of using Expo Go or ejecting.
Recommended by 4 people across 4 different months, 2021 to 2023.
What it is
A 13-minute walkthrough from the Expo team showing how to use EAS Build to create custom development builds of an Expo app that include native code. It builds iOS and Android dev apps with react-native-blurhash, installs them on physical devices, and connects them to a local JS/TypeScript codebase for live development.
What people said
Recommends Ayush Kumar · 2021-07 · Stack Overflow · on “Expo and react-native-firebase”
Update 02-12-2021 Guys expo's eas-build is now public. You can add custom native codes and use react-native-firebase. Here is the link to a [this video] tutorial. The video is short and super easy to follow. Here is the link to the docs [LINK] Previous answer If you are using Firebase using the mobile configuration, it does not work, but it worked smoothly when I tried the web configuration. Here is the [this video] . Watch from 38:20 to set up.
Recommends Ayush Kumar · 2021-07 · Stack Overflow · on “Emulator is showing error {firebase.App() not found} while using firebase authentication with React Native using expo-cli”
Update 02-12-2021 Guys expo's eas-build is now public. You can add custom native codes and use react-native-firebase. Here is the link to a [this video] tutorial. The video is short and super easy to follow. Here is the link to the docs [LINK] Previous answer Currently, Firebase does not work in react native if you are using the mobile configuration. However, if you use the web configuration it will work. Here is the [LINK] . Watch from 38:20 to set up.
Recommends Fiston Emmanuel · 2022-06 · Stack Overflow · on “What is the difference between expo prebuild and expo eject?”
Notifee library depends on the native modules which are not working with the standard Expo Go App development environment. Before Expo SDK 42, It was required to eject to be able to add native modules. Starting with Expo SDK 42, you can add native modules without Ejecting. To compile native modules, Expo provides the option to compile your custom Expo Go app with your custom native module ( Notifee) embedded. With Expo Go Custom App, you still have same Expo Developer experience as the norm with the extra capabilities to add any custom library. You can refer to this video where Expo Founder shows the process to compile a custom Expo App with native modules embedded - [this video]
Recommends Andres Diaz Lopez · 2022-12 · Stack Overflow · on “Error: Unable to resolve module `react-native-gesture-handler`”
Note: If you don't use Eas build [this video] in your app. This comment is not for you. I will share my case and How I solved it. Stack I am using. Expo react-native-firebase, native library. Eas build [this video] , to process the native library inside Expo. Problem I followed all the steps that library said. npm install: @react-navigation/bottom-tabs @react-navigation/drawer @react-navigation/native @react-navigation/native-stack react-native-reanimated react-native-safe-area-context react-native-screens react-native-gesture-handler import "react-native-gesture-handler"; // First line of my project However, it didn't work. Solution Brother, it was really simple. But it took me a lot of time to disco
Recommends JoelE · 2023-03 · Stack Overflow · on “react-native-fbsdk-next expo installation/usage”
here are the docs to create a dev build (so you can use native code) and a YouTube video if you wan a step by step guide Expo: [LINK] YouTube: [this video]
Cites Fiston Emmanuel · 2022-03 · Stack Overflow · on “Android Video Capture take more file size -expo-image-picker”
Expo SDK doesn't provide a video compression package out of the box. You need to use third-party packages. Video compression packages rely on native code which will not work with managed Expo Go projects. You need to build a custom Expo Go app with the pre-compiled [this video] native module. You can use [LINK] for compression
Cites Fiston Emmanuel · 2022-06 · Stack Overflow · on “Make image adapt to background colour in React Native”
Starting from Expo SDK 42, you can install a native library with Expo, you just need to compile a custom Expo Go client app with a native module (react-native-color-matrix-image-filters) pre-compiled and embedded. You still have amazing Expo DX use native module support. Check how to compile Expo Go Custom App here - [this video]
Cites Fiston Emmanuel · 2022-07 · Stack Overflow · on “Installing Notifee with Expo: Error: Notifee native module not found”
Error: Notifee native module not found is clear. You are trying to use native modules in Expo Go client App which not registered and compiled. Notifee requires Native modules which do not work with The Expo Go client app. You need to compile your custom Expo Go Dev Client with Notifee pre-embedded. Follow instruction here to compile custom Expo Dev client _ [this video]
Cites Fiston Emmanuel · 2023-01 · Stack Overflow · on “Firestore request, using react-native-firebase, is failing”
react-native-firebase use native modules and it's required to compile your custom Expo Go Development client with react-native-firebase pre-embedded. Step-by-Step Guide - [this video] Otherwise, use the official Firebase JavaScript SDK with no native modules.