Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Debugging Question for iOS

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).

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Debugging Question for iOS

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.

Return to “Issues”