apple-push-notifications

Create Installation object from Cloud code with Parse

安稳与你 提交于 2019-12-09 13:05:15
问题 As documentation says - "The JavaScript SDK does not currently support modifying Installation objects.", but what about creating these objects? is it possible to create Installation objects from cloud code? For ex: Parse.Cloud.define("registerForNotifications", function(request,response) { var token = request.params.deviceToken; var deviceType = request.params.deviceType; var user = request.user; var installation = new Parse.Object("Installation"); if (installation) { installation.set(

Apple Push Notification not working with ad-hoc build

丶灬走出姿态 提交于 2019-12-09 11:22:38
问题 In development mode I can send push notification to devices, instead I can't in production, my setup is: .pem file that is the combination of aps_production.cer of provisioning portal and the private key of my ad-hoc certificate apple server apn: 'gateway.push.apple.com' with 2196 port I have a rails server that saves tokens from devices and then sends notification to apple with those device tokens and the previous .file for opening connection ad-hoc build applications have (it's rubymotion):

Apple Push Notification Service: Certificate Install Server Side?

柔情痞子 提交于 2019-12-09 11:10:52
问题 I've followed the instructions at How to build an Apple Push Notification provider server (tutorial) in an attempt to set up a push notification server. When I attempt to connect with the following PHP code // connect to apns server $strAPNSUrl = 'ssl://gateway.sandbox.push.apple.com:2195'; $strAPNSCert = 'dev.pem'; // generate stream $oStreamContext = stream_context_create(); stream_context_set_option($oStreamContext, 'ssl', 'local_cert', $strAPNSCert); // create the socket connection $oAPNS

iOS application missing from notification center [closed]

a 夏天 提交于 2019-12-09 05:23:14
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Problem: The app doesn't appear on notification center and it is unable to receive push notifications right after installation completes and the app registers for push notifications via registerForRemoteNotificationTypes: . Details: The app usually appears in notification center after the device is restarted and

iPhone registerForRemoteNotificationTypes does not generate an error but does not fire delegate that gives device token

99封情书 提交于 2019-12-09 05:09:13
问题 I am developing an iPhone app that needs push notification. I followed the instructions for creating the certifications and modifying the app ID. I am not totally sure I did this correctly, but I did follow the directions. Any idea how I can check to see if this is OK? When I ran in the emulator I did get an error message saying that the emulator did not support push notifications. This was somewhat expected. BTW: I have seem this question out there a few times. It always seems to be with a

Google App Engine APNS

天涯浪子 提交于 2019-12-09 04:50:31
问题 Im developing the server side for an iOS app with Google App Engine and JDO in Java, and I just realized that GAE dont support Apple Push Notification Service, and I`m very frustrated. I have been seen quite of solutions like Urban Airship, xtify, etc; but It`s too expensive if I reach to have an important amount of users. Besides, I have been investigating about Javapns and similars, but GAE don`t support BouncyCastle either. I want to know if there is a free or low cost solution for support

How does WhatsApp know if the user gets the push notification even if the app is runnng in the background and is not open?

大憨熊 提交于 2019-12-09 04:42:47
问题 I have already asked related question: any option to know if apple app get the push notification? And I got an answer that it is not possible to know if push notification comes to the iPhone when application is in the background and the user does not have it opened... But I found something interesting: I take 2 iPhones with WhatsApp. I open, in the first iPhone, WhatsApp and exit it (the WhatsApp is in the background now), then with the second iPhone, I send WhatsApp massage to the first

Apple push notifications and Emoji characters

守給你的承諾、 提交于 2019-12-09 04:20:09
问题 I recently found this very interesting article on APNS and Emoji characters: EASY APNS - Just for fun It contains a list with all supported Emojis. However, I couldn't get them to display in my push notifications. All I get is the code, not the image. For example, if I add \ue415 (a smiley) to my message, I never see the image, just the code. Any idea what I'm doing wrong? 回答1: NSString *emoji = [NSString stringWithFormat:@"%C", 0xe415]; 回答2: check out this site http://code.iamcal.com/php

How to store ios push notifications when the app is killed using swift

限于喜欢 提交于 2019-12-09 03:47:47
问题 I use my own server, use FCM to push notifications to the ios device, push notifications are successful, I also use the Realm database system to help me store the fcm push notifications, but the storage will only succeed in the following two cases. Case1: When the app is running. Case2: The app is killed, or running in the background, when you click to push the banner notification. But this is not my main intention. I know that when the app is killed, I can't handle the push notifications, so

How can WhatsApp encrypt Push Notifications on iOS? [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-09 00:20:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Recently WhatsApp integrated the Signal protocol for End-to-End Encryption for all platforms. I tried it with a friend and it said that the encryption was activated. With the app closed and background tasks disabled on iOS 8, the push notifications from my friend still showed the message. Question: Does WhatsApp