详细问题描述
(DCloud产品不会有明显的bug,所以你遇到的问题大都是在特定环境下才能重现的问题,请仔细描述你的环境和重现方式,否则DCloud很难排查解决你的问题)
[内容] ios在收到通知后立即点击推送,跳转到app中,提示应用已奔溃,自动关闭程序;
活动崩溃日志:
Last Exception Backtrace (0)#0 (null) in __exceptionPreprocess ()
1 (null) in objc_exception_throw ()
2 (null) in _CFThrowFormattedException ()
3 (null) in -[__NSDictionaryM setObject:forKey:].cold.2 ()
4 (null) in -[__NSDictionaryM setObject:forKey:] ()
5 0x103d5661c in -[PGPush processLocalMessage:type:] ()
6 0x103d5370c in -[PGPush onRevLocationNotification:isReceive:] ()
7 0x103d55a90 in -[PGPush userNotificationCenter:willPresentNotification:withCompletionHandler:] ()
8 (null) in -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] ()
9 (null) in -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] ()
10 (null) in -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] ()
11 (null) in -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] ()
12 (null) in -[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:] ()
13 (null) in __88-[FBSWorkspaceScenesClient sceneID:updateWithSettingsDiff:transitionContext:completion:]_bloc... ()
14 (null) in -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] ()
15 (null) in __88-[FBSWorkspaceScenesClient sceneID:updateWithSettingsDiff:transitionContext:completion:]_bloc... ()
16 (null) in _dispatch_client_callout ()
17 (null) in _dispatch_block_invoke_direct$VARIANT$mp ()
18 (null) in FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK ()
19 (null) in -[FBSSerialQueue _queue_performNextIfPossible] ()
20 (null) in -[FBSSerialQueue _performNextFromRunLoopSource] ()
21 (null) in CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION ()
22 (null) in __CFRunLoopDoSource0 ()
23 (null) in __CFRunLoopDoSources0 ()
24 (null) in __CFRunLoopRun ()
25 (null) in CFRunLoopRunSpecific ()
26 (null) in GSEventRunModal ()
27 (null) in UIApplicationMain ()
重现步骤
[步骤]
[结果]
[期望]
[如果语言难以表述清晰,拍一个视频或截图,有图有真相]
IDE运行环境说明
[HBuilder 或 HBuilderX。如果你用其他工具开发uni-app,也需要在此说明]
[IDE版本号] 2.3.7.20191024 编译器版本:2.3.7
[windows版本号]
[mac版本号]
uni-app运行环境说明
[运行端是h5或app或某个小程序?]
[运行端版本号]
[项目是cli创建的还是HBuilderX创建的?如果是cli创建的,请更新到最新版cli再试]
[编译模式是老模板模式还是新的自定义组件模式?]
App运行环境说明
[Android版本号]
[iOS版本号] 13.2.2
[手机型号] iPhone 7 Plus
[模拟器型号]
附件
[IDE问题请提供HBuilderX运行日志。菜单帮助-查看运行日志,点右键打开文件所在目录,将log文件压缩成zip包上传]
[App问题请提供可重现问题的代码片段,你补充的细一点,问题就解决的快一点]
[App安装包或H5地址]
[可重现代码片段]
联系方式
[QQ]
2 个回复
undefined0 (作者)
来个大佬回复一下吧
undefined0 (作者)
没人关注吗?