File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
messaging/integration_test/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 13
13
// limitations under the License.
14
14
15
15
#include < inttypes.h>
16
+ #include < strings.h>
16
17
17
18
#include < algorithm>
18
19
#include < cstdio>
@@ -43,7 +44,7 @@ namespace firebase_testapp_automated {
43
44
// Your Firebase project's Server Key for Cloud Messaging goes here.
44
45
// You can get this from Firebase Console, in your Project settings under Cloud
45
46
// Messaging.
46
- const char kFcmServerKey [] = " REPLACE_WITH_YOUR_SERVER_KEY " ;
47
+ const char kFcmServerKey [] = " AAAAM2ROZHA:APA91bHVTMuAdnIw014jKETAUYiy7qLvIo1zMHGMOszbZyZJaf_cEEd6MF9ad8qwS_DbgjYo36FeELhtTf-dsJCsLt6hurDnbRPIGcxMPtNMNSYC1Krh-KSn9GURceEwEA-sr-i3HTDU " ;
47
48
48
49
const char kRestEndpoint [] = " https://fcm.googleapis.com/fcm/send" ;
49
50
@@ -222,7 +223,7 @@ bool FirebaseMessagingTest::CreateTestMessage(
222
223
// Don't send HTTP requests in stub mode.
223
224
return false ;
224
225
}
225
- if (strcmp (kFcmServerKey , " REPLACE_WITH_YOUR_SERVER_KEY " ) == 0 ) {
226
+ if (strcasecmp (kFcmServerKey , " replace_with_your_server_key " ) == 0 ) {
226
227
LogWarning (
227
228
" Please put your Firebase Cloud Messaging server key in "
228
229
" kFcmServerKey." );
You can’t perform that action at this time.
0 commit comments