Sending notifications through iOS?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- HugoBDesigner
- Party member
- Posts: 403
- Joined: Mon Feb 24, 2014 6:54 pm
- Location: Above the Pocket Dimension
- Contact:
Sending notifications through iOS?
Hey, it's me again, with another iOS request (sorry about that). My boss asked me to implement a system into our app that notifies users of any updates in the server that the app is connected to, but I have no idea how to do that. Not to mention, I would need the app to run in the background constantly while checking for updates in the server (and then send a notification when that happens). Has anyone dealt with this before? Any idea on how I can proceed or where I can read about it? Thanks!
-
- Party member
- Posts: 730
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Sending notifications through iOS?
I think you would have to write native code for this to be done. I would just look at the existing iOS code and see how it is wrapped and etc. Then from there you could hack in notifications(and ads and etc). Also I'm unsure but maybe the app already runs in the background. You could test that by seeing if it responds to a server. (I.e make the app echo and have the server send it random messaged). I'm sure slime would be able to point you in a more specific direction.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Sending notifications through iOS?
I don't know how they do it, but facebook already "sends notifications" when run from chrome on osx. Probably chrome asked me to allow notifications and I said yes.
I must say that I would hate an app to pop up a notification just to let me know that an update is available. These kind of things are supposed to be for "important things for me" - think "your house is on fire"-level. If all the apps I have notified me every time they had an update I would get crazy. I would certainly uninstall your app if it did use notifications for this (or if it didn't have an option to control it, or if the option was set to "show notifications" by default).
I must say that I would hate an app to pop up a notification just to let me know that an update is available. These kind of things are supposed to be for "important things for me" - think "your house is on fire"-level. If all the apps I have notified me every time they had an update I would get crazy. I would certainly uninstall your app if it did use notifications for this (or if it didn't have an option to control it, or if the option was set to "show notifications" by default).
When I write def I mean function.
- HugoBDesigner
- Party member
- Posts: 403
- Joined: Mon Feb 24, 2014 6:54 pm
- Location: Above the Pocket Dimension
- Contact:
Re: Sending notifications through iOS?
Thanks bobby and kikito, that was really helpful!
Unfortunately, though, I was requested to ask yet another question in regards to iOS and LÖVE: how can I implement AdMob into the iOS build of LÖVE? Thanks in advance!
Unfortunately, though, I was requested to ask yet another question in regards to iOS and LÖVE: how can I implement AdMob into the iOS build of LÖVE? Thanks in advance!
-
- Party member
- Posts: 730
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Sending notifications through iOS?
I suspect it is a similar process to how it's done on Android. Just done in iOS native code instead of Java.HugoBDesigner wrote:Thanks bobby and kikito, that was really helpful!
Unfortunately, though, I was requested to ask yet another question in regards to iOS and LÖVE: how can I implement AdMob into the iOS build of LÖVE? Thanks in advance!
Re: Sending notifications through iOS?
what you're looking for are push notifications. they don't need the app running in the background but iirc you need an app store dev license.HugoBDesigner wrote:I would need the app to run in the background constantly while checking for updates in the server
DRAW DRAW - online painting app CLICK NUMBERS - cool game with numbers THEME LOVEFRAMES - a collection of my themes HOST FOR FREE - free hosting for online LOVE games STALK PEOPLE - a map of LOVE users
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 6 guests