Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7668225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:18:31+00:00 2026-05-31T15:18:31+00:00

I am implementing Push Notification using Urban Airship library. I am able to receive

  • 0

I am implementing Push Notification using Urban Airship library. I am able to receive push notifications from Test Push Notifications. Now when I click on View i.e. action button of the push notification alert, my app launches but unable to get the call back in didFinishLaunchingWithOption and applicationDidBecomeActive either. Here is what I am doing so far in my didFinishLaunchingWithOption,

// Check if App running in Simulator.
        [self failIfSimulator];

        NSDictionary *remoteNotification = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];

        if (remoteNotification != nil) {
            NSString *message = [remoteNotification descriptionWithLocale:nil indent: 1];
            NSLog(@"Message in didFinishLaunchingWithOptions: %@",message);
        } 

        //Init Airship launch options
        NSMutableDictionary *takeOffOptions = [[[NSMutableDictionary alloc] init] autorelease];
        [takeOffOptions setValue:launchOptions forKey:UAirshipTakeOffOptionsLaunchOptionsKey];

        // Create Airship singleton that's used to talk to Urban Airship servers.
        // Please populate AirshipConfig.plist with your info from http://go.urbanairship.com
        [UAirship takeOff:takeOffOptions];

        // Register for notifications
        [[UIApplication sharedApplication]
         registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge |
                                             UIRemoteNotificationTypeSound |
                                             UIRemoteNotificationTypeAlert)];

Now when i receive any notification using Test Push and on clicking on View button my app gets launched but didFinishLaunchingWithOption is not getting called. AM I missing any thing? Also, I want to show my own ui when u View the notification.

Please guide me If I am missing any thing. Also some samples, links may be helpful.
Thanks in advance…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:18:32+00:00Added an answer on May 31, 2026 at 3:18 pm

    Maybe the app is already launched? You need to also implement:

    application:didReceiveRemoteNotification:
    

    In there you will get the notification even when the app has already been launched.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've integrated push notifications in my app. Users will receive push notification to join
In my application i used Urban Airship for push Notification, But Urban Airship push
while i'm using push notification in iphone with local server(used php), not able to
Need help for implementing PUSH notification in android. wanted to know from which android
I am using push notification via urbanairship.com. Urbanairship also provides rich push notifications. I
I implemented push notifications using APNS-PHP http://code.google.com/p/apns-php/ on my server. I now have to
I'm implementing push notification and i'm managing it when user is using app. So
I am implementing a push notification in my application. Server: php Client: iphone Sever
I am implementing C2DM for push notification in an android application, it need at
I'm implementing an windows phone 7 application with push notification. The push notification would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.