Push notification for my text app for iPhone and Android - android

I am building an android and iPhone app that involves sending text messages from within the app. The messages have to be push messages since I want them to be delivered even when the app is not running in the foreground.
I know that there are services like PushWoosh and UrbanAirship that let one push a text message (a nativet text message) to someone's phone. But, I am trying to push message to my own app (rather than the native text app). Can someone recommend me how I can implement this for my app?

You can start with Google Cloud Messaging
Here is a getting started guide.

Related

What was the better method to implement chatbox on mobile nowaday

I was implementing mobile game with my team. And we have argument that push system may not reliable enough. So we should find third party chat message service or open our own chat server instead of relying on silent push notification
But some still belief that using silent push to chat is the standard nowaday and more reliable than implement our own server
The requirement is just to send chat message to active user's chatbox while the app is open
Are there any concern to consider each method?
How about ios and android system setting?
Will our app receive surely recieve silent push if our app still open?
Are there any chat service that software industry used as standard
Try having a look at Firebase it has real time database and an FCM for your chat / push notification needs.

How to send push notifications to android when app is closed

I have a very simple app made with android studio, an web viewer for my forum app. I integrated push notfications to be able to send notifications like "Hi! There are some new subjects on our forum, check it out" and make people open the app. I followed the exact documentation from here https://pushbots.com/developer/docs/android-sdk-integration
I am now able to send notifications to all the users that have my application. My problem is that they dont see the notification unless they have the application opened. For example, if I test it and send a push notification, but i dont have the app opened, i wont receive anything. I want to be able to send notifications even if they have the app closed, that's my point, i want to make them open the app to see the new questions on my forum
What should i do?
Make use of what was formerly known as Google Cloud Messaging and is now known as Firebase Cloud Messaging. Can push messages to user phone even when app is closed

What will be a typical android app push notification implementation?

What will an ideal android app notification server architecture. I am developing an android in ionic. It has a mqtt server that serve chat purpose.
What i want is when my app receive a new message it should show the message as native notification.
What I am confuse is as I already have mqtt server that can do real time messaging, do I really need to use google GCM for sending & receiving notification or I can serve my purpose with my existing configuration.
In my existing app I directly calling mqqt server from my android app for chatting purpose, so can it be same for notification also i.e. send a push notification directly from app just as a chat message.
Can anyone brief me about a push notification architecture implementation ?
Conceptually this should all work fine with just MQTT, no need for GCM.
The problem may be your use of cordova/ionic. It's been a long time since I looked at MQTT support in cordova, but to do push notifications properly you will need to run the MQTT client in a Android Service so it will stay running in the background and have it create notifications in response to received messages.
If the cordova MQTT support will not allow background services you will need to write your own extension.

How to create app to allow posts to message board with push notifications?

I'm working on an Android app that will allow users to post to a message board, and that post send out to all users with the app and push notifications enabled.
I'm a competent programmer, so searching and implementing code isn't the problem. I'm just very new to Android app development, and I'm getting hung up on the messaging aspect of it.
Is it easier to use an API of a message board, or is there some hidden code I'm missing that allows messages to be sent out as push notifications.

Receiving push notification with a new page - Hybrid Mobile App

I have developed an mobile app with push notification using IBM Worklight 6.1. I am mainly concentrating on Android and IOS. I can able to send and receive the push notification even when the app is closed. After receiving the push notification, when i am opening it, the app launching with the default page. Now my question is Is there a way to launch a particular page when opening the received push notification using hybrid way?
Yes, it is possible for you to "change page" based on the received notification.
I describe one possible implementation to do so in my answer, here: https://stackoverflow.com/a/25604731/1530814
You should review it and alter it for your needs.

Categories

Resources