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 7638657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:13:42+00:00 2026-05-31T08:13:42+00:00

I faced this scenario when I was testing push notifications on iOS. when user

  • 0

I faced this scenario when I was testing push notifications on iOS.
when user register to receive remote notification. He add list of conditions when achieved the user should receive a notification. I keep this list of conditions on sqlite file on device. If the user deleted the app, this list is gone.

What is the best approach to handle this:

  • Keep the conditions list on server so if user re-installed the app he
    can get the last list using his device token and continue receiving
    notification from server.
  • If user deleted the app and reinstalled it, he should not see the old
    notifications.

I would appreciate your help,
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-31T08:13:43+00:00Added an answer on May 31, 2026 at 8:13 am
  2. Keep the conditions list on server so if user re-installed the app he can get the last list using his device token and continue receiving notification from server.
  3. This is a good choice.

  4. If user deleted the app and reinstalled it, he should not see the old notifications.
  5. Keep a flag in the default plist as NO. on first start check if the user has already read notifications in the server using device token. then set flag to YES. So when next time user re-installs the app, you can provide the latest notifications as the list of already read notifications are safe on your server.

    Happy coding

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

Sidebar

Related Questions

I am working on prolog and faced this scenario - In my query, I
I have faced this problem quite often during the last couple of months, during
When I deployed my application on the server I faced this issue: Request.Url.ToString(); returns
This was an job placement interview I faced. They asked whether we can realloc
This is an interview question I faced recently. Given an array of 1 and
I am faced with the following issue and at this point I feel like
I have faced the same problem many times. The Same Problem was With This
This is a hypothetical scenario. Let's say you've just been hired at a company
I'm faced with a bit of an issue. The scenario is that I have
How can I construct this scenario? I want to build a game where the

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.