Closed robertodias180 closed 4 years ago
I am trying to see if the user open the app from notification. But none of the alert will appear on screen. Can you tell me what am i doing wrong?
[[[MMPReactiveNotification service] localNotificationsOnLaunch] subscribeNext:^(id x) { [[[UIAlertView alloc] initWithTitle:@"" message:@"1" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] show]; } error:^(NSError *error) { [[[UIAlertView alloc] initWithTitle:@"" message:@"2" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] show]; } completed:^{ [[[UIAlertView alloc] initWithTitle:@"" message:@"3" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] show]; }];
Yeah, there definitely is a problem in localNotificationsOnLaunch. It doesn't seem to work. I'll try to fix it later.
localNotificationsOnLaunch
I am trying to see if the user open the app from notification. But none of the alert will appear on screen. Can you tell me what am i doing wrong?