• (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions {

[UIApplication sharedApplication].applicationIconBadgeNumber = 0; // brake all , test on ios8.3

self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];

self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:self.viewController];
[self.window makeKeyAndVisible];

//-----------PUSHWOOSH PART-----------

// set custom delegate for push handling, in our case - view controller
//[PushNotificationManager pushManager].delegate = self.viewController;

// 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];

return YES;

}

asked 25 May '15, 13:02
%D0%98%D0%BB%D1%8C%D1%8F%20%D0%93%D0%BE%D0%BB%D0%BE%D0%B2%D0%B0%D0%BD%D0%BE%D0%B2's gravatar image

Илья Голованов
12

Hey,

Could you please be more detailed about the issue?

  1. What exactly does it mean "show window fail"?
  2. Are you using the latest SDK?
  3. Does the issue reproduce on the specific devices, or on all of them?
  4. Does it reproduce on our sample app?
permanent link
answered 26 May '15, 07:34
Benedict's gravatar image

Benedict
7127

What exactly does it mean "show window fail"? after touch on incoming push I don`t see window with beta rich page, if I move applicationIconBadgeNumber after window creation it's work fine another bad thing that "beta rich page" shows back button with html tags - like < p >< b >back< b >< p > Are you using the latest SDK? yes Does the issue reproduce on the specific devices, or on all of them? tested on iphone 5 Does it reproduce on our sample app? this test on your sample app

permanent link
answered 26 May '15, 17:09
%D0%98%D0%BB%D1%8C%D1%8F%20%D0%93%D0%BE%D0%BB%D0%BE%D0%B2%D0%B0%D0%BD%D0%BE%D0%B2's gravatar image

Илья Голованов
12

edited 26 May '15, 17:11

Thanks for the thorough reply. Could you please provide this sample project to Pushwoosh support for investigation?

permanent link
answered 27 May '15, 08:04
Benedict's gravatar image

Benedict
7127

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×352
×111
×12

question asked: 25 May '15, 13:02

question was seen: 1,168 times

last updated: 27 May '15, 08:04