urbanairship.com

java.lang.NoClassDefFoundError: com.urbanairship.UAirship

落花浮王杯 提交于 2019-12-22 08:59:58
问题 I've got a new mac (Lion 10.7.3). Installed Eclipse and android sdk. Checked out my project from SVN , tried to run and got this ugly exception: 05-20 12:17:21.175: E/AndroidRuntime(32499): FATAL EXCEPTION: main 05-20 12:17:21.175: E/AndroidRuntime(32499): java.lang.NoClassDefFoundError: com.urbanairship.UAirship 05-20 12:17:21.175: E/AndroidRuntime(32499): at com.neo.ovs3.MyApp.onCreate(MyApp.java:16) 05-20 12:17:21.175: E/AndroidRuntime(32499): at android.app.Instrumentation

Push Notifications using Urban Airship returns apID as null at the first launch

試著忘記壹切 提交于 2019-12-22 07:09:16
问题 I have successfully integrated urban airship push notification to my android application. I ran into an issue here, that is the apID becomes null with the very first launch and then with the second launch, apId comes correctly. This is how I grab the apId: String apid = PushManager.shared().getAPID(); This is the class that I have used: public class MyApplication extends Application { public static SharedPreferences PREFS_TOKEN; public static final String PREFERENCE = "UrbanAirship"; public

Urban Airship Implementation on iOS

怎甘沉沦 提交于 2019-12-20 07:15:57
问题 I am trying to add libUAirship-1.4.0.a by going to Build Phases > Link Binary With Libraries and locating the library on disk, after doing so i am still getting an error saying use of undeclared identifier: UAirshipTakeOffOptionsLaunchOptionsKey, UAirship, UAPush. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. //Create Airship options dictionary and add the required

Setting up WNS service for windows phone 8 get error after add <Identity> tag

梦想的初衷 提交于 2019-12-20 05:42:09
问题 I am setting up windows phone 8.1 push notification with urbanairship. I have SID and Secret key for my app. But when i do following step mentioned in dev.windows WNS-->Live Service site: To set your application's identity values manually, open the AppManifest.xml file in a text editor and set these attributes of the element using the values shown here. my application is stop working. is any one provide me steps for set up WNS in windows phone 8.1 then it helps me a lot, I spend over the week

Urban Airship - Send Push with NSURLConnection

非 Y 不嫁゛ 提交于 2019-12-19 04:08:44
问题 I'm working on a simple prototype and need to test sending push notifications from one device to another. I've emailed Urban Airship to turn on the "Allow Push From Device" for my application - and they did turn it on. I'm trying to use NSURLConnection to send the push notification from the device. This is my code: - (void) test { NSMutableURLRequest * request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://go.urbanairship.com/api/push"]]; [request setHTTPMethod:@"POST"];

Urban Airship crashes when calling takeoff

╄→гoц情女王★ 提交于 2019-12-14 03:45:09
问题 Upgrading to UrbanAirship 3.0.0 with Xcode 5.0, I'm getting an error when calling this code: [UAirship takeOff:config]; The error is +[NSJSONSerialization stringWithObject:]: unrecognized selector sent to class 0x3b2ca9fc 2013-09-19 15:02:31.981 [178:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSJSONSerialization stringWithObject:]: unrecognized selector sent to class 0x3b2ca9fc' This doesn't seem to appear when setting the key "inProduction" to

PhoneGap iPhone app crashing when push notification tapped

旧巷老猫 提交于 2019-12-13 04:14:24
问题 Xcode 4.2, using PhoneGap template, Urban Airship library. Xcode compiles my application and installs it on my iPhone, and I can send push notifications to it from the Urban Airship Web interface. So here’s my problem: If I tap on a notification while the app is open in the background, the app comes into the foreground. However, if the app is not already in the background when I tap a notification, the app intro screen briefly appears, and the app immediately crashes. At this point, the app

Using GCM, Urban Airship to send Push Notification

旧城冷巷雨未停 提交于 2019-12-13 01:32:43
问题 I have created a sample project in Google Console. Referring the sample from this site, http://code.google.com/p/blog-samples/downloads/detail?name=gcm_sample_update1.rar&can=2&q=#makechanges I got my registration Id. Now I don't know what to do next, how I can implement push notification in my app. I want to use Urban Airship to send push to my app. I have created a app in Urban Airship, by giving the package name, API key obtained through Google console. To my server I need to send the Apid

iOS project shows linker error for i386

血红的双手。 提交于 2019-12-12 03:42:56
问题 Today I tried integration of UrbanAirship in iOS project. Got linker error saying -logging is not found for i386 architecture. So I removed i386 architecture from lib. lipo -remove i386 libUAirship-1.4.0.a -output libUAirshipNew Then I got lots of linker error for i386 after adding this. Why still checking for i386 ? I used iOS only in valid architecture. How can I completely remove dependency with i386? UPDATES 1: Sorry for my confusion, we need i386 to run in simulator. How can I fix

Urban Airship Crashes in 2.0

陌路散爱 提交于 2019-12-12 01:24:24
问题 I keep getting this error -----l- networkStatusForFlags 2013-09-05 12:35:58.196 Guess The Distance[9730:c07] [D] +[UAirship executeUnsafeTakeOff:] [Line 181] Deleting the keychain credentials 2013-09-05 12:35:58:281 Guess The Distance[9730:16387] TestFlight: Started Session 2013-09-05 12:35:58.846 Guess The Distance[9730:c07] [D] +[UAirship executeUnsafeTakeOff:] [Line 184] Deleting the UA device ID 2013-09-05 12:35:59.144 Guess The Distance[9730:c07] *** Terminating app due to uncaught