Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [firebase_analytics] Measuring in-app purchases manually required by StoreKit 2 #8077

Open
ninjz opened this issue Oct 22, 2024 · 2 comments
Labels
Needs Attention type: enhancement Implements a new Feature

Comments

@ninjz
Copy link

ninjz commented Oct 22, 2024

Apparently when supporting StoreKit 2 on iOS, in-app purchases cannot be measured automatically by the analytics SDK anymore. https://firebase.google.com/docs/analytics/measure-in-app-purchases#implementation

I can't seem to find a method for manually tracking IAP events. Are there plans on supporting manually logging this or is this already supported somewhere?

@ninjz ninjz added Needs Attention type: enhancement Implements a new Feature labels Oct 22, 2024
@mikehardy
Copy link
Collaborator

Apologies, I do not know - this might be something to ask directly on stackoverflow tagging it appropriately (firebase team offers support there) or through your normal firebase support channels as opposed to this repo

Whatever they suggest is what we could aim for here

@ninjz
Copy link
Author

ninjz commented Oct 22, 2024

I think it’s quite relevant as a feature request to this repo seeing as this would require additional method calls to the native SDKs to support this.

There are already calls to log non IAP purchases. This would be an extension as auto-logging of IAP events will not work with the deprecation of StoreKit 1.

I believe this would be required by anyone interacting Purchase SDKs and need to send IAP purchase events back to Firebase analytics when StoreKit 2 becomes mandatory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Attention type: enhancement Implements a new Feature
Projects
None yet
Development

No branches or pull requests

2 participants