MFP应用程序在应用程序未运行时在PUSH通知期间在点击时崩溃 [英] MFP application is crashing on tapping during PUSH notification when application is not running

查看:237
本文介绍了MFP应用程序在应用程序未运行时在PUSH通知期间在点击时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当应用程式未执行时(即使在背景中),当您按下推播通知时,我遇到应用程式当机。
如果应用程序正在后台运行,则不会发生崩溃。
Worklight版本是7.1,iOS版本是8.1.3。

I am experiencing application crash when tapping on push notification when application is not running (even in background). If application is running in background application crash does not occur. Worklight version is 7.1, iOS version is 8.1.3.

对于推送通知注册和接收我使用Push插件 https://github.com/phonegap/phonegap-plugin-push 与Worklight生成的AppDelegate合并。
如果需要我可以发送我的源代码。

For push notifications registration and receiving I am using Push plugin https://github.com/phonegap/phonegap-plugin-push merged with Worklight generated AppDelegate. If needed I can send my source code.

从崩溃日志我发现异常发生在Push.m:
3 cmoapp 0x10018b2a4 - [ Push dispatch:](Push.m:227)
4 cmoapp 0x10018ad48 - [push dispatchSelector:](Push.m:204)

From crash log I found that exception occurs in Push.m: 3 cmoapp 0x10018b2a4 -[Push dispatch:] (Push.m:227) 4 cmoapp 0x10018ad48 -[Push dispatchSelector:] (Push.m:204)

从你的Push.m源代码来了解为什么应用程序崩溃?
任何帮助将不胜感激。感谢。

Is it possible to get from you Push.m source code to understand why app crashes? Any help would be appreciated. Thanks.

推荐答案

从MobileFirst的角度看,如果您使用的是第三方推送解决方案, MFP ,那么这不是支持的方案,不能提供支持。

From a MobileFirst perspective, if you are using a 3rd party push solution instead of the one provided by MFP, then this is not a supported scenario and support cannot be provided.

MFP中有一个内置的推送支持。请使用或解释你不使用它。请参阅: https://developer.ibm.com / mobilefirstplatform / documentation / getting-started-7-1 / foundation / notifications /

There is a built-in push support in MFP. Please use that or explain what you are not using it. See here: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/notifications/

这篇关于MFP应用程序在应用程序未运行时在PUSH通知期间在点击时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆