Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 城市飞艇&x2B;沙马林_Ios_Xamarin_Components_Urbanairship.com - Fatal编程技术网

Ios 城市飞艇&x2B;沙马林

Ios 城市飞艇&x2B;沙马林,ios,xamarin,components,urbanairship.com,Ios,Xamarin,Components,Urbanairship.com,我试图在使用Mvvmx的Xamarin应用程序中实现城市飞艇。我通过组件库安装了该组件。我们只需要增加三件事: 飞机起飞 AirshipConfig.plist文件 UAirship.Push.UserPushNotificationsEnabled=true 调用时,我得到一个对象引用空指针 UAirship.Push.UserPushNotificationsEnabled = true; 是否有人在Xamarin.iOS中成功实施了城市飞艇 我们在UA有一个本地iOS应用程序的帐

我试图在使用Mvvmx的Xamarin应用程序中实现城市飞艇。我通过组件库安装了该组件。我们只需要增加三件事:

  • 飞机起飞
  • AirshipConfig.plist文件
  • UAirship.Push.UserPushNotificationsEnabled=true
调用时,我得到一个对象引用空指针

 UAirship.Push.UserPushNotificationsEnabled = true; 
是否有人在Xamarin.iOS中成功实施了城市飞艇


我们在UA有一个本地iOS应用程序的帐户,并希望继续将其用于我们的Xamarin应用程序。

您何时调用
UAirship.Push.usernotificiaontsenabled
?它必须在起飞后调用

我也有这个问题。我已经添加了AirshipConfig.plist并设置了值,但是应用程序是否需要引用我不知道的plist?文档只是说提供AirshipConfig.plist。

我在
UAirship.takeOff()之后立即调用了它在AppDelegate didFinishLaunching中:检查日志。如果你的飞艇配置无效,如果飞艇配置无效,起飞将提前中止。