I have an app which has an iOS companion and a watchOS app. The watchOS app can be used independently (just for information). I have implemented StoreKit 2 for a one time in-app purchase. If I do the purchase on iOS it works perfectly. But when I go the watchOS app, I can't retrieve the transactions to check if the purchase has been done. The 2 parts of the app use the same class for StoreKit code. My watch seems to connect to App Store but doesn't receive any valid transaction. Is there something specific to do in such situation ? I can still use keychain to sing a key between the 2 devices but I'd prefer to use StoreKit as the source of truth. For the moment, I don't add code as it's very similar to Apple samples.
Sync Storekit 2 in app-purchases between iOS and watchOS
94 Views Asked by Raphaël Barthomeuf At
0
There are 0 best solutions below
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in SWIFT
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Swift code with multiple NSDateFormatter - optimization
- How do I add multiple in app purchases in Swift Spritekit?
- cellForRowAtIndexPath and prepareForSegue return different label colors
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- Change background of an Accessory View in a UITableViewCell
- fade in an bounce animation subview
- Create a PFObject and PFRelation after PFUser Sign Up
- Swift 2 - Pattern matching in "if"
- How do I give inputs through NSURL
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- Compiler complains that 'Expression resolved to unused function' when removing index in array of functions
- Cast from 'Int?' to unrelated type 'NSNumber' always fails
Related Questions in WATCHOS
- animateWithDuration lacks completion block, WatchOS 2
- watchOS 2 Heart Rate Sensor
- Using Core Data with watchOS 2.0
- Can I use ClockKit with a custom background image and complications at the same time?
- presentAudioRecordingControllerWithOutputURL not recognized in WatchKit project
- Watch os 2.0 beta: access heart beat rate
- watchOS 2 working with CocoaPods
- Phone call from Apple Watch with openSystem API?
- Non-Public Library SockPuppetGizmo
- Xcode 7 supporting watch OS1 and OS2
- WatchKit : connect 2 sliders to 1 label
- How to hide '+' and '-' buttons from WatchKit slider?
- WKURLSessionRefreshBackgroundTask isn't called when attempting to do background refreshes in watchOS
- Understanding builds for Watch-iPhone app in XCode
- Create new HKQuantityType
Related Questions in STOREKIT
- SKStoreProductViewController not showing anything
- Does an iOS subscription renewal convey the applicationUsername?
- Test APP Receipt Expiration Date (for Apple VPP)a
- Where is the value of SKStoreProductParameterProviderToken obtained from?
- Consumable In App Purchase Already Purchased
- StoreKit: Is it OK to keep unfinished transactions around on purpose?
- IAP restore doesn't work
- Delayed Load of Products in Store Swift v3
- How do you keep track of total quantity from singular pack in-app purchase?
- How to fetch already purchased details of iOS IAP Auto Renewable product
- Cannot finish a purchasing Non-Renewing Subscription transaction
- ionic storekit Cannot finish a purchasing transaction , exception in webkit
- Swift - In App Purchase - Invalid product identifier
- SKPaymentTransaction always fail
- iAP work in Sandbox but not in 'Pending Developer Release' version
Related Questions in STOREKIT2
- StoreKit Unable To Resubscribe
- React Native IAP subscription returns old subscription data for TestFlight user
- Subscriptions are not showing up once IPA got created in iOS In App Purchase StoreKit2
- Introductory offer does not appear for Sandbox testing
- Configuring Exclusive Free Trial Period for iOS Application
- Sync Storekit 2 in app-purchases between iOS and watchOS
- StoreKit2: Product.currentEntitlement vs. Transaction.currentEntitlements
- How to interrupt the awaiting in a `for-await` loop / Swift
- How to deal with StoreKit 2 on Airplane mode or offline?
- Storekit 2 is not available on this device
- StoreKit 2 Sandbox use can't buy the same subscription again
- StoreKit2 AppTransaction originalPurchaseVersion
- StoreKit2 for volume purchases
- Filtering StoreKit2 Subscriptions Based on Store Country Without Hardcoding Country Codes
- How to handle small delay of Transaction.currentEntitlements?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?