我正在将titanium branch.io模块与企业客户端项目集成。我使用OneSignal进行推送通知。收到推送通知后,OneSignal模块启动应用程序并触发事件" getNotificationData"。从这个事件中我解雇了branch.initSessionWithData(" Branch-URL");
此问题仅适用于Android。 iOS我用handlePushNotification()方法管理。
我得到的大部分时间" {}"响应,我无法导航特定页面。但当我强行杀死应用程序并再次启动时,现在得到分支的响应并导航到特定页面。
(KrollRuntimeThread) [2076,5122] start init with data =http://links.shukranrewards.com/shuk-enrollment (KrollRuntimeThread) [2,5124] Uri is http://links.shukranrewards.com/shuk-enrollment (KrollRuntimeThread) [11,5135] inside onInitFinished (KrollRuntimeThread) [0,5135] return is not null (KrollRuntimeThread) [0,5135] {} (KrollRuntimeThread) [0,5135] start createSessionDict (KrollRuntimeThread) [0,5135] data: (KrollRuntimeThread) [1,5136] {} (KrollRuntimeThread) [0,5136] start parseJSONObject
答案 0 :(得分:0)
我希望你能为你的客户服务。在我们最有可能添加对Titanium的支持之前,还需要一段时间。