mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-04 04:13:49 +01:00
REF: processing push notifications
This commit is contained in:
parent
f28a100a80
commit
e26ca8372d
1 changed files with 0 additions and 1 deletions
1
App.js
1
App.js
|
@ -70,7 +70,6 @@ const App = () => {
|
||||||
const payload = Object.assign({}, notification, notification.data);
|
const payload = Object.assign({}, notification, notification.data);
|
||||||
if (notification.data && notification.data.data) Object.assign(payload, notification.data.data);
|
if (notification.data && notification.data.data) Object.assign(payload, notification.data.data);
|
||||||
payload.foreground = true;
|
payload.foreground = true;
|
||||||
payload.userInteraction = false;
|
|
||||||
|
|
||||||
await Notifications.addNotification(payload);
|
await Notifications.addNotification(payload);
|
||||||
// if user is staring at the app when he receives the notification we process it instantly
|
// if user is staring at the app when he receives the notification we process it instantly
|
||||||
|
|
Loading…
Add table
Reference in a new issue