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.