Answers for "cannot find symbol BuildConfig.VERSION_NAME symbol: variable VERSION_NAME location: class BuildConfig"

0

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
      )
    );
  }
}
Posted by: Guest on August-16-2021

Code answers related to "cannot find symbol BuildConfig.VERSION_NAME symbol: variable VERSION_NAME location: class BuildConfig"

Browse Popular Code Answers by Language