Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am using Parse.com as a backend for my iOS app. And in this app users can favorite items. Which is then saved to Parse. I want to write some script, that will check what users have favorited a certain item, and if they have favorited a certain item to send them a push notification. And I would need this to run everyday. And I am wondering what language or type of code would be best for this. If I should use cloud code, or parse says they have a Javascript SDK.
I am new to use push notifications, so I apologize if this does not make much sense.
Thanks a bunch for your help in advance.
So first of all, to enable Push notifications for your app, you're going to have to follow these steps:
https://parse.com/tutorials/ios-push-notifications
This tutorial gets you all set up with parse push notifications in your app, but that doesn't answer your question. To answer your question, you probably want a cloud code script that runs every day and creates a PFQuery based on your stored items that you have, and based on if a user has favorited an item create a PFPush instance for that User's installation. You can then create a directed push to that user. I have personally never used Cloud code for push (only client side), but this should work. Since Cloud Code is just javascript, you can create a scheduling type event in cloud code and run your push from there.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
currently twilio.com offers a service where you can send messages and pictures through a phone number, I want to know is there any API or service that I can use to send my stored user data to their cell phone without making them install the app, I am not trying to Create a separate admin feature.
I don't want to create an admin feature,I want to see if I can send data to user phone-number without making them install the app.
There is no way to send push notifications to a phone that doesn't have your application installed. That would be way to much of a spamming machine. Essentially by installing your app, the user is taking the first step to opting in to your push notifications.
If you don't want to develop a native app, but are willing to send your user to a web page you create, you can consider implementing web-based push notifications. In that case you're using a web app, instead of a native app.
The only way to send messages to a phone without an app installed is through SMS/MMS.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to make a turn based application. Such that users involved will perform some operation and when their turn is over then next user should get notification.
Now I will be showing standard message like "It's your turn". So, how can I trigger this notification from my device and pops up notification saved "locally".
I did some research and came across various options like Firebase cloud messaging, Firebase push notifications. But for Firebase push notifications, we need one extra server. Will I have to deploy server just for that?
And Can I use FCM for this?
Any help or references would be appreciated.
I don't know whether you are using any database for this (online) turn based application. It would be easy for you to trigger firebase notifications using firebase cloud functions. Check this link
You can create a value in database suppose turn and update the value in database depending which user's turn. Every time using cloud functions onUpdate you can trigger and send notification to the user. in order to send notification to a particular user you have to save their token in your database.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am creating an app where a I want a user notified in app whenever anyone they are following posts a picture. So lets say user A follows user B, when user B posts a picture it appears in realtime on user A's screen. My question is: Is this kind of thing done using push notifications? As in make a request to get the image when notification is received or is it better to be using sockets or queues?
This is one of the most common use cases for push notifications. Your iOS app asks the user for permission to send notifications, and then registers with Apple to receive push notifications. Apple provides a "token" that is a unique identifier for that notification subscription, which your app will then need to send to your server. When it is time to notify the user about a new photo, or whatever, your server uses Apple's APNS services to send the notification, using the token to identify the recipient.
So, the app and the server use multiple Apple-provided APIs to create the communication channel, and then you are free to add whatever logic you want to determine the timing and content of the notifications.
Before trying to implement anything, I'd suggest reading through the entirety of the Apple's Remote Notifications Programming Guide to a solid understanding of how all the pieces of this technology fit together.
Are there other technologies you could use? Maybe. For iOS apps, Firebase is essentially a more platform-independent wrapper that is built on top of the Apple notification system described above; under the hood, it is still using APNS and requires some of the same initial steps to configure your app. Socket-type technologies could be ok for limited use cases but aren't the correct approach for general purpose notification delivery, due to restrictions with running the app in the background (among other reasons).
For realtime actions like that you may use google's firebase
also you may use push notifications to send the model which may contain a url of the image and when received load the image and display it,Also same functionality can be accomplished with socketIO
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I created an iPhone app that is a guide for a local event. The app also shows the schedule of the event. I am using Firebase to retrieve the latest version of the schedule as text and display it in a table view. I am done with the app! I will submit it to the App Store in a few days, but I wanted to know:
(1) if Apple will have any problems or reject my app because I am using Firebase?
(2) If there's any special code I should add to my app in the Firebase code to make it secure?
PS: I set my Firebase rules so that it's read only. This is my first app and I would be really grateful to hear your answers
Best,
A
Using firebase is perfectly fine, just make sure that if your app needs a log in to have a test user for Appstore Review. And put the username and password in the box for test account when you submit. Put some demo data in it to let them know how the app feels to end users.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
It's just brought to my attention today the guys at www.webuyapp.com which they claim to develop a patent-able algorithm to obtain location using push notification system even if the app is closed.
Personally I don't think it's possible as they claim:
http://www.webuyapp.com/?page_id=29
How does it look on the customer side? All he has to do is download
WeBuy’s app. Once he has the app installed, we know at all times where
he is without draining his battery - via patentable algorithm we have
created. We know at all times what discounts surround him. Via complex
data mining, we know what our customer (personally) likes, and when we
feel we have a value proposition for him, we reach out and update him
via push notification. The push notification system itself has a
complexed data mining system which learns the users’ behavior to the
push and decides whether it’s a good idea to send a push or not.
Is there any real patent for obtaining location in background when app is closed using apple push notification?
Hmm, the push notification is not used to obtain the location, it sounds like. CoreLocation allows you to keep monitoring the user's location even when the app in in the background. And with that data they are able to use their algorithm to make all of those decisions.