Apple VOIP Push notification server - ios

So, i'm developing a IOS VOIP app, and find out that i need to use a Push notification server to make my app work on background to receive incoming calls and etc.
I searched and dont find anything about how can i set-up, develop, use, find about, a push notification server/gateway
I found some server who are paid and dont help me on anything, because i can't pay it right now.
I'm sorry to write a question entirely of text, with no code, but there's no code to use right now.
Yes i read the documentation, and articles, and etc, but they just talk about "Setup your server and send a push to apns", nothing useful about what i should use or how can i set-up a server.
Here's what i already found about it:
Mizu VOIP push gateway
How to create a native iOS app that can receive VoIP push notifications
Session Talk push gateway
Mizu VOIP Push notifications
Push notifications docs
In case doesn't exist a non-paid alternative to a push notification server/gateway, is there a workaround to this problem with the newest IOS changes? (I found something like a workaround said by the Zoiper team here)
Thanks in advance!
[EDIT]
The solution was using the Flexisip proxy server.

Related

Swift remote push notifications, how do I actually trigger them to be sent?

I am currently working on developing an app in swift 5, Xcode 11, and I am getting towards the end of the initial development. Right now, I am attempting to integrate Remote Push Notifications into the app. I have followed a lot of tutorials online and it works in the sense that I can send the remote notifications through the "Pusher" app, but this is only for testing purposes. I can't seem to find anything about how to actually trigger the notifications through the code, so that, for example, if a user were to receive a message in the app, they would get a push notification. I am not sure if I am just completely missing something, but if anyone can explain to me what exactly I am skimming over in simple terms, I would greatly appreciate it. Thank you.
When we talk about "remote notifications", it means that we have a server that sends us these notifications. As I understand, you want to just show in-app banner that looks like notification. You have 2 options:
Follow these instructions and schedule notifications locally
Use some sort of third party library (e.g. SwiftEntryKit) to create customized in-app notifications.

APN push notifications for chat

I'm trying to add notifications to a private chat app that uses Firebase, unfortunately Firebase has an APN service but it must be configured and needs also a server app to manage it. I'd like to have the user notified when someone is texting him while the app is in the background. The problem is that APN (Apple Push Notifications) requires a server with a certificate and that is ok with me, but I'm looking for a way to send push notifications from an iOS device to another device, I mean device-to-device push notifications and the server has just to relay the messages as they are. In my case the APN server should only relay the messages that it receives from a source device to the destination device. I couldn't find a way to obtain that without writing sever code. I want to use pre-built existing services. Has anybody any idea on how to send push notifications from one device to another without configuring and writing server apps? I tried a workaround using the background fetch iOS feature, but the system si randomly giving my app execution time... and that means that my app could wait hours before being started by the system... so that is not a viable solution. Please help
Ok, probably what I found out could be helpful for others. Actually
what I'm looking for can be directly integrated in the app. You need a library like NWPusher (free on GitHub) which can be imported, and with just a few lines of code and the APN device token you get from the system, it is possibile to implement APN notifications... easily, but most importantly... for free.
UPDATE
Check also APNS framework on GitHub. It's written in Swift 3.0 and it supports the latest features.
You are essentially looking for a messaging / chat API to handle device-to-device communication. You might want to try Pusher or PubNub

Send push notifications to Apple devices without connecting to APNS

I know this question can sound a bit strange, but I want to ask this anyway (feel free to downvote): is it possible to send push notifications to an iOS device without connecting to an Apple server? My idea is to send a push from my private server, not Apple's. Is this possible?
Info from developer.apple.com
Remote notifications—also known as push notifications—arrive from
outside a device or a Mac. They originate on a remote server—the app’s
provider—and are pushed to apps on devices (via the Apple Push
Notification service) when there are messages to see or data to
download.
There is no way to do it without using Apple Push Notification System (apns).
Well, the general answer would be - no.
It is not possible due to Apple's restrictions.
There may be different providers to an APN, but as the documentation suggests, there has to be a direct connection to an APN.
For more informations, please check out Apple's Documentation on Apple Push Notification Service.
However, I found this post where a user suggests using a service called Urban Airship - I have not tried this myself, so I don't know if and how it would work, but you may check it out :)

Native Push notification for iOs

I just want to ask if anyone of you know if there is a native push notification code for iOs without using third party libraries (parse, etc.)
yes you can implement push notification using APNS server. You don't need 3ld party services like as parse.
If you want to send notification more then one devices then you have to write Php/Python script and pass your device token into server and save it in database.
For more detail about push notification check this link
I would suggest going through Apple Push Notification Services in iOS 6 Tutorial: Part 1/2 on raywenderlich.com
I did not implement iOS push notifications before, but I will in the near future and this is one of first sources I am going to look into.
Please share how did it go and if you had any issues. Comments below that tutorial could be also very useful.
Thanks,
J

Apple push notification Vs. Parse

i have an app and i'm thinking about implementing push notifications in it. however, i want to use remote notifications. i've tried Parse's push notification service and it's great and works well. You can type any text you want to inform your users about and just press send in order to be delivered to all your App users. On the other hand, i don't know if Apple has any such service that can facilitate the process of sending remote notifications. so which is better to stick to, Apple or Parse? and can i have the same service as Parse from Apple?
Yes, you can get the same services as Parse. You have to build your own server that will talk with Apple APNS. Just for example sending a push notification from your own server without using parse is here.
I didn't understand what are you trying to ask.
You can use Apple push notification service for sending remote content. With Any content related to your App.
Check RemoteNotifications for details. Parse is also using the Apple's push notification service.
Edit: For implementing your own servers for push notification check this tutorial : Push Notification Services

Resources