Hello. I've tried to create my first simple Phonegap Build App with Pushwoosh integration for Android.

I downloaded the sample from https://www.pushwoosh.com/programming-push-notification/android/android-additional-platforms/phonegap-build/ and tried to integrate a mobile website with javascrypt'window.location' in the index.html.

Result: There seems to be a problem with the device registration because after App installation no new user is shown.

When I use only the sample files everything works fine.

Question: How can I integrate my mobile website and everything works correctly?

asked 22 Dec '14, 04:19
Tiwel's gravatar image

Tiwel
111

You can try redirecting user to mobile website after push registration succeeds. However that would be a bad practice since it could take time and you don't want your users to see blank screen.

The options would be from the top of my head - try to use iframe with mobile website.
Or try to use ChildBrowser plugin to open mobile webste.

permanent link
answered 25 Dec '14, 14:38
shader's gravatar image

shader
3.9k7

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
×91
×13

question asked: 22 Dec '14, 04:19

question was seen: 745 times

last updated: 25 Dec '14, 14:38