Commit 27696b9a authored by Dmitry's avatar Dmitry Committed by GitHub

Update FirebaseClient.js

fix "YOUR_API_KEY" check
parent e023bf06
...@@ -6,7 +6,7 @@ const API_URL = "https://fcm.googleapis.com/fcm/send"; ...@@ -6,7 +6,7 @@ const API_URL = "https://fcm.googleapis.com/fcm/send";
class FirebaseClient { class FirebaseClient {
async send(body, type) { 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') Alert.alert('Set your API_KEY in app/FirebaseConstants.js')
return; return;
} }
......
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