I try to send a push notification using ionic cloud, but Google now requires a restriction key . I don't know how to get key restriction. Please help me.
相关问题
- Plugin with id 'com.google.gms.google-services
- google-drive can't get push notifications
- How to pass form data from Ionic 3 to PHP file?
- apk big size with ionic 4 build
- Ionic Spinner not showing up
相关文章
- How can I add media attachments to my push notific
- Ionic 4: Hardware Back Button Reloading Applicatio
- How to convert a FCM token to APNS token?
- How to open current activity which is open while c
- Does the apple push notification distribution cert
- How posting One Signal notification's addition
- App not showing Notification receiving FCM when th
- ionic - Copy/paste in input field in iOS 10 not wo
Update: There is now a visible note in the GCM docs saying:
There have been recent changes with regards to the Google Developers Console interface when generating an API Key. Before there used to be a part where you have to select what type it is (Server, Android, iOS, Browser keys). But now, it automatically creates then you can simply select the type of restriction you want, depending on where you'll use the key.
I haven't tried using Ionic before, but I think it's pretty much the same where you'll use the API key (in this case, the Server Key). Simply set the correct server IP Address in the IP address whitelist and try again.
Do keep in mind that adding restrictions are highly encouraged for your security against unauthorized use and quota theft (seen as a warning for API keys with no restrictions).
See my answer here for more details.