Skip to content

OverflowException on Android 4.x & 5.x #57

@amjaliks

Description

@amjaliks

When the game receives a notification with an emoji OverflowException is thrown. The game doesn't crash, but this exception is reported to Unity Performance Reporting service.

OverflowException: Value is greater than Char.MaxValue or less than Char.MinValue

System.Convert.ToChar (Int32 value)
OneSignalPush.MiniJSON.Json+Parser.EatWhitespace ()
OneSignalPush.MiniJSON.Json+Parser.get_NextToken ()
OneSignalPush.MiniJSON.Json+Parser.Parse (System.String jsonString)
OneSignal.onPushNotificationOpened (System.String jsonString)

Affected SDK versions: 2.2.x, 2.3.x including 2.3.3.
Android versions: 4.x and 5.x – there are no reports from 6.x or newer.

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