You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no null checking when creating the dictionary in the deviceProperties method.
Problem
On the Apple developer portal, if you set "data protection" to "complete" for your App ID, and then call this method while your device is locked (e.g., in response to a push notification) some of the properties will be null and result in a crash.
What is expected to happen?
Null properties should not be inserted in to the dictionary, and the App should not crash.
What does actually happen?
The App crashes in the background every time.
Information
An easy way to reproduce this is to turn off your device, then turn it on, but do not enter your passcode to unlock the device. With your device in this state, send a push notification to your app that calls the deviceProperties method.
Command or Code
Environment, Platform, Device
This was first noticed on iOS 13
Version information
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
The text was updated successfully, but these errors were encountered:
Bug Report
There is no null checking when creating the dictionary in the deviceProperties method.
Problem
On the Apple developer portal, if you set "data protection" to "complete" for your App ID, and then call this method while your device is locked (e.g., in response to a push notification) some of the properties will be null and result in a crash.
What is expected to happen?
Null properties should not be inserted in to the dictionary, and the App should not crash.
What does actually happen?
The App crashes in the background every time.
Information
An easy way to reproduce this is to turn off your device, then turn it on, but do not enter your passcode to unlock the device. With your device in this state, send a push notification to your app that calls the deviceProperties method.
Command or Code
Environment, Platform, Device
This was first noticed on iOS 13
Version information
Checklist
The text was updated successfully, but these errors were encountered: