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.
1 parent c44e661 commit 2ea381dCopy full SHA for 2ea381d
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