Skip to content

[Bug]: Xamarin IOS Initialize Error #383

@Frank9619

Description

@Frank9619

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?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions