Page 2 of 2

Debugging Question for iOS

Posted: Tue Feb 11, 2014 2:11 pm
by Maryna Brodina

Hello! You're right, you need to use pushNotificationDeviceID localStorage variable whis is automatically set on device ready event. If you add your code on device ready event most likely localStorage variable pushNotificationDeviceID is not set at the moment when your code is running. That's why if you need to get pushNotificationDeviceID specifically on device ready event there should be a little delay, for example 0.1 (use setTimeout).


Debugging Question for iOS

Posted: Tue May 20, 2014 3:35 pm
by RobertJay

Hello Katya.. I'm sure there's an obvious step I'm missing in using Weinre, but I cannot seem to get my iPhone listed as a connected device. I'm using the iPhone and desktop on the same network, and have enabled Weinre and am using that version of the app on the iPhone. The screen says "waiting for a connection" after I load the app on the iPhone. Thanks.


Debugging Question for iOS

Posted: Wed May 21, 2014 9:45 am
by Maryna Brodina