firebase-ios-sdk: Auto Logging In-App Purchases not working with StoreKit 2
Description
I am submitting this issue to report that StoreKit 2 in-app events are not being automatically logged. While I have not experienced any issues with the automatic logging until the last app update, I have noticed that in-app purchases are not showing up in the logs. This is particularly strange as in-app purchases have always been tracked automatically in my app. No changes have been made to the Firebase implementation of the app either. In fact, other automatic events such as first_open and session_start are still being logged successfully.
The only change that was implemented is the transition to using the StoreKit 2 implementation of in-app purchases. Instead of using the SKPaymentQueue, I am now calling the .purchase() method on a Product object (https://developer.apple.com/documentation/storekit/product/3791971-purchase).
Reproducing the issue
This issue can only be reproduced when making a purchase using the StoreKit 2 implementation.
Firebase SDK Version
10.7.0
Xcode Version
14.3
Installation Method
Swift Package Manager
Firebase Product(s)
Analytics
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project’s Package.resolved
Expand Package.resolved
snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project’s Podfile.lock
Expand Podfile.lock
snippet
Replace this line with the contents of your Podfile.lock!
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 10
- Comments: 20 (4 by maintainers)
+1
Thanks for reporting this issue. We’re currently working on StoreKit 2 support. Our plan is to launch in Q4.
@athew @paulb777
This issue appears to hold priority before we proceed with other updates. Subscription and In-App Purchase events are arguably some of the most crucial metrics in Analytics. Currently, the effectiveness of Analytics seems compromised without these.
Sry Guys, I think it’s getting ridiculous that there is still no information on this…