From 27696b9ab259caf7199e45f3a1c26b7ff3202df6 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 17 Apr 2018 14:57:00 +0300 Subject: [PATCH] Update FirebaseClient.js fix "YOUR_API_KEY" check --- Examples/simple-fcm-client/app/FirebaseClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/simple-fcm-client/app/FirebaseClient.js b/Examples/simple-fcm-client/app/FirebaseClient.js index 7f96e2e..5f4e329 100644 --- a/Examples/simple-fcm-client/app/FirebaseClient.js +++ b/Examples/simple-fcm-client/app/FirebaseClient.js @@ -6,7 +6,7 @@ const API_URL = "https://fcm.googleapis.com/fcm/send"; class FirebaseClient { async send(body, type) { - if(FirebaseClient.KEY === 'YOUR_API_KEY'){ + if(FirebaseConstants.KEY === 'YOUR_API_KEY'){ Alert.alert('Set your API_KEY in app/FirebaseConstants.js') return; } -- 2.26.2