Adding Required Packages
Learn how to add required Firebase packages inside our Flutter project.
We'll cover the following...
First, we need to enable multidex
in our project.
Configure multidex
Since some Firebase SDKs (particularly Firestore) include a significant number of classes, we may exceed the Android build system’s 64K method limit and receive an error while merging dex archives. (The maximum amount of method references in a .dex
file is 64K.)
If we see this ...