Hi, I'm using onPushOpened in alloy.js to catch click in notification and redirect to specific controller, but not work. In Android works. Code:

Alloy.js

var pushwoosh = require('com.pushwoosh.module'); pushwoosh.onPushOpened(function(e) { var handlePush = e; _.defer(Alloy.Globals.AppRoute.openByNotification, handlePush); });

Tiapp.xml <key>UIBackgroundModes</key> <array> <string>remote-notification</string> </array>

asked 10 Jan '17, 18:27
jagu's gravatar image

jagu
1

Hello,

May I ask you to use the Appcelerator Sample Build and see whether the issue is reproducible on it? You can get the Sample by the link below:

https://github.com/Pushwoosh/pushwoosh-appcelerator-titanium/tree/master/Titanium-Sample-iOS-Android

permanent link
answered 11 Jan '17, 07:18
Oleg%20Zhukov's gravatar image

Oleg Zhukov
2174

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×353
×326
×30

question asked: 10 Jan '17, 18:27

question was seen: 519 times

last updated: 11 Jan '17, 07:18