to setup project in your local, you need to follow below instructions.
use npm install command to install all packages use npm run eject command to get android folder
go android > build.gradle
buildscript {
ext {
...
googlePlayServicesAuthVersion = "18.0.0"
}
repositories {
...
google()
}
dependencies {
...
classpath 'com.google.gms:google-services:4.3.3'
}
}go android > app> build.gradle
apply plugin: "com.google.gms.google-services"then to enable multidex follow this link Enabling Multidex
to get more details go React Native Firebase
then open android studio > open android project [C:....\findy\android] > Build > Make Project
add following settings to android > gradle.properties
org.gradle.daemon=true
org.gradle.configureondemand=true
org.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8add following settings to android > app > build.gradle
android {
dexOptions {
javaMaxHeapSize "3g"
}
}add following settings to AndroidManifest.xml
<manifest ... >
<application android:requestLegacyExternalStorage="true" ... >
...
</application>
</manifest>go android > app > buld.gradle and increase
versionCode 1
versionName "1.0.0"then run following command
./gradlew bundleRelease