OneSignal / OneSignal-Xamarin-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Xamarin app with OneSignal. https://onesignal.com
Other
104 stars 50 forks source link

[Bug]: Xamarin IOS Initialize Error #383

Open Frank9619 opened 3 months ago

Frank9619 commented 3 months ago

What happened?

When i try to initialize the SDK, in IOS device, it doesn't work and i see inside Onesignal.default variable this: Object reference not set to an instance of an object for all fields

Steps to reproduce?

1. Create an empty Xamarin Forms project.
2. Install OneSignalSDK.Xamarin package from NuGet.
3. Initialize the OneSignalSDK object inside main App file

What did you expect to happen?

The initialization works like Android

OneSignal Xamarin SDK version

4.3.4

Which platform(s) are affected?

Relevant log output

No response

Code of Conduct