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
exportinterfaceApnsPayload{/** * The `aps` dictionary to be included in the message. */aps: Aps;[customData: string]: object;}
However, that prevents from passing string values as custom data.
Note that according to Apple
Your custom keys must have values with primitive types, such as dictionary, array, string, number, or Boolean. Custom keys are available in the userInfo dictionary of the UNNotificationContent object delivered to your app.
So I think the correct types should be something like either:
ApnsPayload
is typed as:However, that prevents from passing string values as custom data.
Note that according to Apple
So I think the correct types should be something like either:
or
The text was updated successfully, but these errors were encountered: