Hi,

There are some method or value to make that show and alert into the app ( alert notification ) when a push incoming when the app is active ?

I´am using phonegap html5+css+js (dreamweaver) and when the app is active not happens anything, and i want to view an alert notification.

Thx you.

asked 27 Mar '14, 19:35
naitronet's gravatar image

naitronet
11113

Why don't you simply show an alert in the app when you receive the notification?

Something like (iOS example):

navigator.notification.alert(notification.aps.alert);
permanent link
answered 29 Mar '14, 23:02
shader's gravatar image

shader
3.9k7

Hi i have posted a question with similar issue and that code doesn't seem to work on mine. App not even firing the 'push-notification' event.

Here is the link: https://community.pushwoosh.com/questions/724/display-push-notification-in-alert-message-while-ios-app-is-open-phonegap

(29 May '14, 03:59) clintgh clintgh's gravatar image
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:

×352
×326
×165
×13

question asked: 27 Mar '14, 19:35

question was seen: 1,874 times

last updated: 29 May '14, 03:59