Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 83

Bertrand
Apple Fan
Profile
Posts: 163
Reg: Dec 26, 2012
saint-quentin f...
4,680
09/16/13 05:38 AM (12 years ago)

Push notification not send

Hi everyone, I have a problem, I configure my applications to receive push. That function in development 1 month ago. Since, the applications are available on the appstore. But now I don't receive the push notification and I don't find the solution :/ Can you help me please ? Thanks !!!
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
09/16/13 07:10 AM (12 years ago)
Make sure push is enabled for production.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
09/16/13 07:22 AM (12 years ago)
Do you have your production certificate uploaded correctly? Also, did you remember to manually change the bt_config.txt file in Xcode from design to live?
 
Bertrand
Apple Fan
Profile
Posts: 163
Reg: Dec 26, 2012
saint-quentin f...
4,680
like
09/16/13 07:36 AM (12 years ago)
Yes, the push is enabled for production but I didn't change the bt_config.txt. What serve this mode ? Sorry but this is the first time I send an application with the push.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
09/16/13 07:38 AM (12 years ago)
Yep - I made the same mistake my first time messing with push. The code in the app looks at the actual BT_config.txt file included at time of build when determining which type of push to receive. You'll have to manually change it in Xcode and send an update to the App Store.
 
Bertrand
Apple Fan
Profile
Posts: 163
Reg: Dec 26, 2012
saint-quentin f...
4,680
like
09/16/13 07:41 AM (12 years ago)
ok, I must let the design mode in buzztouch? I just need to change BT_congig.txt (currentMode : Design => currentMode : Live) before send an update ? But why I didn't receive the push in Design mode with Buzztouch ? Because I use an version of the application which comes from the AppStore ?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
09/17/13 08:54 AM (12 years ago)
Yep - that's the screwy thing with push on Buzztouch. If the app is downloaded from the App Store, it is "live" for push purposes (i.e., it was signed with a production certificate). If the app was loaded from XCode, it is "design" (i.e., it was signed with a development certificate). But when the device registers itself on the Control Panel, it looks at the BT_config.txt file to see whether it should be registered as "design" or "live". If there's a mismatch, the control panel won't know, but you'll never get the push notification.
 
Bertrand
Apple Fan
Profile
Posts: 163
Reg: Dec 26, 2012
saint-quentin f...
4,680
like
09/18/13 05:00 AM (12 years ago)
ok I send an upadate today changing the mode, hoping it works. Thanks for your help Chris.
 

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.