Thank you for your videos, they are great and they have helped me a lot. I have a question in the info.plist file. The Capabilities option to do Enabling Background Mode does not appear. What is this due to? thank you.
HI, Can you try to open Info.plist file as Generic Plist Editor & Add Required background modes there manually like I shown in this image : drive.google.com/file/d/1OfLxdlbOOKE8IbhBtfDKeKfeBB7jJFoX/view?usp=share_link
Hi, thank you for all of your videos. I have one problem, hope you can help me out with that. When i try accessing Messaging.SharedInstance, i get "'Object reference not set to an instance of an object'". Any ideas of what could have gone wrong?
How can i load the image in notification particularly for ios, i passed the imageurl in notification payload but now i do not understand how can i show that image in notification
Hi Pragnesh, great video. After suggested Android changes, my FirebaseService is called when project (and even the app on phone) runs the second time (First time being installation and first run). Can you please help, I want to run it first time of app run.
Thanks for this. I am having a problem with WillPresentNotification not being called. I have made a new test app and it works fine but not in my main app. I can't see what I have missed. Any ideas?
16:40 I get Error message when instale nuget " Could not find a part of the path 'C:\Users\...\.nuget\packages\xamarin.firebase.ios.installations\...\FirebaseInstallations-umbrella.h'." What can i do with that?
Hi, you might need to enable long path for windows , or you can save nuget package in some outer directory. github.com/mistrypragnesh40/PushNotificationDemoMAUI/issues/3
For win 7 the MAX file size is 256 chars. You can do nothing because the Firebase headers .h paths can be up to 267 symbols. (if you rename the directory to just one char like c:\ it does not help. For lucky win10 owners the max path of 260 can be extended in the registry.
@@ProgrammingWithPragnesh Thanks for the video, this is the closest I've come to getting push notifications to work in MAUI. I've tried both of those options with no success. Just out of curiosity, how many chars is your C:\Users\username segment of your NuGet cache path?
Hi, thank you for the videos on implementing push notifications for different platforms in .NET MAUI. Followed your video along and tried to implement the same but getting a error "Object reference not set to instance of an object" while running it for a physical device[in my case its Ipad]. Also tried with the project that you have shared , getting the same error. Can you please help me out on where I could have gone wrong in the implementation?
Hi Pragnesh Still the code suggested by you for the IOS push notification is not working and above error[mentioned in the comment] is appearing on the IOS devices. On the simulator, the custom method that you have written in AppDelegate [ DidReceiveRegistrationToken] is not being hit when I try to debug the application and hence without the reg token it is unable to test whether push notification is working or not for IOS platform. Any suggestions on how to fix this issue?
@@ProgrammingWithPragnesh Same here , i am able to get the device token etc, but it doesn't hit my WillPresentNotification breakpoint. Please help. i am testing on a real device.
I have successfully implemented for Android but am having issue where the notification is not received by iOS simulator. Double-checked my settings in Apple Developer and Firebase. Anyone have any tips on debugging to see where the message is failing? Have read some debug tips related to sending message through APNS to debug.
I have found that the emulator for Android would receive the push notification, but not the emulator for iOS when I was paired with a Mac through Visual Studio. When I ran the app on an iPhone connected to the paired Mac, I was able to receive the push notification. This resolves the issue for me.
Please help, I've followed the tutorial exactly and am getting the notifications to come through but the functions in the extension class UserNotificationCenterDelegate aren't getting called.
Hello, I'm trying to implement the Plugin using Visual Studio 2022 for Mac. However, when I install the Nuget package Xamarin.Firebase.iOS.CloudMessaging, I get an error on compilation: GAM-8.9.1/GoogleAppMeasurement-8.9.1/Frameworks/GoogleAppMeasurement.xcframework has an incorrect or unknown format and cannot be processed Is there any way to fix this? Or, is there any alternative to this nuget package? I've already searched but I haven't found anyone who could solve this problem.
Thanks for answering. Accidentally, I managed to get around the problem. I compiled the project for MacCatalyst, and it worked. After that, I can compile without problem for iOS. Looks like the compiler fixed it by itself.
Hello. I did everything and the request returns correctly, but there are no notifications on my iOS phone. I also tried it from the Firebase console screen and there was no notification on the phone. I can receive DeviceToken successfully. Can you help me please
I have the same. Got the token. Allowed permissions. But cannot get the push when sending the message from Firebase console. Have you found the problem? Can you please help me also if you know how to solve it. thank you,!
Thank you for the video. Please increase the size of your text on future videos. It's very hard to see when watching on phone or tv.
This works really great and very easy setup! Keep up the good work!
Great video :). Its exactly what i needed, keep up the good work man
Thank you.
Thank you for your videos, they are great and they have helped me a lot. I have a question in the info.plist file. The Capabilities option to do Enabling Background Mode does not appear. What is this due to? thank you.
HI, Can you try to open Info.plist file as Generic Plist Editor & Add Required background modes there manually like I shown in this image : drive.google.com/file/d/1OfLxdlbOOKE8IbhBtfDKeKfeBB7jJFoX/view?usp=share_link
Hi, thank you for all of your videos. I have one problem, hope you can help me out with that. When i try accessing Messaging.SharedInstance, i get "'Object reference not set to an instance of an object'". Any ideas of what could have gone wrong?
Hi, i have the same problem, have you found a solution since?
How can i load the image in notification particularly for ios, i passed the imageurl in notification payload but now i do not understand how can i show that image in notification
Hi Pragnesh, great video. After suggested Android changes, my FirebaseService is called when project (and even the app on phone) runs the second time (First time being installation and first run). Can you please help, I want to run it first time of app run.
Thanks for this. I am having a problem with WillPresentNotification not being called. I have made a new test app and it works fine but not in my main app. I can't see what I have missed. Any ideas?
I've found a solution.
@@Spud9 Could you share? I'm facing this issue too
@@thiagoschmitz6286 Rather then putting in a separate class I declared the overrides in the AppDeligate directly.
i dont receive notifications in the iphone simulator, why??????
Thanks!
16:40 I get Error message when instale nuget " Could not find a part of the path 'C:\Users\...\.nuget\packages\xamarin.firebase.ios.installations\...\FirebaseInstallations-umbrella.h'." What can i do with that?
Hi, you might need to enable long path for windows , or you can save nuget package in some outer directory.
github.com/mistrypragnesh40/PushNotificationDemoMAUI/issues/3
For win 7 the MAX file size is 256 chars. You can do nothing because the Firebase headers .h paths can be up to 267 symbols. (if you rename the directory to just one char like c:\
it does not help. For lucky win10 owners the max path of 260 can be extended in the registry.
@@ProgrammingWithPragnesh Thanks for the video, this is the closest I've come to getting push notifications to work in MAUI. I've tried both of those options with no success. Just out of curiosity, how many chars is your C:\Users\username segment of your NuGet cache path?
Hi, thank you for the videos on implementing push notifications for different platforms in .NET MAUI. Followed your video along and tried to implement the same but getting a error "Object reference not set to instance of an object" while running it for a physical device[in my case its Ipad]. Also tried with the project that you have shared , getting the same error. Can you please help me out on where I could have gone wrong in the implementation?
Hi Pragnesh
Still the code suggested by you for the IOS push notification is not working and above error[mentioned in the comment] is appearing on the IOS devices. On the simulator, the custom method that you have written in AppDelegate [ DidReceiveRegistrationToken] is not being hit when I try to debug the application and hence without the reg token it is unable to test whether push notification is working or not for IOS platform. Any suggestions on how to fix this issue?
I will check that.
@@ProgrammingWithPragnesh Same here , i am able to get the device token etc, but it doesn't hit my WillPresentNotification breakpoint. Please help. i am testing on a real device.
None of the methods in UserNotificationCenterDelegate are being hit.
I have successfully implemented for Android but am having issue where the notification is not received by iOS simulator. Double-checked my settings in Apple Developer and Firebase. Anyone have any tips on debugging to see where the message is failing? Have read some debug tips related to sending message through APNS to debug.
I have found that the emulator for Android would receive the push notification, but not the emulator for iOS when I was paired with a Mac through Visual Studio. When I ran the app on an iPhone connected to the paired Mac, I was able to receive the push notification. This resolves the issue for me.
Please help, I've followed the tutorial exactly and am getting the notifications to come through but the functions in the extension class UserNotificationCenterDelegate aren't getting called.
I've found a solution.
@@Spud9 What is the solution? I have the same problem.
@@EmirhanYüksektepe Put the overrides in the app delegate directly.
@@Spud9Hi, could you share the solution?
Hello, I'm trying to implement the Plugin using Visual Studio 2022 for Mac. However, when I install the Nuget package Xamarin.Firebase.iOS.CloudMessaging, I get an error on compilation:
GAM-8.9.1/GoogleAppMeasurement-8.9.1/Frameworks/GoogleAppMeasurement.xcframework has an incorrect or unknown format and cannot be processed
Is there any way to fix this?
Or, is there any alternative to this nuget package?
I've already searched but I haven't found anyone who could solve this problem.
Sorry, i dont know about this , i need to chdck
Thanks for answering.
Accidentally, I managed to get around the problem.
I compiled the project for MacCatalyst, and it worked.
After that, I can compile without problem for iOS.
Looks like the compiler fixed it by itself.
Hello. I did everything and the request returns correctly, but there are no notifications on my iOS phone. I also tried it from the Firebase console screen and there was no notification on the phone. I can receive DeviceToken successfully. Can you help me please
I have the same. Got the token. Allowed permissions. But cannot get the push when sending the message from Firebase console. Have you found the problem? Can you please help me also if you know how to solve it. thank you,!
@@PavelKonoshchenko Unfortunately
@@EmirhanYüksektepe I have found the probmel and now its working. do you need help?
@@PavelKonoshchenko I have the same problem. Can you please help me with this?
@prateekp12 I can try. Do you have the file entitlement.plist in your ios platform folder ?