From 7b9d6ee2dda2e94676ff0e53340f9510feb81382 Mon Sep 17 00:00:00 2001 From: d4vidi Date: Tue, 29 Nov 2016 16:15:06 +0200 Subject: [PATCH] Fix flaky test --- index.android.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.android.js b/index.android.js index e98936d..4d3bca1 100644 --- a/index.android.js +++ b/index.android.js @@ -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; } -- 2.26.2