Hi all, referring to cordova integration, the guidelines suggest to first call onDeviceReady() and than registerDevice() when deviceready event fires. Because, apparently, there is no callback mechanism to intercept success/error on onDeviceReady method, i'm just asking how to check and manage the cases (if any) in which it will eventually fails: do the entire initialization process will be compromized (so that it is unuseful to subsequent call registerDevice)?

Thanks & Regards.

asked 24 Mar '16, 12:41
Ernie's gravatar image

Ernie
112

edited 24 Mar '16, 12:47

Be the first one to answer this question!
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:

×190
×9
×5

question asked: 24 Mar '16, 12:41

question was seen: 360 times

last updated: 24 Mar '16, 12:47