Expo SDK 32 + Firebase Setup? (Android)



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

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

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

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.

closed #2

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