Hi,

i'm new at pushwoosh. i have a question: notifications that are sent by wordpress can be opened with the plugin in phonegap app browser?

many thanks Matteo

asked 13 Sep '15, 14:01
mamastudios's gravatar image

mamastudios
12

Hello. Could you please elaborate? Our push notifications can be opened on whatever mobile app that has Pushwoosh SDK on board.

permanent link
answered 15 Sep '15, 11:04
Benedict's gravatar image

Benedict
7127

edited 15 Sep '15, 11:04

Hi, notifications open properly, but will launch the default browser, in the case of IOS safari. I wish that was open the browser of my app based on PhoneGap. The app have the plugin "InAppBrowser" (https://github.com/apache/cordova-plugin-inappbrowser), but i do not know which script to enter to launch the plugin when you press on the notification.

many thanks :)

permanent link
answered 15 Sep '15, 11:10
mamastudios's gravatar image

mamastudios
12

Hi,

Indeed, Pushwoosh Cordova plugin opens the links in iOS safari browser (that's what iOS openURL method does). To open the link inside the app in childbrowser you'll need to pass the link not in the URL field, but in custom data. Then open this link from custom data manually in childbrowser in your push notifications handler.

permanent link
answered 18 Sep '15, 14:19
shader's gravatar image

shader
3.9k7

ok many thanks! there is no way to do this via javascript?

permanent link
answered 19 Sep '15, 06:48
mamastudios's gravatar image

mamastudios
12

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:

×326
×111
×4

question asked: 13 Sep '15, 14:01

question was seen: 950 times

last updated: 19 Sep '15, 06:48