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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:31:15+00:00 2026-06-16T07:31:15+00:00

How it works – The app is a subscription to a service that works

  • 0

How it works – The app is a subscription to a service that works cross platform. On the iphone the initial purchase will get you 30 days of full functionality then after 30 days you can’t do ceirtain things until you buy a subscription with an in app purchase.

What I need – I need to know if it was the first run so that I can add the users info to the database. Or because it is cross platform they may have already paid for a subscription so I need to add 30 days to the user’s already existing subscription.

What I am doing now – Currently I am storing the identifierForVendor in the remote database and in NSUserDefaults there is a bool checked to see 1. if it is the first run and 2. if it is the first run to allow the user to add themselves to the database for a 30 day full use, or to add 30 days to their existing subscription.

The Problem – The problem is that if the user deletes the app then reinstalls it the NSUserDefaults will be deleted too, and the identifierForVendor will change and that will allow the user to add another 30 days to their subscription for free just by deleting and reinstalling the app.

Ideal Solution I originally wanted to do a subscription for the app, but I didn’t know how to check the receipt when the app is originally purchased and insert the user into the remote database. Also I don’t really know how to setup a subscription that isn’t an In App Purchase. I also thought about making the app free and then they can use the In App Purchase to buy the service but the app is useless without being able to connect to the remote server to build up data in the first place.

Bottom Line I would like to do one of the following

  1. Make the subscription on the first purchase (I need to be able to detect if the purchase is valid so I can enter the user info into the remote database)
  2. Make the app free then use In App Purchase to add subscription (Is it acceptable to have a free app that won’t do anything until you subscribe?)
  3. Leave it the way it is now (but find a more permanent solution to the identifierForVendor, and the identifierForAdvertising won’t work either because it can be turned off)
  • 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-06-16T07:31:17+00:00Added an answer on June 16, 2026 at 7:31 am

    This will help you so much. Basically it’s a wrapper for Keychain that is patterned after NSUserDefaults. It heled me a lot. Storing things in the Keychain makes them stay past app reinstalls.

    https://github.com/carlbrown/PDKeychainBindingsController

    This project is intended to make using the Mac OSX and iOS Keychains
    as easy as NSUserDefaults.

    It is a KVO-compliant Cocoa wrapper around the Mac OSX and iOS
    Keychains, and the model for this wrapper is NSUserDefaults, so the
    intent is that for the common cases you would normally want to call:

    [NSUserDefaultsController sharedUserDefaultsController] You should be
    able to call

    [PDKeychainBindingsController sharedKeychainBindingsController] And
    for the common cases you normally would have called:

    [NSUserDefaults standardUserDefaults] You should be able to call

    [PDKeychainBindings sharedKeychainBindings]

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

Sidebar

Related Questions

Works fine on Debug|iphone build. For Release|iphone I am getting following error: ld: duplicate
This works: <cfdirectory action=list name=qry directory=C:\inetpub\wwwroot\Atlas\ > </cfdirectory> <cfdump var=#qry#> So I know that
works on safari/firefox/chrome/opera for mac + pc. But not for safari iPhone. error occurred
This works in 10.7 but not in 10.8. How do I get this to
Everything works fine but I have problem getting source from service. I have SERVICE
I need a function that will clean a strings' special characters. I do NOT
It works for a few seconds and suddenly will be crashed. import java.util.*; import
Paperclip works fine in my rails 3 app, but its only creating one file.
Works fine on Chrome. Moreover, I'm using an ogg file so that's not the
Everything works fine when I try to get messages in a @Controller class, but

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.