We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c44e661 + 2ea381d commit 25908c2Copy full SHA for 25908c2
src/local-notifications.ios.ts
@@ -138,7 +138,7 @@ export class LocalNotificationsImpl extends LocalNotificationsCommon implements
138
139
const userInfoDict = new NSMutableDictionary({capacity: 2});
140
userInfoDict.setObjectForKey(options.forceShowWhenInForeground, "forceShowWhenInForeground");
141
- userInfoDict.setObjectForKey(options.priority, "priority");
+ userInfoDict.setObjectForKey(options.priority || 0, "priority");
142
content.userInfo = userInfoDict;
143
144
// Notification trigger and repeat
0 commit comments