Search results for

“restore purchases”

22,023 results found

Post

Replies

Boosts

Views

Activity

Restore window to correct screen
I have recently added a second monitor to my iMac.In my NSWindowController I have:override func windowDidLoad() { window!.titleVisibility = NSWindow.TitleVisibility.hidden window!.setFrameAutosaveName(window!.title) }and in IB, the Restorable attribute for the window is enabled.This works fine with just one monitor and the window is restored to its previous offsets..If I move the window to the external monitor, Quit and relaunch the application, the window is restored to the primary monitor at the offsets it had on the external monitor. (i.e. correct position on the screen but incorrect monitor)Do I need to explicitly save and restore the window screen info or am I missing some other window attribute that should be set.
Topic: UI Frameworks SubTopic: AppKit Tags:
0
0
623
Mar ’19
Restoring IOS Simulator Devices
I accidentally removed the Library/CoreSimulator/Devices directory. I no longer have any IOS Simulator devices.I un-installed Xcode and re-installed, but it did not restore the IOS simulator devices. Is there another way to restore the simulator devices (without restoring from a backup)?
2
0
10k
Aug ’15
testSession.setSimulatedError(.purchase(.invalidQuantity), forAPI: .purchase)
I am trying to test this simulated Error. The issue is, I can't get this to trigger through the simulatedError function. Error will always end up as an unknown error Example code snippet: @available(iOS 17.0, *) func testPurchase_InvalidQuantity() async throws { // Arrange testSession.clearTransactions() testSession.resetToDefaultState() let productID = consumable_1 try await testSession.setSimulatedError(.purchase(.invalidQuantity), forAPI: .purchase) guard let product = await fetchProduct(identifier: productID) else { XCTFail(Failed to fetch test product) return } let option = Product.PurchaseOption.quantity(4) let result = await manager.purchase(product: product, options: option) switch result { case .success: XCTFail(Expected failure due to invalid quantity) case .failure(let error): print(Received error: (error.localizedDescription)) switch error { case .purchaseError(let purchaseError): XCTAssertEqual(purchaseError.code, StoreKitPurchaseError.invalidQuantity.code) default: XCTFail(Unex
1
0
420
Feb ’25
Reply to Sandbox receipts do not list the In-App purchase
It is expected the app receipt is updated on device after a purchase or restore. New transactions would appear in the in_app object. Please provide more detail in a ticket and our production support teams can investigate. http://feedbackassistant.apple.com Please include your app name and ID, the IAP name and ID, App Store Apple ID, the purchase time stamp, app receipt from the device and a sysdiagnose if you can reproduce. Once created, note that FB# in this post.
Topic: App & System Services SubTopic: StoreKit Tags:
Aug ’22
restoring macbook from time machine
Hey guys, i have recently tried to restore my 15 2015 macbook pro after i upgraded to Monterey. Turns out half my apps dont work on it so i thought id just restore it from time machine. I booted the macbook up in recoverey mode and started the recoverey process however it has not moved from preparing to restore for the last 24hours. I checked the log and the last entry is: Macbook-pro OSInstaller[488] : [RESTORE] Erasing disk 'Mac' to filesystem type 'KSKDiskFileSystemAFPS', Case sensitive: No I am currently using a seagate one touch 5TB to restore from and i was just wondering is it usual to have to wait so long or has it frozen? And what am i doing wrong?
2
0
1k
Jan ’22
Reply to in-App purchases for authenticated users only
From a Commerce/StoreKit perspective you can associate these purchases (original transaction ID's) to an anonymous account without requiring users to create/sign in to an additional account. And if you implement our Proactive restore best practice, you can identify this users purchases on any of their devices. As mentioned in the session, you can leverage other features like CloudKit or iCloud Keychain to further assist this experience. In general any additional steps or friction implementation before a purchase that doesn't add value or functionality may impact the customer buy experience. For any policy questions, please refer to the App Store Review guidelines.
Topic: App & System Services SubTopic: StoreKit Tags:
Sep ’22
In-app Purchase on single transaction
My app is selling 2 in-app products (A and B). Assume a user only purchase product A. Is there a way to restore just product A transaction? It seems to me that there is noway to restore just one transaction. Example: (IBAction)restoreproduct:(id)sender { if ([SKPaymentQueue canMakePayments]) { [[SKPaymentQueue defaultQueue] addTransactionObserver:self]; [[SKPaymentQueue defaultQueue]restoreCompletedTransactions]; } else { NSLog(@Fail); } }
1
0
523
Jun ’20
Reply to How can I offer bundle discounts for in-app purchases?
A better approach may be to sell a consumable package of Tokens'. Each Token is exchangeable for one of your IAPs. Then, because you want the purchase to be 'non-consumable' rather than 'consumable', record the purchase in the user's iCloud Account and allow them to restore thought iCloud. Point this out to App Review so they don't object to the consumable-for-non-consumable-IAP issue. The Tokens can be sold in quantity for the discount you want (i.e. 10 for the price of 8).
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’16
Reply to Detecting user(apple ID) change for IAP
First off, the thefts you are fearing are not 'loss of sales' because few thieves will actually make a real purchase. So what are you really losing?But.....There are levels of complexity here. There are two accounts with similar or different Ids - iTunes/App Store Id and the Apple Id. Most iPhones are strongly linked (through Find My iPhone, iCloud data backups, notifications, etc.) to their Apple Id and users will not freely share their Apple Id nor change the Apple Id their device is logged into. It is, unfortunately, straightforward to change (and share) your iTunes/App Store log in.So, you can use the user's iCloud Account key-value file (tied to their logged-in Apple ID) to write something at the time of first purchase and thereby record the purchase in only one key-value file - hence only one Apple Id can use the IAP. Any attempt to use the purchase could require having access to that key-value file and therefore require being logged into that Apple Id under which the
Jul ’18
Reply to Consumable InApp for number of specific action?
yes, it sounds quite reasonable. Now consider this; how much 'protection' do you want to prevent abuse.Here are some abuse cases: (most are 'over protection' unless the IAP is very valuable. However #1 should be implemented.)1) user deletes and reinstalls the app and gets an additional 100 free units. You can prevent this by writing somethng to the keychain - the keychain survives delete and reinstall2) user creates a backup before running the app, runs the app and uses the 100 credits, restores the backup, repeat. This is a security flaw in the system but what user would go to this trouble.3) user purchases the consumable and backs up the device. User uses the credits and then restores from the backup regaining the consumable. You can prevent this by creating a non-backed up file at first launch and then detecting when it is 'missing'. Or you can write something to CloudKit that doesn't get restored (see #4).4) user scams the IAP system by pushing a bogus 'purchase
Topic: App & System Services SubTopic: StoreKit Tags:
Jul ’16
Viber restore problem
viber doesnt want to restore from icloud on my new phone, and its storage on icloud was 37 now number is getting lower to 31 and still no viber estored, it is as if first time to install the app is empty can u help me please
2
0
410
Mar ’22
In-App Purchases
I get the following error, when I try to restore or make purchases. How to resolve this issue? : Payment completed with error: Error Domain=ASDErrorDomain Code=500 Unhandled exception UserInfo={NSUnderlyingError=0x280944180 {Error Domain=AMSErrorDomain Code=100 Authentication Failed UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x280945500 {Error Domain=AMSErrorDomain Code=301 Invalid Status Code UserInfo={NSLocalizedDescription=Invalid Status Code, NSLocalizedFailureReason=The response has an invalid status code}}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}
1
0
966
Nov ’20
Restore window to correct screen
I have recently added a second monitor to my iMac.In my NSWindowController I have:override func windowDidLoad() { window!.titleVisibility = NSWindow.TitleVisibility.hidden window!.setFrameAutosaveName(window!.title) }and in IB, the Restorable attribute for the window is enabled.This works fine with just one monitor and the window is restored to its previous offsets..If I move the window to the external monitor, Quit and relaunch the application, the window is restored to the primary monitor at the offsets it had on the external monitor. (i.e. correct position on the screen but incorrect monitor)Do I need to explicitly save and restore the window screen info or am I missing some other window attribute that should be set.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
0
Boosts
0
Views
623
Activity
Mar ’19
Restoring IOS Simulator Devices
I accidentally removed the Library/CoreSimulator/Devices directory. I no longer have any IOS Simulator devices.I un-installed Xcode and re-installed, but it did not restore the IOS simulator devices. Is there another way to restore the simulator devices (without restoring from a backup)?
Replies
2
Boosts
0
Views
10k
Activity
Aug ’15
testSession.setSimulatedError(.purchase(.invalidQuantity), forAPI: .purchase)
I am trying to test this simulated Error. The issue is, I can't get this to trigger through the simulatedError function. Error will always end up as an unknown error Example code snippet: @available(iOS 17.0, *) func testPurchase_InvalidQuantity() async throws { // Arrange testSession.clearTransactions() testSession.resetToDefaultState() let productID = consumable_1 try await testSession.setSimulatedError(.purchase(.invalidQuantity), forAPI: .purchase) guard let product = await fetchProduct(identifier: productID) else { XCTFail(Failed to fetch test product) return } let option = Product.PurchaseOption.quantity(4) let result = await manager.purchase(product: product, options: option) switch result { case .success: XCTFail(Expected failure due to invalid quantity) case .failure(let error): print(Received error: (error.localizedDescription)) switch error { case .purchaseError(let purchaseError): XCTAssertEqual(purchaseError.code, StoreKitPurchaseError.invalidQuantity.code) default: XCTFail(Unex
Replies
1
Boosts
0
Views
420
Activity
Feb ’25
Reply to Sandbox receipts do not list the In-App purchase
It is expected the app receipt is updated on device after a purchase or restore. New transactions would appear in the in_app object. Please provide more detail in a ticket and our production support teams can investigate. http://feedbackassistant.apple.com Please include your app name and ID, the IAP name and ID, App Store Apple ID, the purchase time stamp, app receipt from the device and a sysdiagnose if you can reproduce. Once created, note that FB# in this post.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Aug ’22
Restore photo feature
I Liked the photo feature when playing games now it's gone, please restore it!I also liked to see my friends photo now that's gone, it was fun to have why take it away?
Replies
1
Boosts
0
Views
361
Activity
Oct ’17
restoring macbook from time machine
Hey guys, i have recently tried to restore my 15 2015 macbook pro after i upgraded to Monterey. Turns out half my apps dont work on it so i thought id just restore it from time machine. I booted the macbook up in recoverey mode and started the recoverey process however it has not moved from preparing to restore for the last 24hours. I checked the log and the last entry is: Macbook-pro OSInstaller[488] : [RESTORE] Erasing disk 'Mac' to filesystem type 'KSKDiskFileSystemAFPS', Case sensitive: No I am currently using a seagate one touch 5TB to restore from and i was just wondering is it usual to have to wait so long or has it frozen? And what am i doing wrong?
Replies
2
Boosts
0
Views
1k
Activity
Jan ’22
Reply to in-App purchases for authenticated users only
From a Commerce/StoreKit perspective you can associate these purchases (original transaction ID's) to an anonymous account without requiring users to create/sign in to an additional account. And if you implement our Proactive restore best practice, you can identify this users purchases on any of their devices. As mentioned in the session, you can leverage other features like CloudKit or iCloud Keychain to further assist this experience. In general any additional steps or friction implementation before a purchase that doesn't add value or functionality may impact the customer buy experience. For any policy questions, please refer to the App Store Review guidelines.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Sep ’22
In-app Purchase on single transaction
My app is selling 2 in-app products (A and B). Assume a user only purchase product A. Is there a way to restore just product A transaction? It seems to me that there is noway to restore just one transaction. Example: (IBAction)restoreproduct:(id)sender { if ([SKPaymentQueue canMakePayments]) { [[SKPaymentQueue defaultQueue] addTransactionObserver:self]; [[SKPaymentQueue defaultQueue]restoreCompletedTransactions]; } else { NSLog(@Fail); } }
Replies
1
Boosts
0
Views
523
Activity
Jun ’20
Reply to How can I offer bundle discounts for in-app purchases?
A better approach may be to sell a consumable package of Tokens'. Each Token is exchangeable for one of your IAPs. Then, because you want the purchase to be 'non-consumable' rather than 'consumable', record the purchase in the user's iCloud Account and allow them to restore thought iCloud. Point this out to App Review so they don't object to the consumable-for-non-consumable-IAP issue. The Tokens can be sold in quantity for the discount you want (i.e. 10 for the price of 8).
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’16
Reply to Detecting user(apple ID) change for IAP
First off, the thefts you are fearing are not 'loss of sales' because few thieves will actually make a real purchase. So what are you really losing?But.....There are levels of complexity here. There are two accounts with similar or different Ids - iTunes/App Store Id and the Apple Id. Most iPhones are strongly linked (through Find My iPhone, iCloud data backups, notifications, etc.) to their Apple Id and users will not freely share their Apple Id nor change the Apple Id their device is logged into. It is, unfortunately, straightforward to change (and share) your iTunes/App Store log in.So, you can use the user's iCloud Account key-value file (tied to their logged-in Apple ID) to write something at the time of first purchase and thereby record the purchase in only one key-value file - hence only one Apple Id can use the IAP. Any attempt to use the purchase could require having access to that key-value file and therefore require being logged into that Apple Id under which the
Replies
Boosts
Views
Activity
Jul ’18
iphone restore glitched out
I tried to restore my iPhone and iPad back to ios 10. I was currently running ios 11 however when i went to restore my devices which the restore had ios 10 they stayed on ios 11 and glitched my iphone and ipad. All my apps need to be deleted and reinstalled as well.Could I have some advice please?
Replies
0
Boosts
0
Views
241
Activity
Jul ’17
Restoring Apple Watch from WatchOS2
I need to restore my apple watch back to WatchOS 1.0.1. How can I do this? I can't pair it with my phone because I restored my phone back to iOS 8.3.
Replies
1
Boosts
0
Views
350
Activity
Jun ’15
Reply to Consumable InApp for number of specific action?
yes, it sounds quite reasonable. Now consider this; how much 'protection' do you want to prevent abuse.Here are some abuse cases: (most are 'over protection' unless the IAP is very valuable. However #1 should be implemented.)1) user deletes and reinstalls the app and gets an additional 100 free units. You can prevent this by writing somethng to the keychain - the keychain survives delete and reinstall2) user creates a backup before running the app, runs the app and uses the 100 credits, restores the backup, repeat. This is a security flaw in the system but what user would go to this trouble.3) user purchases the consumable and backs up the device. User uses the credits and then restores from the backup regaining the consumable. You can prevent this by creating a non-backed up file at first launch and then detecting when it is 'missing'. Or you can write something to CloudKit that doesn't get restored (see #4).4) user scams the IAP system by pushing a bogus 'purchase
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’16
Viber restore problem
viber doesnt want to restore from icloud on my new phone, and its storage on icloud was 37 now number is getting lower to 31 and still no viber estored, it is as if first time to install the app is empty can u help me please
Replies
2
Boosts
0
Views
410
Activity
Mar ’22
In-App Purchases
I get the following error, when I try to restore or make purchases. How to resolve this issue? : Payment completed with error: Error Domain=ASDErrorDomain Code=500 Unhandled exception UserInfo={NSUnderlyingError=0x280944180 {Error Domain=AMSErrorDomain Code=100 Authentication Failed UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x280945500 {Error Domain=AMSErrorDomain Code=301 Invalid Status Code UserInfo={NSLocalizedDescription=Invalid Status Code, NSLocalizedFailureReason=The response has an invalid status code}}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}
Replies
1
Boosts
0
Views
966
Activity
Nov ’20