I grabbed the Hello World sample app from the guides and followed the walthrough to set everything up.

Managed to get it up and running ;-) iOS is fine but when I open the Android app there is an instant alert box on startup - the error is just a very long string on characters. I can click 'ok' and the app starts fine. It also receives notifications fine so im not sure why it has an error on startup?

Anyone else come across this?

On the Helloworld App all I changed were the iOS and Android ID's etc, zipped it up and sent to phonegap build, it built and installs fine.

Cheers

Mark

asked 04 May '14, 13:11
Mark%20Latham's gravatar image

Mark Latham
2115

Are you sure this is an error? It looks like you are seeing Android push token (it looks like a very long string of characters). It is safe to remove this alert.

Which repository did you use to get a sample app?

permanent link
answered 04 May '14, 14:41
shader's gravatar image

shader
3.9k7

Ah, Thanks.

Didnt spot the alert in the index.js //commented it out and all is good ;-)

Thanks!

permanent link
answered 04 May '14, 18:34
Mark%20Latham's gravatar image

Mark Latham
2115

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:

×447
×165

question asked: 04 May '14, 13:11

question was seen: 786 times

last updated: 04 May '14, 18:34