Cordova-Plugin-FCM error: invalid API key

I use cordova-plugin-fcm. I follow the installation instructions:

>Install the plugin
>Add google-services.json to My root folder

I want to test through their test server, but I get an error:

ERROR: invalid api key

The key I inserted is the key in the google-service.json file in the entry:

"api_key": [{"current_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }]

How do I perform the test correctly?

When using FCM, you should always use the server shown in the Cloud Messaging tab in Firebase Console Key.

I use cordova-plugin-fcm. I follow the installation instructions:

>Install the plugin
>Change google-services. Add json to my root folder

I want to test through their testing server, but I get an error:

ERROR: invalid api key 

The key I inserted is the key in the google-service.json file in the entry:

"api_key": [{"current_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}]

How do I perform the test correctly?

When using FCM, you should always use the server key displayed in the Cloud Messaging tab in the Firebase Console.

p>

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3766 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.