apns-php

Swipe Buttons not coming for Remote notifications

房东的猫 提交于 2019-12-11 10:07:53
问题 I am trying to put custom buttons in my IOS 8 application for the PUSH Notifications received in my chat app. Below is my code but the Push notifications are not showing the ship buttons. if([[UIApplication sharedApplication] respondsToSelector:@selector(isRegisteredForRemoteNotifications)]) { //Defining Ap Actions Categories UIMutableUserNotificationAction *replyAction = [[UIMutableUserNotificationAction alloc] init]; // Define an ID string to be passed back to your app when you handle the

iOS swift How to create .p8 file?

耗尽温柔 提交于 2019-12-10 14:13:09
问题 I am working with Pushy Notification where I need to register with the p8 file. So how can I create that p8 file from developer account? 回答1: Follow these steps: Generate an APNs Auth Key Open the APNs Auth Key page in your Developer Center and click the + button to create a new APNs Auth Key. In the next page, select Apple Push Notification Authentication Key (Sandbox & Production) and click Continue at the bottom of the page. Apple will then generate a .p8 key file containing your APNs Auth

How to post push notifications in APNS and how to show the notifications in iPhone?

£可爱£侵袭症+ 提交于 2019-12-08 01:59:28
问题 I have several doubts about APNS. Am trying myself to make clear on the APNS but still need some clarifications. I have to know how we are posting push notification in APN Server and how we push the notification to Apple APN Server? And also how am i receive the notification from Apple and show the notification to user? I know we are receive the Notifications from below delegate, -(void)application:(UIApplication *)app didReceiveRemoteNotification:(NSDictionary *)userInfo How we should show

APNS sandbox Connection failed error '0' in php file?

荒凉一梦 提交于 2019-12-06 14:18:25
问题 Am trying to send Apple Push Notifications to my app. Am following this tutorial for the APNS process. URL: http://www.raywenderlich.com/3525/apple-push-notification-services-tutorial-part-2. I have done almost work in MAMP, PHP and i have mentioned my .pem file in pus_config.php file for APNS connection. I have tested my .pem file with simplepush.php file and i sent notifications to my device. Now am trying with push.php file which was taken from the above tutorial. This is my push_config

How to post push notifications in APNS and how to show the notifications in iPhone?

橙三吉。 提交于 2019-12-06 10:14:58
I have several doubts about APNS. Am trying myself to make clear on the APNS but still need some clarifications. I have to know how we are posting push notification in APN Server and how we push the notification to Apple APN Server? And also how am i receive the notification from Apple and show the notification to user? I know we are receive the Notifications from below delegate, -(void)application:(UIApplication *)app didReceiveRemoteNotification:(NSDictionary *)userInfo How we should show the notifications to the user , please suggest any sample codes? Please clarify my silly doubts. Thanks

Push notifications delivered to apple apns server but device received nothing

浪子不回头ぞ 提交于 2019-12-05 13:57:26
Development environment: iOS 9.3.2 (iPh6ne 6+) ... but it works on iOS 8.x Phonegap 6.2.7 Phonegap-plugin-push v1.7.2 PHP7 (server side)- contentpush - ref My situation: the token was delivered to my server automatically message sent to ssl://gateway.push.apple.com 2195 successfully nothing received in device even alert("") push.on('notification', function(data) { console.log(data.message); alert(""); alert(data.title+" Message: " +data.message); }); Nitesh Apple doesn't give any guarantee on successful message delivery. you can see related answer here If you're not seeing Apple push

Why iPhone don't receive push notification?

≯℡__Kan透↙ 提交于 2019-12-05 03:44:07
问题 I really don't know where is the problem. I am using library ApnsPHP to sending Push notifications. I also tried other scripts, but that also not working. I generate push certificates with this tutorial (http://code.google.com/p/apns-php/wiki/CertificateCreation) and also put them to apple developer website. I get right token from iphone which i put into sample_push.php I have Macbook Pro 13-inch, Mid 2010 with Mac OS Lion. vojta:~/dev/www/application$ php sample_push.php Fri, 13 Apr 2012 16

APNs push notification with macOS Sierra

岁酱吖の 提交于 2019-12-04 17:03:54
问题 I'm trying to send my phone a push notification using the simple PHP tool which connects to ssl://gateway.push.apple.com:2195 , but the connection fails with the following errors: Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in <Users/.../file.php> on line 30 Warning: stream_socket_client(): Failed to enable crypto in <Users/.../file.php> on line 30 Warning: stream

Apple Multiple Push Notifications not visible in Notifications Tray

早过忘川 提交于 2019-12-04 08:42:38
问题 I basically want to make multiple push notifications in the same application visible in the notification tray in iOS. This scenario works if my data is on while push notification is triggered via APNS, but only the latest one is received in case I am offline and come back after a while. This functionality is affirmed by APNS documentaion. However, this is what worked in WhatsApp: Turned Data Connection OFF Sent some messages to WhatsApp Turned Data Connection ON Saw multiple push

Why iPhone don't receive push notification?

跟風遠走 提交于 2019-12-03 20:58:57
I really don't know where is the problem. I am using library ApnsPHP to sending Push notifications. I also tried other scripts, but that also not working. I generate push certificates with this tutorial (http://code.google.com/p/apns-php/wiki/CertificateCreation) and also put them to apple developer website. I get right token from iphone which i put into sample_push.php I have Macbook Pro 13-inch, Mid 2010 with Mac OS Lion. vojta:~/dev/www/application$ php sample_push.php Fri, 13 Apr 2012 16:23:24 +0200 ApnsPHP[6478]: INFO: Trying ssl://gateway.sandbox.push.apple.com:2195... Fri, 13 Apr 2012