apple-push-notifications

Push click - App opening issue - Unity iOS

心已入冬 提交于 2019-12-25 08:43:41
问题 At present I have integrated server generated push notification and its coming properly in iPhone devices. When I click on push notification, its redirecting me towards my app but then after suddenly app get force closed at start up. All the time its happening same. If I left loaded app into memory/dock and then I click on push notification then its working correctly. But when app is completely closed then its generating issue in start up. I want to solve this otherwise there is no meaning of

iOS Automation Appium: How to lock screen for iPhone real device without a duration?

别等时光非礼了梦想. 提交于 2019-12-25 07:46:39
问题 I want to automate the following case: locking my screen of the real device and open the screen again from an APNS - like answer a call from APNS. Therefore I would like to just lock the screen without a certain amount of time, so that I can unlock it by swiping on the push notification. I know there is in AppiumDriver the lockScreen(int seconds) but I just want to implement lockScreen() method. Any of you have an idea how to do that? How I could solve that with Apple script or with Appium

JavaPNS error handling - contradiction in the documentation?

岁酱吖の 提交于 2019-12-25 07:39:53
问题 In the JavaPNS docs, I see this: To find out if a push was successfully sent to Apple and that Apple did not return any error-response packet, simply invoke the pushedNotification.isSuccessful() method. A notification might not be successful if any of these conditions occur : the library rejected the token you provided because of obvious specs violations (ex: token not 64-bytes long, etc.) the library rejected the payload you provided because of obvious specs violations (ex: payload too large

Push notifications works fine in development, but device not getting notification in production

烂漫一生 提交于 2019-12-25 07:15:34
问题 Ok, so I have an app that is in the app store. In development everything works fine I get all of the notifications that I send. I should mention that we are using Firebase for analyics and push notifications as we have a iOS and Android version of the app. Firebase account has both the correct development and correct production apns cert, the app's capabilities are set correctly to include push notifications and remote notifications in the background. In the organizer window the entitlement

Parse : [PFInstallation currentInstallation] returns null

这一生的挚爱 提交于 2019-12-25 07:10:05
问题 I have been revolving around this issue for a very long time but i couldn't get any relevant solution for this.I am intended to send push notification to device within certain miles (Miles would be decided by the user). I use the following code on click of a button, which was working fine earlier but now i came across this pathetic problem. if (setMiles == 0) { UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"Broadcast Alert" message:@"Please select broadcast range" delegate:nil

Getting error while sending Push Notification to iPhone using Java-PNS?

我们两清 提交于 2019-12-25 05:16:31
问题 I am using javaPNS_2.2.jar file to send push notification message to iPhone device. My Code is: PushNotificationPayload payload = PushNotificationPayload.complex(); /* Customize the payload */ payload.addAlert("Hello World!"); payload.addCustomDictionary("mykey1", "My Value 1"); payload.addCustomDictionary("mykey2", 2); /* Push your custom payload */ String keystore = "C:/1.0Eywa_Baba/PushNotificationKey.p12"; String password = "Eywa@12"; boolean production = false; String devices = "C81DD339

Appcelerator : iOS 10 Apple Push Service not working

北慕城南 提交于 2019-12-25 04:10:10
问题 I'm working with SDK 5.5.1 I'm trying to send APS in production with my own nodejs server. Everything is working fine with publishing on device in development state. I get the device token and the notification is received by the device. In production, with the same certificate exports (with the production cert and p12), i can get the device token, but not receive the notification. Does anyone have a solution ? Here is my tiapp.xml <?xml version="1.0" encoding="UTF-8"?> <ti:app xmlns:ti="http:

Multiple Servers connecting to APNS with same SSL certificate

白昼怎懂夜的黑 提交于 2019-12-25 04:01:54
问题 We are launching a product which has both a client and server piece. The client would be available over App Store and server can be downloaded from our company's web site. The server part would be installed by individual customer on their own network. While implementing Push notifications, it cam to my notice that the server talks to Apple Push Notification Service and validates itself with the SLL Certificate. The question is, can all our customer use the same SSL certificates and connect to

Swift Parse Push advanced targeting not sending

我是研究僧i 提交于 2019-12-25 03:43:05
问题 Followed the documentation for Parse advanced targeting and push notifications are still not sending. (I can receive pushes from Parse's console and client push is enabled.) let userQuery: PFQuery = PFUser.query()! userQuery.whereKey("objectId", equalTo: "JrePAMWUbm") // The user I am logged in with let pushQuery: PFQuery = PFInstallation.query()! pushQuery.whereKey("user", matchesQuery: userQuery) let push = PFPush() push.setQuery(pushQuery) push.setMessage("Hello, World!") push

APN background refresh, setting up AppDelegate.m

两盒软妹~` 提交于 2019-12-25 03:32:43
问题 I want to trigger a data fetch when a push notification is received. I understand that this happens before a notification is displayed to the user. Right now I have this in my AppDelegate.m: - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo { if ( application.applicationState == UIApplicationStateInactive || application.applicationState == UIApplicationStateBackground ) { //restore push [[NSNotificationCenter defaultCenter]