PushNotificationPlugin icon indicating copy to clipboard operation
PushNotificationPlugin copied to clipboard

Missing Xamarin.Firebase.Iid package referenced by this plugin

Open Daniele-Tentoni opened this issue 3 years ago • 2 comments

Hi all, today I've installed the last available version 3.6.9 of this awasome plugin in my Xamarin Forms 5.0.0.2244 Shell project. When I tried to build it, he said that this nuget package is missing Xamarin.Firebase.Iid package. When I've installed it, another error came:

Default FirebaseApp is not initialized in this process io.wedo.xam_arx_tasks. Make sure to call FirebaseApp.initializeApp(Context) first.

I gave up build Android today, continuing with iOS. Anyone else have the same problem? I have not any other experience with push notifications in Xamarin world.

Daniele-Tentoni avatar Nov 16 '21 18:11 Daniele-Tentoni

Check FAQ.Md file, i think its a google service json file build type issue please make sure build type as google service json

rajuskvt avatar Nov 23 '21 14:11 rajuskvt

Hello @rajuskvt , following FAQ files didn't help me... My GoogleService file is compiled as following

<ItemGroup>
    <GoogleServicesJson Include="google-services.json" />
</ItemGroup>

Daniele-Tentoni avatar Dec 14 '21 16:12 Daniele-Tentoni