apple-push-notifications

Add buttons to push notification alert

Deadly 提交于 2019-11-28 12:38:58
Is there a way to set up how users see the push notifications alert box? My notifications are appearing without the view / cancel buttons, but i'm receiving others from different apps with those buttons. Is that a setting i should set before sending the push notification? Thanks! Smith3 There are two things going on in your question. First, you will see no buttons at all when you receive Apple Push Notification alerts and your screen is locked. All Apps will have just the Title and the Message of the Alert, without the buttons. If your phone is unlocked, you will see the buttons. Second,

CloudKit push notifications on record update stopped working

我只是一个虾纸丫 提交于 2019-11-28 12:21:29
EDIT : Retested today 27.08.2015 and it works again, Apple has fixed it. I have an application in development mode. The application uses CKSubscription to get notified on changes on the server, configured for all three options: create, update, delete. Everything was working fine but recently during regression tests I have discovered the application does not receive notifications on record updates, the create and delete notifications are still working. The susbcription types are set correctly for all three options as I checked on the dashboard and the application is registered for

Push notifications in Apple Safari with FCM

北战南征 提交于 2019-11-28 12:08:52
We implemented push notifications using FCM in chrome and firefox and it worked fine, but Safari doesn't support Service Workers which is mandatory for FCM. Did anyone deal with this kind of issues? any suggestions? While Service Workers now work on Safari, they are not enough. The documentation says: The FCM JavaScript API lets you receive notification messages in web apps running in browsers that support the Push API . This includes the browser versions listed in this support matrix . Safari doesn't support web push , which FCM relies on for browser support. So that means that Safari can't

Getting OpenSSL::X509::CertificateError nested asn1 error on Ruby

旧时模样 提交于 2019-11-28 11:55:45
I have .p12 file from Apple and tried to convert it to .pem file with following command: openssl pkcs12 -in cert.p12 -out apple_push_notification_development.pem -nodes -clcerts When trying the create new OpenSSL::X509::Certificate object with OpenSSL::X509::Certificate.new(File.read('apple_push_notification_development.pem')) I get the following error: OpenSSL::X509::CertificateError: nested asn1 error from (irb):9:in `initialize' from (irb):9:in `new' ... Did I do something wrong ? Being stuck, please help. Thanks Appreciate it's not your exact same scenario, but I was attempting to read in

Getting javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure Error

╄→гoц情女王★ 提交于 2019-11-28 11:48:37
I am trying to send push notification to iPhone using Java-pns but I am getting the following error - javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure My code is - String token="95076d2846e8979b46efd1884206a590d99d0f3f6139d947635ac4186cdc5942"; String host = "gateway.sandbox.push.apple.com"; int port = 2195; String payload = "{\"aps\":{\"alert\":\"Message from Java o_O\"}}"; NotificationTest.verifyKeystore("res/myFile.p12", "password", false); KeyStore keyStore = KeyStore.getInstance("PKCS12"); keyStore.load(getClass().getResourceAsStream("res/myFile.p12"),

Receive push notifications from APNS to Titanium (iOS) App without using Appcelerator Cloudpush (ACS)?

无人久伴 提交于 2019-11-28 10:50:07
问题 I'm now responsible for a initial release of an app for iOS and Android. The developer that started the work has left the company and we are left with an incomplete Titanium application to finish. Once this app is finished we do not plan to continue using Titanium. We need to add push notifications to this app. We have enabled Android push notifications using the standard GCM push servers using http://iamyellow.net/post/40100981563/gcm-appcelerator-titanium-module or https://marketplace

GCM (Google Cloud Messaging) for iOS apps

浪尽此生 提交于 2019-11-28 10:49:32
问题 I am working on an iOS app, in which my client is asking for implementing GCM (Google Cloud Messaging) on iOS platform. I need to be sure if it can be done on iOS. As we use APNS for Push Notifications in iOS. Can anyone suggest me about this. Thanks In Advance. 回答1: Please check this link it contains all steps to integrate GCM in iOS and requirement is you need to set up CocoaPods dependencies. https://developers.google.com/cloud-messaging/ios/start https://developers.google.com/cloud

Firebase p8: Invalid APN Certificate. Check the certificate in Settings

十年热恋 提交于 2019-11-28 10:48:05
问题 I have successfully registered with APN and I received the token ID. The problem is that when I send a notification from Firebase console, I get error Invalid APN Certificate. Check the certificate in Settings This is the steps I followed in order to assign the .p8 APN certificate to Firebase. I am testing the app on an Iphone device. What am I doing wrong? created new key at https://developer.apple.com/account/ios/authkey/ downloaded the p8 file got the Team ID from https://developer.apple

Azure Notification Hub: Why is NotificationOutcome NotificationId Property Empty?

♀尐吖头ヾ 提交于 2019-11-28 09:18:04
问题 Using a Standard Notification Hub, I want to view telemetry for a specific message using the returned NotificationId and either this rest API: https://msdn.microsoft.com/en-us/library/azure/mt608135.aspx or the NotificationHubClient GetNotificationOutcomeDetailsAsync method: https://msdn.microsoft.com/en-us/library/microsoft.azure.notificationhubs.notificationhubclient.getnotificationoutcomedetailsasync.aspx Either way, I need the Notification Message Id that is supposed to be returned from

How to detect user uninstalled iOS App? I need push serious notification. I don't wanna lose it

泪湿孤枕 提交于 2019-11-28 08:32:29
I know Apple won't let you know user uninstalled your app. My Problem I have an old legacy SMS system to send alert Short Message to end user. Most of these messages are serious. Bottleneck is the GSM module has limitation when send hundreds SMS users simultaneously. Delay is inevitable. Thus, I build a new alert system to send push notification to my users, if they installed my app. After register their phone number, their SMS Alert will be switched into new alert system. Problem is some old school users prefer SMS rather than push notification. They download the app, and register their phone