Hello,
This is regarding the new beta 1.0.0 Unity plugin. Our app requires access to two different databases (in two separate projects). We therefore supply custom AppOptions to the FirebaseApp Create method. Prior to the release of the plugin, we had wrapped the native iOS SDK successfully, and were
using this technique likewise successfully. However, with the plugin, on each call to Create, we seem to get this error:
"The project's Bundle ID is inconsistent with either the Bundle ID in 'GoogleService-Info.plist', or the Bundle ID in the options if you are using a customized options. To ensure that everything can be configured correctly, you may need to make the Bundle IDs consistent. To continue with this plist file, you may change your app's bundle identifier to 'XXXXXXXXXX'" (where "XXXXXXXXXX" is a numeric string that actually seems to match our GCM sender ID).
There are only five properties in the AppOptions class, non of which seem to be the place to assign the bundle Id. I have tried setting the app name as the bundle ID, but that of course failed as bundle IDs use characters that are invalid for the app name.
Any help with this is appreciated!
FWIW, further on, we get the following exception when trying to access the database root reference for the app:
InvalidOperationException: The firebase realtime database has not been properly initialized.
at Firebase.Database.Internal.Core.Context.EnsureLogger () [0x00000] in <filename unknown>:0
at Firebase.Database.Internal.Core.Context.InitServices () [0x00000] in <filename unknown>:0
at Firebase.Database.Internal.Core.Context.Freeze () [0x00000] in <filename unknown>:0
at Firebase.Database.Internal.Core.RepoManager.CreateLocalRepo (Firebase.Database.Internal.Core.Context ctx, Firebase.Database.Internal.Core.RepoInfo info, Firebase.Database.FirebaseDatabase firebaseDatabase) [0x00000] in <filename unknown>:0
at Firebase.Database.Internal.Core.RepoManager.CreateRepo (Firebase.Database.Internal.Core.Context ctx, Firebase.Database.Internal.Core.RepoInfo info, Firebase.Database.FirebaseDatabase firebaseDatabase) [0x00000] in <filename unknown>:0
at Firebase.Database.FirebaseDatabase.EnsureRepo () [0x00000] in <filename unknown>:0
at Firebase.Database.FirebaseDatabase.get_RootReference () [0x00000] in <filename unknown>:0
Not sure if this is a result of the previous error, but it seems likely even though the previous error suggests that we "*may* need to make the Bundle IDs consistent".
Thank you!