apple-push-notifications

PyAPN right way to create PEM files

微笑、不失礼 提交于 2019-12-12 01:41:55
问题 I know this might be due to lack of better knowledge, but I seem not to be able to get this running. What is the right way as of today how to create the correct certificates / pem files for PyAPN ? There are so many instructions at different dates that report different approaches - I am confused. I exported the Apple push certificate and the private key into cert.p12 and key.p12 respectively on my mac. Then I ran the commands below and uploaded them to my server. openssl pkcs12 -nocerts -out

Apple wallet pass not shown notification message

喜你入骨 提交于 2019-12-12 00:46:12
问题 I created an eventTicket pass for apple wallet. All working fine, passes added to Wallet, devices are register and I am able to push notification and update the passes successfully. The only problem I've got it's not showing the change message neither adding the notification to the Notification Center. This are an example of the passes pass.json: First pass sent { "formatVersion" : 1, "passTypeIdentifier": "pass.code.paq.test", "serialNumber": "14", "teamIdentifier": "TE4545WNZ9",

push notifications not working

与世无争的帅哥 提交于 2019-12-11 23:26:58
问题 I know this question has already been asked but I am in urgent need of the answer. I was implementing push notifications in my app. Initially everything was working fine and I was getting alerts. But one day my certificate expired and I renewed the cert and used the updated p12 file. I regenerated the pem files. But now I stopped getting alerts. I thought that may be I there could be some issue with p12 files so I regenerated them several times. But push notifications don't work. Please

APNS - Can't send notification to iOS device using Java

Deadly 提交于 2019-12-11 20:37:12
问题 I need to get this working but I'm completely out of options...any help would be greatly appreciated. I'm trying to send notifications to my iOS device using Java and have followed many tutorials and forum posts, mainly these: raywenderlich.com, JavaPNS Basic Example, and the java-apns example shown below. I am, however, able to send notifications using PHP. Can someone see anything I'm doing wrong? I've been working for several days on this and can't figure out what the issue is b/c I've

notification banner on ipad displayed upside down when app is launching Landscape (left home button)

南笙酒味 提交于 2019-12-11 20:07:47
问题 I had an iPad app that supports two Orientation I set Supported interface orientations on info.plist to Landscape (right home button) and Landscape (left home button). I also set Initial interface orientation to Landscape (right home button). - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeRight]; } When I receive push notification and my app

how to bind key vault certificate to apns notification hub

谁说我不能喝 提交于 2019-12-11 19:46:32
问题 I've got arm that creates notification hub instance I imported certificate with password into key vault, and now I want to use that certificate as apns of notification hub for apple. I am trying something like this but always get bad request: "type": "Microsoft.NotificationHubs/namespaces/notificationHubs", "apiVersion": "2017-04-01", "name": "[concat(parameters('namespaces_nhn_ecosystem_name'), '/nh-ecosystem-', parameters('environmentSuffix'))]", "location": "[resourceGroup().location]",

iOS MDM App Installation/Cancellation Response

眉间皱痕 提交于 2019-12-11 18:46:32
问题 I have developed an MDM Server using the iOS APNS method and I am pushing apps to mobile devices. I want the MDM Server to know when the App was successfully installed or when the user cancels the alert for App Installation. I issue the InstallApplication command and I get an Acknowledgement with State as Queued but I want an acknowledgement when the State is Installed. I tried to issue an ManagedApplicationList command after the InstallApplication command so that I can check if the app

iOS Missing Push notification Entitlement warning [duplicate]

只谈情不闲聊 提交于 2019-12-11 18:33:06
问题 This question already exists : iOS Push Notifications Apple Email [duplicate] Closed 4 years ago . In our app we don't use push notification, we did not enable the push notification in identifier. we create the distribution profile with disable push notification and submit on app store. but we got text(check below) in mail. -> What is the reason for getting this kind of mail? -> Is there any issue in distribution profile? give me solution. Missing Push Notification Entitlement - Your app

Not getting push notification when App is running in iOS for Xamarin.Forms

醉酒当歌 提交于 2019-12-11 17:28:01
问题 I have implemented UrbanAirship for push notification. I get notification when app is closed of in background. But I am not getting notification when app is running. I have attached my code. Can anybody please look into and let me know what I am missing here? Thank you. AppDelegates.cs public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions) { UAirship.TakeOff(); Xamarin.Forms.Forms.Init(); LoadApplication(new App()); UIApplication.SharedApplication

About the apple Enhanced notification format

谁说我不能喝 提交于 2019-12-11 17:14:00
问题 I use php to send push message to apns , i use "Enhanced notification format" to sent .. but i can not get the return" Codes in error-response packet" anyone can help me ?? here is my code <?php header("Content-Type: text/html; charset=UTF-8"); $deviceToken = "123"; $content = "testing"; if(isset($content)) { $newContent=substr($content,0,30)."..."; $re_content=iconv("GB2312","UTF-8",$newContent); $pass = 'Ladder'; $body = array("aps" => array("alert" => $re_content, "badge" => 1, "sound" =>