Discussion Forums  >  Self Hosted Control Panels

Replies: 1    Views: 73

Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
02/24/13 07:57 AM (12 years ago)

Push Notification Error Trapped in bt_pushNotifications_AJAX.php

I am trying to get up push notifications for Android. The situation is as follows: 1. I have followed all the manuals and got one registered device. It is on my emulator. I had to add the google account in there and then it worked. 2. I have an HTC Wildfire S model of phone and it is not receiving messages. The app on that phone asks for the permission to receive notifications, I allow it and then it says that it is registered for the notifications. However, I never see it in the control panel as a registered device. 3. I applied modifications that were suggested in other threads https://www.buzztouch.com/forum/thread.php?fid=5F77E75FCE0C7DDCDA7C9EE&tid=5F77E75FCE0C7DDCDA7C9EE but there is no change whatsoever. I also eliminated phonemodel from the calling string in Push Notification settings in my hosted panel, but that produced no change whatsoever. 4. When I try to send out the message, the emulator receives it but the physical phone just won't. In the panel, there is an error Oops, a PHP error was trapped. File: /home/bestappb/public_html/bt/bt_v15/bt_app/bt_pushNotifications_AJAX.php Line: 323 Message: Undefined property: stdClass::$error I uploaded that file from the latest build of 2.1.8, but to no avail. 5. This is a mixture of problems that other people here on the forums have shared information about. I would like to have push modifications in my apps, but if that is not coming immediately, I would like to publish my app and hope that in the next round of improvements, this will be settled. The question is -- should I wait just a day or two more or should I publish immediately?
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
02/24/13 09:04 AM (12 years ago)
@Dusko, I'm using a Wildfire too. I know this sounds strange, but sometimes it registers and sometimes it doesn't (with the deviceModel parameter removed from the url). Personally, I'm going to wait a few days before releasing anything. I know David is looking into it.
 

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.