Skip to content

[Bug]: iOS object variable not set as soon it hits OneSignal when using Hot Restart #67

Description

@gabsamples6

What happened?

  1. Launch the app
  2. when OneSignal.Debug.LogLevel = LogLevel.VERBOSE; is hit
  3. Get System.NullReferenceException: Object reference not set to an instance of an object.
    at OneSignalSDK.DotNet.iOS.iOSDebugManager.set_LogLevel(LogLevel value)

on any OneSignal call I get the above

Steps to reproduce?

1. Launch the app 
2. when     OneSignal.Debug.LogLevel = LogLevel.VERBOSE; is hit
3. Get  System.NullReferenceException: Object reference not set to an instance of an object.
   at OneSignalSDK.DotNet.iOS.iOSDebugManager.set_LogLevel(LogLevel value)

on any OneSignal call I get the above

What did you expect to happen?

Run the app so that I can initialize onesignal and send notification

Any suggestions

Relevant log output

System.NullReferenceException: Object reference not set to an instance of an object.
   at OneSignalSDK.DotNet.iOS.iOSDebugManager.set_LogLevel(LogLevel value)

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions