Commit e00b2577 authored by Libin Lu's avatar Libin Lu Committed by GitHub

Merge pull request #902 from Dimon70007/patch-1

Update FirebaseClient.js
parents e023bf06 27696b9a
...@@ -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