ChatGPT answered for me
The outcome of a yearly auto-renew subscription with a promo code in the App Store Connect (ASC) depends on the settings and policies Apple has in place for promo codes and subscriptions. Here are the general possibilities:
Promo Codes for Subscriptions
Promo codes can be used to provide users with a free trial or a discounted period for a subscription. After the promo code period ends, the standard subscription terms apply.
Outcomes:
If the promo code is for a free trial period and not for the entire subscription duration:
The user gets the promo code benefit for the trial period.
After the trial period ends, they are automatically renewed at the standard subscription price.
If the promo code covers the entire subscription duration:
At the end of the subscription period, the user is renewed at the standard subscription price (Option B).
Summary
Given the typical handling of promo codes in subscription services like the App Store, the correct answer is most likely:
[B] renewed automatically at the actual subscription price
If you want to confirm the specifics for your particular setup or check if there are any nuances in your implementation, reviewing Apple's official documentation or contacting their support might be necessary.
Post
Replies
Boosts
Views
Activity
another post somewhere on the net has said its deprecated.
Replaced it with UIApplication.shared.open(myURL) and now works.
FB14031815
As long as your app has logic to handle the purchases and product IDs
Yeah there is check out this Sean Allen video
I cant link to it directly
https://youtu.be/T6IvImk66m8
If you are trying to access the data outside a view you need to send the modelContext as a parameter.
@Environment(\.modelContext) var modelContext
functionToPerformActionInAStructOutideYourView(modelContext)
Then in your struct
func functionToPerformActionInAStructOutideYourView(_ modelContext: ModelContext){
let possiblyAFetchRequest = FetchDescriptor<Workout>(predicate: #Predicate{ ...})
do {
try modelContext.fetch(possiblyAFetchRequest)
}
catch {}
}
I have tried but as the visw isn’t yet in view setting its focus state remains false.
Unfortunately no. Still very much waiting for solution. I have attempted running the code to save the data in a background thread. This does free up the UI but it then makes actually writing the data to the store take a very very long time. I would get 3 rows saved into database every second. but with 30k rows but at that rate it would take over 8 hours. Has to be a way. Can't think Apple would release something that's sooo bad especially when it should be built on top of something already tried and tested like Core Data.
Running app on a new device produced an error which lead me to this post here https://forums.developer.apple.com/forums/thread/746311
Are they not just "shortcuts"
I just received the status back as "credited". Which basically now means wasted because my 2 for the year has just reset too. I tried to use one before my annual renewal but the "clunky" process has just meant it's been wasted lol
have your tried .directory ?
Maybe could also be how you handle the
documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) cos iCloud likes to append extensions onto the expected files. I can't recall top of my head how exactly but .png would change yo something like .png.icloud
Solved. Totally forgot that URLs for file system change often so storing the full URL is pointless.
I had to remove the inverse to get the cascade delete to work for me. I added it trying to use iCloud. However as iCloud was proving to be a nightmare I abandoned that route. So as I no longer need the requirement for the inverse. I removed it. Then the cascade delete for me worked
Those are what get logged in the debugger. Now
"The managed object model version used to open the persistent store is incompatible with the one that was used to create the persistent store."
Which i cant understand seeing as im making no changes and it was a fresh install. A close. Then a simple relaunch. This was working when I was adding all Data Models to either local storage or iCloud. Just doesn't like when i tried to separate them. Ive also deleted the records in the icloud dashboard so everything is trying to run from a clean slate.
Just so I can rule it out. Am I ok to assume that my original posted Code in first post should be able to run as expected?