Hello!
Every time I run my app with Urban Airship SDK on my phone, it crashes after a few seconds with this error:
My AppDelegate.cs:
[Register("AppDelegate")]
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();
LoadApplication(new App());
UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false);
UAirship.TakeOff();
UAirship.Push.UserPushNotificationsEnabled = true;
return base.FinishedLaunching(app, options);
}
}
My AirshipConfig.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>detectProvisioningMode</key>
<true/>
<key>developmentAppKey</key>
<string>aVf7WPfwSwCV2_n3ki3cIQ</string>
<key>developmentAppSecret</key>
<string>r6d2ayBZS-S4QBOnH3-rqQ</string>
<key>productionAppKey</key>
<string>Your Production App Key</string>
<key>productionAppSecret</key>
<string>Your Production App Secret</string>
</dict>
</plist>
Comments
9 comments