I'm using Sinch for instant messaging in iOS application. I properly receive push notifications that indicates sender of the message. How can I also add part of message body to notifications?
With managed push you can, if you want to add that you need to roll your own push solution that the sdk supports as well. https://www.sinch.com/docs/instant-message/android/#pushnotifications
Related
I have found a way in which push notification works if we use standard objects of salesforce but I want to send push notification to custom objects.
I have two apps and want to send push notification from one app's custom object to another app's custom object.
Please help if there is a way to acheive this.
We have to use third party service like firebase or pushwoosh for this. Standard push notification will not work of salesforce.
we are trying to implement push notification on Android and iOS app, we are using Firebase Cloud Messaging to send push notification to our app.
actually my iOS app can connect to the Firebase Cloud Messaging, If I send the notification through firebase console notification, I can receive the notification in my app
but if the message is sent through our backend server (PHP), I will not receive the notification in my iOS app, but that message will be arrived in our Android App.
we are still trying to figure out the problem, either it is from client side or from server side. but from the backend server, it send a response error
Invalid (legacy) Server-key delivered or Sender is not authorized to
perform request.
but I also have to ensure that the problem doesn't come from my iOS app. but I also have a doubt, because in my debugging area, it show a message
FIRMessaging Remote Notifications proxy enabled, will swizzle remote
notification receiver handlers. If you'd prefer to manually integrate
Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your
Info.plist, and set it to NO.
in info.plist i set the value of FirebaseAppDelegateProxyEnabled to YES
if I set this to NO as per the message from debugging area like above , then I will not receive the push notification, thats why I set that to YES.
To be honest I completely have no idea what the purpose of that FirebaseAppDelegateProxyEnabled
what is the function FirebaseAppDelegateProxyEnabled ?, is that the root cause of the problem on my client side app?
Try use the new api key, not the legacy one. Got the same issue, when I change the key, the push notification is received in iOS client
Make sure both iOS and Android are registered on same Firebase application. In that case, your Server key on Firebase application will be the same for both iOS and Android. I think you are using different keys.
Got my point?
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.
Just wanted to conform if my understanding is correct. As per my understanding, the mechanism involved in delivering the push notification to iOS App is Server -> GCM -> APNS -> iOS App. I am an iOS developer and I know that Apple strictly never allows a server other than APNS server to send a remote notification to iOS App. So, just wanted to know whether the notification is directly pushed to the iOS App from GCM or, via APNS.
Push messages are always sent by APNS.
What services like Google Cloud Messaging or Parse.com do is facilitating the administration of push messages - eg enabling an app to switch pushon or off for an app, or group users so you can send push messages to certain user groups instead of all of them.
GCM is not involved in Push Notification in iOS.
It is carried out through APNS.
Please refer
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html
It will clear all your doubts.
Everything will be clear if you just look at image:
Its showing complete APNS process. This is the process for iOS, no GCM included for iOS.
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