Discussion Forums  >  Self Hosted Control Panels

Replies: 1    Views: 122

Rishav
Code is Art
Profile
Posts: 153
Reg: Jan 26, 2012
Dubai
8,780
04/18/13 06:10 AM (12 years ago)

Push Notifications bugs solved

Today i solved nearly all the bugs and errors i could find the self hosted control panel regarding push notifications. I had posted about a few solutions few days back http://www.buzztouch.com/forum/thread.php?tid=A5B2DEEDD261E59DDF5C896&fid=06DB0BCB08E6666 In addition to the above i found one more bug that is the androidDeviceTokens field in bt_apn_queue table is of Text type which can hold only 65536 characters only. The average android device token is of 140 characters so according to that it can store only 460-470 device tokens so due to this bug are post was not being sent to more then first 460-470 devices in the order they registered. To solve this issue just change datatype of androidDeviceTokens to Long Text via phpMyadmin.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
04/18/13 07:15 AM (12 years ago)
Wow. Great tip. I'm thinking these fixes may be picked up BT and added after they test them out. Way to keep at this and nail it. Key Stuff.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.