From 608436067654099b3dbaa91ecab040ddb182daea Mon Sep 17 00:00:00 2001 From: Tal Davidi Date: Tue, 27 Mar 2018 03:12:51 -0400 Subject: [PATCH] [FIX] Syntax error in prior pull request There was an extra parentheses added in the web view which caused the class to fail compilation. --- .../firebase/notifications/RNFirebaseNotificationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java b/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java index 534a73c3..b22cf7b8 100644 --- a/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java +++ b/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java @@ -356,7 +356,7 @@ public class RNFirebaseNotificationManager { if(vibrate != null) { long[] vibrateArray = new long[vibrate.size()]; for (int i = 0; i < vibrate.size(); i++) { - vibrateArray[i] = (vibrate.get(i).longValue(); + vibrateArray[i] = vibrate.get(i).longValue(); } nb = nb.setVibrate(vibrateArray); }