Commit 9dbc7268 authored by Rotem Mizrachi-Meidan's avatar Rotem Mizrachi-Meidan Committed by GitHub

Merge pull request #63 from asessa/patch-1

Missing bracket on example
parents 3ed3cfcf cad255d9
...@@ -291,7 +291,7 @@ import {NotificationsAndroid, PendingNotifications} from 'react-native-notificat ...@@ -291,7 +291,7 @@ import {NotificationsAndroid, PendingNotifications} from 'react-native-notificat
PendingNotifications.getInitialNotification() PendingNotifications.getInitialNotification()
.then((notification) => { .then((notification) => {
console.log("Initial notification was:", (notification ? notification.getData() : 'N/A'); console.log("Initial notification was:", (notification ? notification.getData() : 'N/A'));
}) })
.catch((err) => console.error("getInitialNotifiation() failed", err)); .catch((err) => console.error("getInitialNotifiation() failed", err));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment