Skip to content

Error registering on OneSignal when app version is not set #30

@jkasten2

Description

@jkasten2

Device shows the following error the when the app version is missing from the plist.

Error registering with OneSignal: Error Domain=OneSignalError Code=400 "(null)" UserInfo={returned=<CFBasicHash 0x7fe9bb679980 [0x108ae5a40]>{type = immutable dict, count = 1, 
entries => 
1 : errors = <CFArray 0x7fe9bb69f3e0 [0x108ae5a40]>{type = immutable, count = 1, values = ( 
0 : <CFString 0x7fe9bb687ef0 [0x108ae5a40]>{contents = "Device type is not a valid device_type. Valid options are: 0 = iOS, 1 = Android, 2 = Amazon, 3 = WindowsPhone(MPNS), 4 = ChromeApp, 5 = ChromeWebsite, 6 = WindowsPhone(WNS), 7 = Safari(APNS), 8 = Firefox, 9 = Mac OSX"} 
)}

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