iOS上的PushWoosh AIR ane:在iOS上禁用警报

iOS上的PushWoosh AIR ane:在iOS上禁用警报,ios,actionscript-3,air,push-notification,pushwoosh,Ios,Actionscript 3,Air,Push Notification,Pushwoosh,我用的是PushWoosh AIR ANE: 当我的设备在应用程序处于前台时收到推送通知时,PushWoosh SDK会自动显示通知内容和两个按钮:“取消”和“确定” 我做了一些研究,在PushNotificationManager.h(PushWoosh iOS SDK)中发现了这一点: 不幸的是,我无法找到使用ANE(在AS3中)将此参数设置为FALSE的方法。 所以我想我应该自己编一份电子邮件。 我试过了,但没有成功。我在编译过程中出现错误: android/src/com/arellom

我用的是PushWoosh AIR ANE:

当我的设备在应用程序处于前台时收到推送通知时,PushWoosh SDK会自动显示通知内容和两个按钮:“取消”和“确定”

我做了一些研究,在PushNotificationManager.h(PushWoosh iOS SDK)中发现了这一点:

不幸的是,我无法找到使用ANE(在AS3中)将此参数设置为FALSE的方法。 所以我想我应该自己编一份电子邮件。 我试过了,但没有成功。我在编译过程中出现错误:

android/src/com/arellomobile/android/push/ADMRegistrar.java:32: error: package com.amazon.device.messaging does not exist
所以我有两个问题:

1) 当应用程序在SDK外的前台运行时,有没有办法防止PushWoosh SDK在接收推送时显示警报(可能使用远程API?使用本机扩展?)

2) 如果1)的答案是否定的,我如何自己编译电子邮件


非常感谢。

我看到这个问题已经在github上解决了,所以我在这里发布了链接:

新的ANE已承诺用于github回购。 要控制警报,请使用布尔值YES或NO将“Pushwoosh\u SHOW\u alert”键添加到Info.plist文件中

谢谢

Pushwoosh团队

android/src/com/arellomobile/android/push/ADMRegistrar.java:32: error: package com.amazon.device.messaging does not exist