Ensure that the initialization in Flutter for Firebase is separated in logic to handle the type of device - ie web/iOS/android and that the correct parameters are entered for each.