0
в моем приложении pushNotificationManager дает мне pushToken равный ноль ... только с IOS 8.1.3 .... устройством является ipad3. С другим устройством (или с другой версией IOS) мой тест это нормально ..token pushwoosh is nil
я использовал этот код для вызова getPushToken ...
[[PushNotificationManager pushManager] getPushToken]
и в моем AppDelegate у меня есть
-(void) settingPushwoosh:(NSDictionary *)launchOptions {
// set custom delegate for push handling, in our case - view controller
PushNotificationManager * pushManager = [PushNotificationManager pushManager];
pushManager.delegate = self;
// handling push on app start
[[PushNotificationManager pushManager] handlePushReceived:launchOptions];
// make sure we count app open in Pushwoosh stats
[[PushNotificationManager pushManager] sendAppOpen];
// register for push notifications!
[[PushNotificationManager pushManager] registerForPushNotifications];
}
Да Я получаю обратный вызов делегата. Объект pushNotificationManager не равен null, но все его свойства равны нулю. – Psycho80