apple-push-notifications

Issues with receiving push notifications -

爷,独闯天下 提交于 2019-12-24 09:59:35
问题 I have a problem where I don't receive notifications every time I push them to the device. I do receive them occasionally or after a big delay. I'm using the development certificate for APNS and Ruby on Rails on the server side. The server does send notifications to the Apple server its only when I'm receiving them I have a problem. I initially thought it was a problem with global notifications (tunnel being closed) and to test it I sent my device a notification to Skype which was received

Notification cron in PHP for iphone Application

我与影子孤独终老i 提交于 2019-12-24 09:47:42
问题 I can send notification manually as following code. <?php // Device token: $deviceToken = 'xxxxxx'; $passphrase = 'xxxxx'; $badge = 1; // Displays alert message here: $message = 'Match Found!'; $ctx = stream_context_create(); stream_context_set_option($ctx, 'ssl', 'local_cert', '/Users/Documents/iOS_Application_Developement/new/APNSPHP/ApnsPHP-master/ck.pem'); stream_context_set_option($ctx, 'ssl', 'passphrase', $passphrase); // Open a connection to the APNS server $fp = stream_socket_client(

APNS server responds with status 8-invalid-token, but devices are being registered properly

坚强是说给别人听的谎言 提交于 2019-12-24 08:30:26
问题 I am implementing passbook funcationality for my iOS app. I am using php as server side language to generate pass and distribute to devices. Passes are being successfully installed on the device and I am also able to update pass manually using pull to referesh. When I try to update pass automatically from server side I get the response status 8-invalid-token with message "Identifier is the rowID(index) in the database that caused the problem. Apple will disconnect you.....". I don't get why

OneSignal iOS SDK send notification fail Code 400

有些话、适合烂在心里 提交于 2019-12-24 08:01:35
问题 What I have done: I have created a simple iOS native App which has nothing but OneSignal initializaion codes. I installed my App on my 2 devices, device A and device B. Both devices are subscribed to my OneSignal App Console. When I send a notification from OneSignal Web Console, the 2 devices can both recive the notification. What I want to do: When I click on a button on device A, device A will send a notification to device B. What is the problem: I followed the OneSignal iOS SDK document

iOS MDM — Sending MDM Push Notifications from Java?

≡放荡痞女 提交于 2019-12-24 07:49:09
问题 I am working on a simple iOS Mobile Device Management (MDM) server in Java as a mental exercise and proof-of-concept. Up to now, I have a series of JAX-RS RESTful service endpoints that allow me to do: Initial device enrollment Initial MDM certificate enrollment (SCEP) Device certificate enrollment (SCEP) MDM profile payload installation My MDM profile looks something like this. It configures the device certificate using SCEP and installs information about the checkin URL and MDM itself: <

Not able to receive push notification to iOS devices when using Amazon SNS

谁说胖子不能爱 提交于 2019-12-24 06:33:37
问题 I have followed all the steps mentioned in the official documentation. I am able to register device tokens in the application endpoint list successfully. The message has been published to registered tokens. The delivery status says success (status code 200) in cloud watch console. But the device isn't able to receive notifications in iOS devices. What could be the reason? Note : I have enabled notification settings in devices and ios project. 回答1: Double check the Message format setting. I

Submitting a binary for beta testing: “Missing Push Notification Entitlement”

时光怂恿深爱的人放手 提交于 2019-12-24 06:16:34
问题 I'm currently using Xcode 6.4 . In my Member Center site, I have both development and production APNS certificates for a certain App ID, and such App ID appears with Push Notifications enabled for both environments. I also created a couple of provisioning profiles: one for development with that App ID associated and Push Notifications in their enabled services, and another one for ad Hoc distribution for the same App ID and also with Push Notifications enabled services. I can see both

FeedBack service from APNS (Apple push notification Server)

北城余情 提交于 2019-12-24 04:44:05
问题 We are using Java as the push notification provider for APNS.I am able to send the messages to the APNS but I have no idea as to how to get the feedback for the message. Please help 回答1: The feedback service has a binary interface similar to the interface used for sending push notifications. You access the production feedback service via feedback.push.apple.com on port 2196 and the development feedback service via feedback.sandbox.push.apple.com on port 2196 . for reference Updated Apple

Push notification applicationIconBadgeNumber is not update in ios7

半城伤御伤魂 提交于 2019-12-24 03:47:07
问题 I am using following code in app delegate to receive Remote notification but its applicationIconBadgeNumber (appear on app icon's top left corner in red/white) is not updating when app in background. when push notification received its appear in top corner of screen with slide animation , in notification payload Badge count is comming form server side perfectly. In didFinishLaunchingWithOptions I have put following code [application registerForRemoteNotificationTypes:

How to mock Push notification native module in React native jest tests?

孤人 提交于 2019-12-24 02:59:27
问题 When using the module react-native-push-notification , I had this error: FAIL __tests__/index.android.js ● Test suite failed to run Invariant Violation: Native module cannot be null. at invariant (node_modules/fbjs/lib/invariant.js:44:15) at new NativeEventEmitter (node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js:32:1) at Object.<anonymous> (node_modules/react-native/Libraries/PushNotificationIOS/PushNotificationIOS.js:18:29) at Object.get PushNotificationIOS [as