Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-29-2010, 08:23 AM   #1 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 2
dannymichael is on a distinguished road
Question NSUserDefaults sync?

I am developing an app with in-app-purchases. If the user did make a purchase on his iPhone, I would like to save some hash to NSUserDefaults. After syncing the user's iPhone, iPad and/or iPod with iTunes, I would like the purchased feature to be available on each device.

1) Does iTunes sync NSUserDefaults to all devices?

2) Is NSUserDefaults somehow connected to the users AppleID?

3) Would this be the right way for remembering en 'transfer' to multiple devices?

4) Is transferring some hash possible without using the In-App framework?

5) Is it possible to check the AppleID with which the app is purchased?

Thanks in advance!
dannymichael is offline   Reply With Quote
Old 08-29-2010, 10:37 AM   #2 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

No.

No.

No.

Maybe.

Not inherently. You'd have to do something manual.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 08-29-2010, 05:06 PM   #3 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 916
lukeca is on a distinguished road
Default

Is the in-app purchase going to be the "non-consumable" type? If so that type of in-app purchase works the same way as app purchases do, so if a user purchases it on one device it will be free to purchase it on their other devices as long as they use the same iTunes account.
lukeca is offline   Reply With Quote
Old 08-31-2010, 08:05 AM   #4 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 2
dannymichael is on a distinguished road
Default

Thanks for the answers. I'll give it a spin. Everything would be solved if Apple adds the 'subscription'-type to [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]
dannymichael is offline   Reply With Quote
Old 08-31-2010, 12:18 PM   #5 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 916
lukeca is on a distinguished road
Default

Oh, there have been other threads about this, if it subscription based then I think you pretty much have to run your own server and the user would have to set up a username and password, then on other devices they own they could enter the username and password which would authorize with your server to unlock.
lukeca is offline   Reply With Quote
Reply

Bookmarks

Tags
appleid, nsuserdefaults, purchase

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 345
6 members and 339 guests
dre, freewind, hain, HemiMG, lendo, Newbie123
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,894
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:59 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0