I have written a web app in PHP which is an MVP for a product I am launching. Uptake is good and I have active users.
I notify users of certain events right now by integrating with Twilio and sending them an SMS when activity happens on their account.
I would like to release an iOS companion app so that I could notify them via native push message as Twilio SMS costs are decreasing the viability of my product and I do not want increase the monthly price.
I have researched various third party tools such as Pusher, Pushover and Onesignal but none of them seem to fit my need, as far as I can tell.
How could I trigger a custom push notification to an iOS user using my iOS companion app? Ideally I would swap out the Twilio api call and insert something else that called the push message.
Related
I am writing the PHP back-end API for an Android application. The Android sends me purchase token, product name, etc and then I make this call : Purchases.products
I then acknowledge the purchase using : Purchases.products: acknowledge
Then after successfully processing the transaction on PHP API side, I would need to change the 'consumptionState' of the transaction on Google Play side to indicate that this (consumable) product has been been consumed. But nowhere can I find any example of the call needed to change the 'consumptionState'. I use google/apiclient package for the interaction with Google Play.
Can someone point me in the right direction with regards to changing 'consumptionState' for a Google Play Billing purchase?
I am creating an web app and a user can start a game with multiple players (your friends). This game is played on 1 device. Is it possible that all invited players get a notification on their device where they can accept or decline the invitation ?
So in steps
Player 1 creates a game and invites player 2 and 3
Player 2 receives a notification on his mobile device and presses accept, he is added as player of that game
Player 3 doesn't have a device and enters his PIN to accept his participation.
The step that I want to have is step2.
I have read about OneSignal who can send push notifications to specific users, but I could not find if you can send a response back (accept or decline). Or is there an other way (without to have a native app).
your question is understood but at this moment a little too broad. But. I will try to answer in concept also :)
Now...you said you already know how to send target specific notification with OneSignal.
What you need to do from now one it cloud be like this:
Attach a link or click or action to that invite. Or when such invite
arrived open a particular view in the app/web/application that you are developing and revives the link.
Attach the session/game/user/object ID to that link and send the call
to you API (which is based on your server). If you have an API, if you don't you can have a very simple API build to handle only such requests with URL xxxx.com/path/to/api/call/var1/var2/var3/etc
From there you can catch the request and reply or adapt accordingly on your server side.
Maybe this Framework can help you to speed up the API dev in PHP. Lumen can do that trick.
You can follow this tutorial here for a fast API development with it.
i have integrated the notification system for web to android and Apple.
but now i have to integrate the notification system for web application part .
For ex.
currently i am working on restaurant project.
Now When customer Order From his / her mobile application on that time i have to show his/her order in Kitchen department . for that i have to Run ajax From kitchen department module to check that customer is ordered anything.
but the problem is when we run ajax every single minute then it will affect the server. because most of the server are not compatible ( for handling so many ajax request. ).
so i thought can we integrate the concept as same as push notification service for android and ios.
or anything else (different concept) for this one. please suggest a new idea.
i thought many option but at last time it will reach to the solution ajax request
I am creating a website as well as ios App. I implemented paypal and creadit card payment with it. Current scenario is when user open ios app and came at the point to purchase something. He'll select option either paypal or credit card. On selection of any option,respective window will open in web browser. After that user will input his credential for paypal/credit card. It will process input and generate some output like success response, failure response.
My problem is how to show or send that response message to ios app from web browser.
Push notification can be used for this but don't know how to implement it.
you can store the transaction result in the database (on the web server) and create a simple API that will enable your app to make a call to the web server, and get a response like "paid / not paid"
I've recently made a food ecommerce based website in PHP. I've included online ordering and I'll be manually attending to orders instantly. So I need to receive a notification on one or more mobiles/emails/any other way so that one of us can instantly confirm and deliver the order. How should I go about it? What gateways are present for this kind of job? I'm willing to shell out a certain amount of money for such a service.
Thanks!!
You can use this service
http://html.mobily.ws/English/Solutions/Developers/PHPSMS.html
Example included.. It will cost you 15$ for 500 SMS.
Here are a few paid SMS APIs:
Nexmo
Twilio
Tropo
Pricing for all is from 1 cent to 2 cents per message. Nexmo (as far as I know), is the only SMS provider to publish quality of delivery rates, so you can see how well messages are delivered to the specific networks you'll be using (DLR rate is the important rate).
Here are a few paid email APIs:
SendGrid
Postmark
Mailgun
All three allow both sending and * receiving* email through the API (similar to how the above SMS APIs work), meaning you could easily support email and SMS side by side. Also, parsing incoming email is painful to do manually, so if you're considering allowing a reply to take some action on the order, that will make it easy.
Pricing for all varies, but it's pretty inexpensive across the board.
Disclaimer, I do developer evangelism part time at Nexmo.