Unable to receive parse.com notification with API - ios

In my iOS app I'm using parse.com as framework to send push notification. On server side we are using the parse.com rest API to generate a notification.
When I generate the notification by using this: https://www.parse.com/apps/(appName)/push_notifications/new the device receive the notification, but when I try to generate the notification by using the custom solution on my server the device doesn't receive any notification.
I looked on this page: https://www.parse.com/apps/(appName)/push_notifications and I saw the notification from API worked like the notification I ended from the parse service.
Why it doesn't work when I create the notification by my custom server?
Can you help me?
Thank you

Related

How to customize firebase push notification message on IOS client

I have built push notification triggered by Firebase database change. Everything is working fine. However, I want to customize message on client side.
Is there any way to customize Firebase push notification message on the app programming?

Automatically open app when receive push notification for FCM (Flutter)

I'm trying to make the app open automatically when it receive the push notification, i am using Firebase Cloud Messaging and i've already read here about the same problem but i don't quite understand on how to use it for flutter
It's not possible to automatically launch the app once a notification has been received from Firebase Cloud Messaging. As mentioned in the docs, payloads received while the app is in the background can only be handled when the user taps on the notification.

Sending all users push notification in ios

I want to send push notification to all users who is installed my iOS app. Can you tell me the best and easy process for this?I want to send push without storing or using any specific device token. It will work for all users. I'm using FCM for this but for user segment i don't get push notification. For single device by given fcm token it's working fine.
If you want to send push notification manually to everyone who has your app installed already you should use Firebase cloud messaging.
You can read more here: https://firebase.google.com.
If you find this answer useful/correct, please mark it as correct.

Scheduled Notifications with Firebase and background running

I want my Firebase to send scheduled push notifications to all the users of my application and if the app is in the background; run some code and send some stuff to the server.
I'm a bit lost because it's impossible to do so with the notification console from Firebase.
Then, I was interested in Firebase Cloud Messaging, but in the documentation, it says that the connection to FCM should be ended :
When your app goes into the background, disconnect from FCM
-Source
What can I do? Should I take a look at services like Parse? Any help is greatly appreciated.
Notification messages don't execute your application code when your app is in the background. All messages sent from the Firebase console are Notification messages. So you can't currently use the Firebase console for what you are describing.
However you can send Data messages from your app server which can trigger background execution of code. You will have to manage the scheduling yourself on your app server.
I solved my problem building a server where the user register his token (unique identifier) to a database. There is also a PHP script for sending push notifications. You can find all of this here.
I edited the PHP script to send a payload which contains :
["content-available"] = "1"
This payload will trigger what you want to do when your app is in the background.
I used a crontab on my server to regularly send push notifications.
The notification console from Firebase can send push notification but not silent push notification that we want in my case.

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