Commit 04b688ea authored by diegolmello's avatar diegolmello

Fix iOS notification tap

parent a9bc7955
......@@ -25,12 +25,13 @@ class PushNotification {
NotificationsIOS.setBadgesCount(count);
}
configure(params) {
async configure(params) {
this.onRegister = params.onRegister;
this.onNotification = params.onNotification;
const initial = await NotificationsIOS.getInitialNotification();
NotificationsIOS.consumeBackgroundQueue();
return Promise.resolve();
return Promise.resolve(initial);
}
}
export default new PushNotification();
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