Hi,

Notifications are received fine. But the problem is that whenever the app is not running, then clicking on the notification doesn't open the app. On touch, the notification just disappears.

Any solution? (Using Adobe Air Android.) Thanks.

asked 26 Feb '14, 21:14
hladini's gravatar image

hladini
1112

Hello,

Generally, the most common way to solve this issue is to try to change the following line

<activity android:name="com.arellomobile.android.push.PushHandlerActivity" />

with

<activity android:name="com.arellomobile.android.push.PushHandlerActivity" android:exported="true" />

in the AndroidManifest.xml.

If it doesn't help, please contact our support (http://pushwoosh.com/contact-us) for further investigation.

permanent link
answered 05 Mar '14, 06:51
Shmakov's gravatar image

Shmakov
1762

Also, one other solution is to use a custom url scheme to open your app, and in the push notification use that url scheme. You will need to define an intent like this:

<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
    <data android:scheme="yourappscheme" />
</intent-filter>

In this case any url that starts with "yourappscheme://" would open your app. Just make sure you use that scheme in the url parameter when you send off your push notification.

permanent link
answered 20 Mar '14, 15:19
bkelley's gravatar image

bkelley
4116

edited 20 Mar '14, 15:29

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:

×446
×32
×11
×1

question asked: 26 Feb '14, 21:14

question was seen: 5,802 times

last updated: 26 Jun '14, 12:53