Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

CrossFirebasePushNotification.Current.RegisterForPushNotifications(); throwing NullReference iOS

$
0
0

to do push notifications in my Xamarin Forms App, I am using the CrossGeeks FirebasePushNotification Plugin. My android setup is working alright, but for the iOS app, when I try to run the app, the line

CrossFirebasePushNotification.Current.RegisterForPushNotifications();

is causing a NullReference Exception. What I have done to set up:

  • Set "FirebaseAppDelegateProxyEnabled" to "No"
  • Changed the GoogleService plist to Bundle Resource
  • Added the FirebasePushNotificationManager.Initialize(options, true); in the App Delegate (and it is saying it is unreachable?"

How would I solve this problem? In the documentation, it states that these are the steps needed for iOS setup.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>