如何使用 worklight 7.1 在 windows phone silver light 环境中添加本地通知插件

How to add local notification plugin in windows phone silver light Environment using worklight 7.1

我们正在使用 IBM Worklight 7.1 开发混合移动应用程序。在这个应用中我们要添加本地通知插件,在android环境中我们添加成功,现在我们正在尝试在windowsphone银光环境中添加本地通知插件。

使用下面link我们将在windows phone silver light中添加本地通知插件 Adding Local notification plugin in windows phone silver light

在 link 中,他们为原生 windows 环境提供了 .js 文件,据我所知,.js 文件仅用于 windows 环境,不适用于 windows phone银光。我需要将本地通知插件的 .cs 文件添加到 windows phone silver light native 环境中。任何人都可以为我们提供本地通知插件的 .cs 文件并需要有关如何在 windows phone silver light 中添加 .cs 文件的步骤。

您最好的选择是遵循此博客 post 中描述的集成建议:https://mobilefirstplatform.ibmcloud.com/blog/2015/08/03/integrating-3rd-party-cordova-plug-ins/

或者实施您自己的一个:https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/adding-native-functionality/windows-phone-8-adding-native-functionality-hybrid-application-apache-cordova-plugin/

如果这不起作用(并且还要考虑注释和问题),我的建议是尝试使用 MobileFirst Foundation 8.0,它为 Codrova 应用程序提供全面支持(您创建一个标准的 Cordova 应用程序,而 MobileFirst SDK 是一个 Cordova 插件)。这消除了您迄今为止遇到的任何障碍,并使您能够使用 Cordova plug-man 和其他解决方案。