Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 17    Views: 74

Skywalker
Apple Fan
Profile
Posts: 117
Reg: Dec 25, 2013
上海
1,670
06/29/14 01:15 AM (10 years ago)

The Push Notification Problem

Has anybody here used the push notification functions? I have met a problem about this. I already published an app using the great buzztouch platform: you can find the app here: https://itunes.apple.com/us/app/classical-museum/id870490183?ls=1&mt=8 Now with the users grow quickly(already 1089 devices register push notification function), I want to push some notifications to let them know new features, but failed... I have two questions: 1. I found that all the registed devices are design devices, no devices registerd in live mode, why? Since I distruted this app using the production certificate and provison file, in my opiton, the 1089 registered devices should be in live mode,right? 2. I have both tried the developming and production pem file in both design or live mode, neither could succeed, my devices cound't receive any messages, why? Does anybody what's wrong with this? Thanks and Regards, Skywalker 
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
06/29/14 01:17 AM (10 years ago)
Same issues as you that's why I use Parse now. Adam
 
Skywalker
Apple Fan
Profile
Posts: 117
Reg: Dec 25, 2013
上海
1,670
like
06/29/14 01:19 AM (10 years ago)
hi, Adam thanks for your reply. May I know what's Parse and how to use it?
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
06/29/14 02:39 AM (10 years ago)
Go to Parse.com It's a third party push notification service. It is a really easy set up- https://drive.google.com/file/d/0B1LLiM88XN8wMjNHdEtQV3JEWUk/preview?pli=1 Adam
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
06/29/14 05:55 AM (10 years ago)
I've got the same problem except that my newest app which is self hosted 3.0 ios. Some devices are registering in design mode and some are registering in live mode. Hopefully BT 4.0 will cure this problem. Dave
 
Moto110
Aspiring developer
Profile
Posts: 205
Reg: Jul 26, 2011
Orlando, FL
8,700
like
06/29/14 06:17 PM (10 years ago)
I had problems with BT push notifications as well. This is what I did to fix it. Unfortunately you will need to change some code in Xcode and submit an update to Apple. https://www.buzztouch.com/forum/thread.php?tid=6B929DD9BEA427FE2EB276E&fid=06DB0BCB08E2222&sortColumn=FT.id&sortUpDown=&currentPage=1
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
06/30/14 12:46 AM (10 years ago)
Thank you Moto110! That did the trick. Do you know how to get rid of all device tokens at once. Have an app with over 100K devices registered. I would have to go through 1000 pages. Adam
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
06/30/14 12:50 AM (10 years ago)
Also Skywalker, you have 1K users on app that cost $10? Adam
 
Skywalker
Apple Fan
Profile
Posts: 117
Reg: Dec 25, 2013
上海
1,670
like
06/30/14 01:01 AM (10 years ago)
Yes, but it also cost me $800 Ad fee with admob and iAd network.
 
Skywalker
Apple Fan
Profile
Posts: 117
Reg: Dec 25, 2013
上海
1,670
like
06/30/14 01:02 AM (10 years ago)
@Moto110 Thanks so much for your solution. I will try it next time when I make a upgrade. ^_^
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
06/30/14 01:53 AM (10 years ago)
You made a huge profit still congrats
 
Skywalker
Apple Fan
Profile
Posts: 117
Reg: Dec 25, 2013
上海
1,670
like
06/30/14 01:57 AM (10 years ago)
@Adam Thanks, this APP almost cost me 2 months, you can see I have done lots of the collection jobs, the songs, the introduction, the pics etc... The sales of first 2 weeks is best, cause the App store put my app in the cover page of music catalog, now it also sank in the bottom of the sea. Do you have any good solution for marketing and promoting apps? Regards, Skywalker
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
06/30/14 02:07 AM (10 years ago)
Personally haven't marketed my apps, but look at websites that associate with your app. Try buying an ad slot. That's my recommendation. Also, just research how others marketed their own apps. Adam
 
Moto110
Aspiring developer
Profile
Posts: 205
Reg: Jul 26, 2011
Orlando, FL
8,700
like
06/30/14 05:31 AM (10 years ago)
@Adam - If you select the check box at the top of the list it will select everything on the page and you can delete them that way. Might not be exactly what you wanted to hear, but that is the only way I know of to remove device tokens from the BT control panel.
 
Skywalker
Apple Fan
Profile
Posts: 117
Reg: Dec 25, 2013
上海
1,670
like
07/23/14 12:38 AM (10 years ago)
@Moto hi, Moto, I have done as you said and update a new version on the appstore. It'ok now that I can get lots of devices report in live mode now, but I can't still put the notification successfully. you can see the photo here: https://www.dropbox.com/s/f9d60pxoz2bhx6u/pushnotifications.jpg Do you know what's wrong with this and how to resolve this problem? Thanks and Regards, Skywalker
 
Moto110
Aspiring developer
Profile
Posts: 205
Reg: Jul 26, 2011
Orlando, FL
8,700
like
07/23/14 07:17 AM (10 years ago)
I want to say that the first one or two I tried to send didn't go through successfully. However, I kind of think that was because my devices had the app install from Xcode first and a setting or something might have been stuck in the device. Are you sure it's not working on other devices? It could be that your devices aren't working because the app on your phone is still from Xcode and not the distribution build. That makes a difference. This is just me thinking out loud. Once I got the iOS devices to show in live mode it seemed to fix all of my problems. Did you delete all of the iOS devices from the push control panel so they could register again?
 
Skywalker
Apple Fan
Profile
Posts: 117
Reg: Dec 25, 2013
上海
1,670
like
07/24/14 01:40 AM (10 years ago)
yes, I have deleted all the devices in the control panel, you can see from the link photo that it only has 50 devices re-registered currently, before that it has 1000... what I did is that delete the app from my iphone and ipad and redownloaded it from the appstore. after that I didn't receive any push notifications. And there is one strange thing I noticed is that after I first run the new app on my devices, it only ask me whether to send the GPS info, no push notification option, I am sure that I already enabled the push notification function in the control panel. Do you think is that the reason? Even I delete the app in my devices, the new app will not register my device in the live mode? and my devices are still in the design modes?
 
Moto110
Aspiring developer
Profile
Posts: 205
Reg: Jul 26, 2011
Orlando, FL
8,700
like
07/24/14 05:50 AM (10 years ago)
It's not that uncommon for the app to not ask about push notification if you already allowed it it before. I would delete the app from your phone remove all devices from control panel again and then download the app from the app store again and open it. Then check the control panel and you should see "your" iOS device. hopefully it will say "live" mode next to "your" device which should be the only one listed at this time. This will be a good way to test and see what is going on with the registration from the app store install of the app.
 

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.