Does GCM support notifications over SMS - google-cloud-messaging

I'm working on a project that respond to users by sending SMS for their request.
Right now I use telerivet for forwarding the SMS to my back end.
I want to know whether I can use GCM to send SMS notification.

Just to add to what #Nilesh already said, you can actually check if a certain app would provide SMS services. Simply look into the uses-permissions in its manifest.
As you can see in the required components of the GCM manifest, it does not require SEND_SMS or RECEIVE_SMS permissions, which you would have needed to support sending or receiving SMS, respectively.

Related

WhatsApp messaging webhook does not work in production mode

I am trying to create a connection between our WhatsApp Business account and our website where we gather all messages sent to our business on different channels (through our own app, text, WhatsApp, ...).
I've followed this tutorial (https://developers.facebook.com/docs/whatsapp/cloud-api/get-started) and have everything set up: our WhatsApp Business is working correctly, I've added a Meta App and I've set up the webhooks with a connection to my node.js backend.
When I click Test next to the "Messaging" webhook, I receive the message on my node.js backend and website. So I know this side is working as it should.
I've then used the Graph API to subscribe my Meta app to the messages with the business id of the WhatsApp with the correct permissions. When checking the subscribed apps with the {business_id}/subscribed_apps endpoint, I can see my Meta app. So I believe everything is set up correctly.
My Meta app is also set to "production".
However, when I try to send a message with my personal WhatsApp to my business WhatsApp, I receive nothing on the webhook.
I checked the logs on my server and nothing is being received, so I know it's not an issue in my node.js backend.
Is there something else I need to do to make this work? Does the Meta app need to be verified to use the webhook in production? If so, how can I do this? The guide for verification says I need a platform and login insctructions, but the Meta app is really only a webhook without an interface.
Thanks in advance.

How could the app send a message to the phone when certain mission fulfilled?

I can use FCM console to send messages to all users or certain users at a certain time.
Now I want the app send a message to specified users when their in-game energy is full. How to realize it with FCM? And can I know the messages' sends, opens, conversions?
Sending a message to a user can only be done from a trusted environment, such as the Firebase console, or a place where you can trust that the code running is yours (such as your development machine, a server that you control, or something like Cloud Functions/Cloud Run).
For examples of how to send a message by calling FCM's API, see the documentation on building send requests, and this sample use-case of notifying the user when something interesting happens using Cloud Functions.

TWilio-Forward incoming SMS to emails in Rails5

I wanna forward all incoming messsages from my virtual twilio number to email
I am trying to add a webhook from the phone number settings but I didn't find any option in the Messaging service dropdown.
And after adding this how to handle the controller code to forward sms to email.
I am using twilio-ruby gem and RAILS-5
Twilio developer evangelist here.
A Messaging Service is a:
higher-level “bundling” of messaging functionality around a common set of senders, features, and configuration. The same settings and feature configuration applies to all of the senders (long code numbers, short codes, toll-free numbers, etc.) in the Messaging Service’s pool.
So that is not the setting you are looking for in this case.
To edit the webhook URL, you need to look further down the page. You currently have an ngrok URL set as the webhook when this number receives an incoming message. This is what you should change if you want to update it.
As for receiving the messages in your Rails controller, I recommend reading this blog post on receiving and replying to SMS messages with Rails.

Buildfire: PHP API To send notifications

I am using php api to send push notifications to users using docs provided here
https://sdk.buildfire.com/AWSGatewayPublicAPI/#/push_notifications/post_push_notifications_schedule
Is there a way I can send notification to all devices which has app installed but not logged in?
Thanks,
Chandresh
You don't have access to send a push notification to all devices, the group_id is required.
but you can create a service in your plugin and subscribe the users to your plugin group, this way you can send a PN to all subscribed users.

Sending SMS Without SMS Gateway in IBM Worklight

I want to send Sms on one number every time when the user clicks the button in my application.I don't want to use any Sms Gateway.The Message can be send with the Phone mobile carrier network.I Could not find it any docs.
Can Any body help me with the docs and the sample code.
Help is appreicated.
You can try the following, which is outside of MobileFirst Platform:
Use the sms:// protocol and launch the system messaging application and send it
Use available 3rd party Cordova plugins
This may require to take care of the whitelisting in Cordova to allow it.