Page 2 of 2

Push pushNotification troubles

Posted: Tue Feb 12, 2013 10:12 pm
by Emmz

Ok. Will try once more..


Push pushNotification troubles

Posted: Tue Feb 12, 2013 11:51 pm
by Emmz

Ok..
Following this ..https://getsatisfaction.com/tiggzi/to...

Testing in project works fine ! But....
In the Tiggzi App tester.
I can register app using device1 and token 1(i get success event).
register device fails if i try return localStorage.getItem('pushNotificationDeviceID');
for Deviceid & return localStorage.getItem("pushNotificationToken");

As I have said b4. These values are . DeviceID = "Class not found"
and Token is Undefined....
I double checked my google API's registration #'s again and again...

Key for browser apps (with referers)
API key: AIzaSyANdtHB5qcRpTBAHO.....
Sender ID 30284.....

Is there a way to get the response data even if failed? Or other info to help debug b4 I pull/Push my hair out?


Push pushNotification troubles

Posted: Wed Feb 13, 2013 3:18 am
by Emmz

Update.
This Does NOT work in Tiggzi App tester....
I exported project in eclipse and ran on phone. Now The device ID and Token shows up!! sweet..
Now just need to get the subscribe working..


Push pushNotification troubles

Posted: Wed Feb 13, 2013 6:25 am
by Emmz

Got it working !!

The key is not to run in Tiggzi tester... Wish I had known that b4 hand. Would have saved alot of time for all.
Regardless, thanks to Katya for her assistance.

Only question now is..
Does the subscribe to channel fail if already subscribed?
Get channels now fails since I'm registered.. Not know why..


Push pushNotification troubles

Posted: Thu Feb 14, 2013 2:58 pm
by Maryna Brodina

Hello! Did you get it working? We tried to reproduce this problem, but no success. Maybe there are some exact steps to reproduce. Could you clarify please?


Push pushNotification troubles

Posted: Thu Feb 14, 2013 5:39 pm
by Emmz

Push pushNotification troubles

Posted: Fri Feb 15, 2013 4:59 pm
by Emmz

Simple... Don't use Tiggzi app tester and it works fine.
In the app tester the deviceid is no class found and the token is undefined..
If same app is compiled it works good.
So No issues. Just does not work with tiggzi's mobile app tester..