Search code examples
apple-push-notificationsquickblox

How to change to production environment


I am using QuickBlox to relay push notification messages.

And no matter what I do, I seem to be stuck in the development environment.

What do I need to do to change it to production?


Solution

  • Read this article http://quickblox.com/developers/SimpleSample-messages_users-ios#How_QuickBlox_Push_Notifications_work

    #ifndef DEBUG
        [QBSettings useProductionEnvironmentForPushNotifications:YES];
    #endif