add notificationId to logging
This commit is contained in:
parent
fac0767d5d
commit
0d14a5e3b3
|
@ -91,11 +91,17 @@ export default class Notifications extends ModuleBase {
|
|||
(notification: NativeNotification) => {
|
||||
const rnNotification = new Notification(notification);
|
||||
const done = Platform.select({
|
||||
ios: (fetchResult: string) =>
|
||||
ios: (fetchResult: string) => {
|
||||
getLogger(this).debug(
|
||||
`Completion handler called for notificationId=${
|
||||
rnNotification.notificationId
|
||||
}`
|
||||
);
|
||||
getNativeModule(this).complete(
|
||||
rnNotification.notificationId,
|
||||
fetchResult
|
||||
),
|
||||
);
|
||||
},
|
||||
android: () => {},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue