Commit 7b9d6ee2 authored by d4vidi's avatar d4vidi

Fix flaky test

parent f2f3221d
......@@ -46,7 +46,7 @@ export class NotificationsAndroid {
}
static localNotification(notification: Object) {
const id = Date.now() | 0; // Bitwise-OR forces value onto a 32bit limit
const id = Math.random() * 100000000 | 0; // Bitwise-OR forces value onto a 32bit limit
RNNotifications.postLocalNotification(notification, id);
return id;
}
......
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