Thursday, September 28, 2023
HomeiOS Developmentandroid - How am i able to get a Firebase FCM token...

android – How am i able to get a Firebase FCM token in ios and andriod .NET Maui utility? And what nuget package deal is the perfect for this


I had a Xamarin utility that i migrated to .net7 Maui, presently having points implementing Firebase push notifications, I did use a package deal: Plugin.Firebase however that fully broke my challenge, the errors (266 errors) I acquired when utilizing Plugin.Firebase:

Error MSB3030 Couldn’t copy the file “C:UsersUsername.nugetpackagesxamarin.firebase.ios.cloudfirestore8.10.0.3libnet6.0-ios15.4Firebase.CloudFirestore.resourcesgrpc.xcframeworkios-arm64_x86_64-simulatorgrpc.frameworkPrivateHeaderssrccoreextfiltersclient_channelglobal_subchannel_pool.h” as a result of it was not discovered. C:Program FilesMicrosoft Visible Studio2022CommunityMSBuildCurrentBinamd64Microsoft.Frequent.CurrentVersion.targets 4879

As soon as i eliminated the Plugin.Firebase package deal all of the errors goes away, so I imagine their is a few conflicts with that package deal and different packages in my utility.

I used the next article:
https://cedricgabrang.medium.com/firebase-push-notifications-in-net-maui-android-32c808844d7e

What different packages is obtainable and that works with .NET Maui?

All I would like is the FCM token in order that I can ship it to my backend server and push notification from there to every system.

I attempted different packages with no luck any suggestions might be useful.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments