urbanairship.com

Not getting push notification when App is running in iOS for Xamarin.Forms

醉酒当歌 提交于 2019-12-11 17:28:01
问题 I have implemented UrbanAirship for push notification. I get notification when app is closed of in background. But I am not getting notification when app is running. I have attached my code. Can anybody please look into and let me know what I am missing here? Thank you. AppDelegates.cs public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions) { UAirship.TakeOff(); Xamarin.Forms.Forms.Init(); LoadApplication(new App()); UIApplication.SharedApplication

Urban Airship receivedBackgroundNotification never called

寵の児 提交于 2019-12-11 16:35:13
问题 After reading all the guides, and after checking hundred of articles on the internet, I'm quite sure that the method receivedBackgroundNotification is never called. Everything works perfect, but when the app is in background, a notification is shown and this method never is called. Seems to be impossible to get it working. Assuming all the normal operations and the basic configuration is well done and is working, what can I do to intercept and manage background push notifications with this

How come I keep getting a “Request failed with response code 401” when trying to push via Urban Airship?

谁都会走 提交于 2019-12-11 09:58:22
问题 I have double, triple, and quadruple checked that I have the right master key that I'm passing. My parameters are taking directly from the UA website also so it can't be that. Anyone see what I'm doing wrong here??? Parse.Cloud.define("sendPush", function(request, response) { var Buffer = require('buffer').Buffer; var parameters = { "audience" : "all", "device_types" : "all", "notification" : { "alert" : "Hello from Urban Airship." } }; var params = JSON.stringify(parameters); Parse.Cloud

NoClassDefFoundError: Urban Airship for Android Push

纵饮孤独 提交于 2019-12-11 06:46:57
问题 I've been trying to set up Urban Airship for days and it really stress me out. Since their instruction isn't clear, I had to follow this one to work through. However, I'm currently getting this errorLogs and trying to see if I can find some help. Please any advice would be greatly appreciated! Thank you! 10-18 12:41:10.585: E/AndroidRuntime(11870): FATAL EXCEPTION: main 10-18 12:41:10.585: E/AndroidRuntime(11870): java.lang.NoClassDefFoundError: com.urbanairship.UAirship 10-18 12:41:10.585: E

Apple Push Notification Service doesn't works in Production Build using Urban Airship in iPhone?

╄→гoц情女王★ 提交于 2019-12-11 04:32:38
问题 I have used Apple Push Notification in my apps and it works fine in Adhoc Distribution. I have submitted my apps into the AppStore, But push notification is not working for my apps and received message like "Apple rejected your device tokens". I have used separate .p12 files for development and production builds and uploaded in the Urban Airship. Note: But i have used the same application key and application master key for development and production. So that it didn't works for the push

iphone: Confusion with Push Notification provisioning profile and AdHoc Profile

瘦欲@ 提交于 2019-12-11 04:32:35
问题 I have implemented UrbanAirship Push notification in my app. But I am little bit confuse while creating AdHoc. I have made provisioning profile for Debug in which I am selecting Device IDs. So while creating AdHoc, Do I need to create new AdHoc profile or Its not needed ? 回答1: Here the provisional profile is not the thing related to push notification settings. But you need to configure your appID under the apple developers account section and select it for push notification enabled. Under

Clear push notification badge after increment

柔情痞子 提交于 2019-12-10 14:44:11
问题 I am working on push notification in iphone. when i receive push notification, its showing 1 on my application icon, next time its 2,3,4. if i open application its 0. Next time its should be 1,2,3,4... but its showing last number and +1. i want reset push notification badge after open application. i am sending +1 from urban airship. and its not working for me. [[UIApplication sharedApplication] cancelAllLocalNotifications]; [UIApplication sharedApplication].applicationIconBadgeNumber = 0; 回答1

Cannot get push notification from Urban Airship

我与影子孤独终老i 提交于 2019-12-10 02:09:30
问题 I am integrating Urban Airship to my Android application. I got a sample code from there and I followed the same procedure in order to invoke it from my application. But, I don't get any push notification on my device. Can anyone guide me how to integrate the Urban Airship in Android application? How to send the AppId and GCM Register ID to Urban Airship server and getting the notification? public class MyApplication extends Application { public static SharedPreferences PREFS_TOKEN; public

Does “play-services:9.8.0” include “play-services-location:9.8.0”?

只谈情不闲聊 提交于 2019-12-08 14:05:07
问题 I am upgrading an App, and in my build.gradle file, I have this: dependencies { .......... compile 'com.google.android.gms:play-services:9.8.0' .......... } In the Android SDK Setup Quickstart Guide Urban Airship provides, they offer this as a sample code: dependencies { .......... // Recommended for location services compile 'com.google.android.gms:play-services-location:9.8.0' .......... } If I use "play-services:9.8.0" I would assume it would also include "play-services-location:9.8.0"

How to use Deep link of urban airship using PHP

為{幸葍}努か 提交于 2019-12-08 10:45:16
问题 I am trying to send push notification using deep link parameters but unfortunately it is not working for me. I'm using PHP and curl and my code is: $params = array("audience"=> "all", "notification" => array("alert" => "Push notification from PHP", "actions" => array("app_defined" => array("^+t" => "sec:147", "content" => "http://www.url.com"))), "device_types" => array("android")); $x = executeCurl('/push/', 'POST', $params); print_r($x); Actually I want to parse these params to my PHP code.