cannot find symbol BuildConfig.VERSION_NAME symbol: variable VERSION_NAME location: class BuildConfig
Upgrading packages did not fix issue, the problem was different
I tweaked this file to make this package running
https://github.com/invertase/react-native-firebase/blob/master/packages/app/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseAppRegistrar.java
public class ReactNativeFirebaseAppRegistrar implements ComponentRegistrar {
@Override
public List<Component<?>> getComponents() {
return Collections.singletonList(
LibraryVersionComponent.create(
"react-native-firebase",
BuildConfig.VERSION_NAME
"7.1.4" // package.json version
)
);
}
}