apple-push-notifications

Apple push notifications and Emoji characters

五迷三道 提交于 2019-12-02 21:27:26
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? NSString *emoji = [NSString stringWithFormat:@"%C", 0xe415]; check out this site http://code.iamcal.com/php/emoji/ he does the emoji in php. i use this command to achieve a emoji on the iphone. emoji_unified_to_softbank("

Sound issues fixes for iOS 10 Push Notifications

眉间皱痕 提交于 2019-12-02 21:09:32
问题 I’ve implemented push notifications for our app. on iOS 9, the sound words fine. on iOS 10, it’s very unpredictable. Fresh install from Xcode on iOS 10.0.2 would bring up my custom sound. reinstall would bring up default sound. I don’t know exactly when but at times I also get no sound. reading from here and many others my conclusion is that it works after a hard reboot. 2 questions: Has Apple completely fixed this issue in any version? If so what version? After a hard reboot, would the

Certificate being rejected by Apple

喜你入骨 提交于 2019-12-02 21:07:48
While configuring certificate for Push Notification on my ios build of cordova project using OneSignal, the certificate is getting rejected every time I'm trying to configure it. I've followed steps mentioned in https://documentation.onesignal.com/docs/generate-an-ios-push-certificate I've tried using OneSignal Provisionator Tool, and generated certificate using KeyChain access as well without any result. You can test APNS connection with this script: https://gist.github.com/greencoder/16d1f8d7b0fed5b49cf64312ce2b72cc This script requires your key and certificate in pem format. To convert from

Custom Apple Push Notification Server vs Urban Airship and likings [closed]

和自甴很熟 提交于 2019-12-02 20:56:04
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. I need to implement the push notifications for one of my projects. Some of the possibilities I evaluated are: building my own APN sending script on the server using Urban Airship Which one would you guys recommend and why? NB. I know Urban Airship costs a

Apple Push Notification Feedback Service - how frequently does it check

江枫思渺然 提交于 2019-12-02 20:53:34
I have been able to successfully create push notifications and I have also received responses from the feedback service, so I am confident that my configuration is correct, but I was wondering, how long after a device has been made inactive, will it be picked up by the Apple Push Notification Service. When I first polled the feedback service, I received details on devices which were inactive several days ago. Now, while testing, when I uninstall the application and occasionally poll the feedback service, I'm not receiving any results. Any idea on how long it takes to update would be useful, as

didRegisterForRemoteNotificationsWithDeviceToken never called on specific device [duplicate]

北慕城南 提交于 2019-12-02 20:40:47
This question already has answers here : didRegisterForRemoteNotificationsWithDeviceToken not called in ios8, but didRegister…Settings is (11 answers) First of all, I am on iPhone 6 Plus/iOS 8.1 and I've tried everything here: why didRegisterForRemoteNotificationsWithDeviceToken is not called Still no avail. To summarize: I've checked my bundle identifier matches the one in provisioning profile/development portal I've created a new development push APNS certificate I've created a new development certificate I've created a new provisioning profile for that development certificate I've

Format APNS-style JSON message in Python for use with Amazon SNS

北城以北 提交于 2019-12-02 20:37:27
I'm creating an iOS app, and for our push notifications, we're using Amazon's Simple Notification Service (SNS). SNS is wonderful, but the documentation is pretty sparse. I'm using boto , Amazon's Python library, and I've figured out how to send plain-text push notifications: device_arn = 'MY ENDPOINT ARN GOES HERE' plain_text_message = 'a plaintext message' sns.publish(message=plain_text_message,target_arn=device_arn) However, what's not clear from the documentation is how to create an an Apple Push Notification Service (APNS) message. I need to send a sound and a badge along with the push

iOS chat APNS, sockets or time interval [closed]

吃可爱长大的小学妹 提交于 2019-12-02 20:28:14
I'm making a chat app for iPhone, but im not sure how conversation messages should come instantly. I have read tons of Google results on this topic. Also the once on: - http://www.raywenderlich.com/3932/how-to-create-a-socket-based-iphone-app-and-server - http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12 APNS approach: An invisible notification will be pushed to the iPhone indicating that a new message is ready to be read. So the app will make a request for unread messages. So instead of manually polling new messages, I will let APNS help with that. But I'm

How to generate valid APNS Certificate (.p12) for use in GCM for iOS?

一个人想着一个人 提交于 2019-12-02 19:04:51
I am trying Google Cloud Messaging sample app for iOS platform. https://developers.google.com/cloud-messaging/ios/start To generate GoogleServices-Info.plist APNS development and production certificates are needed (PKCS#12 file format). I have created .p12 file in MAC KeyChain Access (bundling both APNS dev certificate and private key). But when uploading the .p12 file, it says it is not in valid format (The certificate must be a valid PKCS12 file). Here's my solution, without the terminal ! delete your actual certificate ( in Keychain ) : "Apple Development IOS Push Service" & "Apple

Custom iOS push notification sound

戏子无情 提交于 2019-12-02 18:33:01
I have been facing an issue. I implemented push notification in iOS with custom sound. Its a MP3 file. It plays well when I receive a push notification in iOS 5, but in iOS4, it doesn't play any sound. Can you help me with this? The code is like this { "aps": { "badge": 10, "alert": "Hello", "sound": "sound.mp3" } } Nithin Inn0vative1 According to the push notification guide: You can package the audio data in an aiff, wav, or caf file. Then, in Xcode, add the sound file to your project as a nonlocalized resource of the application bundle. It doesn't say anything about MP3s. I've used aif files