Nearby Messages API - google-nearby

I added data to eddystone beacons using Proximity Beacon. Using Nearby API, I subscribed for BLE_ONLY but I am not able to receive messages from beacons onFound() method is not getting triggered

Related

Using Whatsapp Business API number in API and in app

I've recently been trying to get all messages sent and received by a Whatsapp Business account. At the moment im using the MessageBird API in order to do this, but as soon as I add the phone number in Facebook Whatsapp Manager im not able to use the number on the Whatsapp Business App. (Phonenumber is invalid)
What am I doing wrong? All I want to do is:
Use the phonenumber in the WA Business App to send and receive messages.
Use the phonenumber in the MessageBird API to get a list of conversations and all messages sent and received in this conversation.
Unfortunately, this is not possible. Once the number is registered with WhatsApp Business API it cannot be used with the Consumer or SMB App.
https://developers.facebook.com/docs/whatsapp/guides/phone-number#pick-number

Using pubnub in flutter, how to initiate a chat?

I have a chat app and I am stuck while initiating the chat. According to pubnub, anytime I message to a new channel "A", that channel is created. My problem is that I want to subscribe to that channel and show the message but I cannot subscribe before the channel is created.
"Creating" PubNub Channels
Channels are not really "created", channels are just string tokens for routing messages. So there is no notion of creating a channel in PubNub (not officially, anyway).
The phrase "create a channel" is more of a concept than a real thing in PubNub. Within your app, creating a channel (a chat room) is a real thing. So you can subscribe to a channel that hasn't yet been "created".
So when your app "creates" a channel (starts a new chat room), your participating clients can subscribe to the channel and messages can be published later.
Or, clients can subscribe after messages are published and use fetchMessages to get any messages that were sent before the client subscribed.

Sensu, Google Chat Handler for Multi Chat Rooms

Is there any google chat module to send alerts via sensu's google chat handler to more than one room (chat room)?
Ex: As like in Slack we have multi-slack-handler.rb handler is there to trigger alerts on multiple channels via subscriptions which we defined./
Is this same kind of thing Possible with google chat??
In my case, I have created two channels in Sensu (sensu-core open source edition) but I am getting alerts in only one channel after few minutes I am getting alerts on another channel as well but it sends alerts in only one channel at a time. How can we get alerts in all the channels on sensu with google hangout handler?
I think you should check this module: https://github.com/anandtripathi5/google-chat-handler. It is a simple handler which you can add to your logger and configure the level of chat as required. Adding it multiple times with different Gchat room webhooks will push logs to multiple Gchat rooms simultaneously.

Filtering Apple Push Notification

I got APNS working perfectly, after many issues with SSL.
Now, I was wondering how I can filter the notifications sent to the devices.
I have to do it server-side, or client-side (app) ?
For example, a Soccer app that sends the latest game scores to the registered devices.
By default, my device shows all notifications sent by APNS (all scores).
What if I want to receive only Real Madrid scores, because I'm a Real Madrid fan?
I keep APNS sending all scores, and I implement the filter in client, or I have to filter in the server side, sending specific payloads to specific devices?
Definitely the server side. Apple specifically state that sending large numbers of notifications to devices that don't want to receive them (either not relevant, or push not enabled etc) - is a bad practice.
Not to mention - if your volume picks up in terms of userbase, you don't want to flatline your link.

SMS to iPhone app - Google Maps

is there a way to have a Map/GPS app hook into the iPhones SMS reader so that it can parse the message and map to that area?
Specifically I'm thinking of a situation where I'm looking for someone's house and they text me their address. I would (from the SMS) be able to say "Map This" and that would send the text to the GPS app and get directions from where I am to that location.
Obviously there would be some error handling for situations like misspellings, locale names ("Burger King", "Hell"), and city/state guesses, but much of this is already handled by Google Maps.
Mostly I'm wondering how to tie the App to the SMS without having to copy/paste.
The public SDK doesn't provide an SMS API, so you cannot hook into the SMS messages. If you are building a location sharing app, you might consider having your own messaging transport layer using the Push Notification functionality.