apple-push-notifications

how to properly send push notifications

亡梦爱人 提交于 2019-12-12 23:33:24
问题 This is not my first app sending push notifications but it is my first app where I send a notification to all my users at the same time. What Im experiencing is that not all my users receive the notification, only some of them, even though they have the settings correct(ie notifications for my app enabled), also the code is correct since it is sent to some of them, so my guess is that the code "misses" some executions, since the conection with the APNS is asyncronous so somehow( you tell me

APNs messages are delivered but not received on iOS device

China☆狼群 提交于 2019-12-12 22:16:17
问题 I have set up a forwarding / dispatch service which holds an open connection to the APNs as stated / recommended by Apple to prevent DoS detection and the certificate is working... I am connected successfully and messages are sent successfully, but messages are not received on the iOS device (iPhone)... (?!?) The number of bytes sent are equal to the number (of bytes) fwrite returns. Finally, the messages might contain country specific characters. How the the APNs handle that? and how should

IOS remote silent notification is not working during phone calls / network fluctuation

血红的双手。 提交于 2019-12-12 19:18:05
问题 I am developing the iOS application where I am doing the background work. I am awaking the app by sending the silent notification. The code is working fine most of the time. The issue is during the phone call app is not awaking, even during the low network connectivity or during network fluctuation app is not awaking. I am doing the following things: 1: Enabled 2 background mode i) Background fetch. ii)Remote notification. 2: Sending notification as: { aps: { content-available: 1, sound: ""

create p12 certificate in windows for apple push notification

心不动则不痛 提交于 2019-12-12 18:28:09
问题 I'm doing push notification (server side) for iPhone in c#. I have "developer_Push_SSL_certi.cer" file. How can i create .p12 certificate from .cer file? or i have to install the above .cer file in my PC? what is the required file to send push notifications in server side(c#). Please guide me guys, what is the certification process required for APN (server side) in windows. 回答1: First install this new certificate (developer_Push_SSL_certi.cer) to your Mac. Then open KeyChain Access and

generate push notification ssl certificate and provision using new apple panel for development?

五迷三道 提交于 2019-12-12 18:23:46
问题 using this link i try to make push notification apps . but, this used old apple panel for generate ssl and provision certificate. any one generate ssl and provision using new apple panel? below step for generate ck.pem 1) $ openssl x509 -in aps_developer_identity.cer -inform der -out PushChatCert.pem 2) $ openssl pkcs12 -nocerts -out PushChatKey.pem -in PushChatKey.p12 Enter Import Password: MAC verified OK Enter PEM pass phrase: Verifying - Enter PEM pass phrase: 3) $ cat PushChatCert.pem

XMPP push notifications causing problems (delay + duplications) in messages

拈花ヽ惹草 提交于 2019-12-12 17:23:11
问题 XMPP push notifications causing problems (delay + duplications) in messages. I have successfully created a chat application using XMPP + Ejabberd. Without Push Notifications: Both single and group chat messages are working perfectly. With Push Notifications: Sometimes everything works perfectly.Notifications are triggered and messages are received with out any delay or duplications. Sometimes no notifications are triggered (while app in background) but messages are received perfectly.

Updating a delivered notifications ios 10

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 16:31:23
问题 I am trying to update an already delivered notification on iOS 10 which is a new feature. I am using an api call to send a push notification through firebase. If a comes online notification should be "a is online" If b also comes online notification's message should be updated to "a and b are online" If c also comes online notification's message should be updated to "a,b and c are online" and so on.. I have used answer from this question How can I removed previously delivered notifications

What type of certificate do you need in iOS?

最后都变了- 提交于 2019-12-12 12:05:26
问题 I am new in iOS development & I have couple of common questions about the certification of developer.apple . I want to create a certificate for my MAC (from where I will develop my applications using xcode 5 ) from my newly created developer.apple account. I followed some of tutorials about it, but all of them are in OLD INTERFACE. They have less option in the time of creating certificate. But, now when i go to my account, I see some more option then the tutorials. I don't have enough

APNS not working with Adhoc build

本秂侑毒 提交于 2019-12-12 10:57:55
问题 I am using an application with Adhoc Provisioning profile and certificate. The application is not yet published. But the APNS is giving an error 8-Invalid Token Following things are already checked. Application has the entitlement key <aps_environment>production<aps_environment> , checked from the mobile.embeddedprovision APNS SSL Certificate was generated by selecting an option Create Sandbox or Production SSL Certificate The certificate itself can connect to Production The APNS url used in

Push Notification code execution (forced-quit app)

蹲街弑〆低调 提交于 2019-12-12 10:43:30
问题 I was wondering how applications like Whatsapp were able to give a delivery receipt (double green check) to the sender of the message. I have seen that even if you force-quit Whatsapp (using the app task switcher and swiping the app away), the sender still gets the delivery receipt (double green check) just at the moment the push notification is received on the phone. Clearly they are able to execute code (make a request to a backend, informing the delivery) when receiving the push