Expo SDK 32 + Firebase Setup? (Android)

#1

Hi,

In SDK 32 documentation, MainActivity.java needs to be:

    @Override
    public List<Package> expoPackages() {
      return ((MainApplication) getApplication()).getExpoPackages();
    }
    


But in expo-firebase-app, MainActivity.java requires us to do:

@Override
public List<Package> expoPackages() {
  // Here you can add your own packages. 
  return Arrays.<Package>asList(
    new FirebaseAppPackage() // Include this. 
  );
}

How do I combine these two? Thanks.

2 Likes
closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.