firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

10.17 massively overreports subscription renewals

Open john-legallynoticed opened this issue 2 years ago • 4 comments

Description

10.17 is reporting 100s of renewals transactions that are not occurring on multiple users

Reproducing the issue

Screenshot 2023-11-04 at 11 40 07 AM

Firebase SDK Version

10.17

Xcode Version

15.0

Installation Method

CocoaPods

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!

john-legallynoticed avatar Nov 04 '23 15:11 john-legallynoticed

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Nov 04 '23 15:11 google-oss-bot

Is there a way to disable auto-reporting of these events and mange it manually until this issue can be resolved? We are using StoreKit2 by the way, and we just implemented Firebase on our iOS app this week so 10.17 is the first version we've used. The affected users so far are all internal testers that have been testing the app for months and have 100s of sandbox transactions. Does the library query the entire transaction history for newly reported users?

To that end, sandbox transactions should not automatically be reported as app revenue. 100% of these are sandbox renewals.

john-legallynoticed avatar Nov 04 '23 15:11 john-legallynoticed

Hi John. Thanks for the report.

I found an existing feature request to disable automatically logging purchases: https://github.com/firebase/firebase-ios-sdk/issues/2435 Feature request: disable auto logging of in_app_purchase.

If an existing app with in-app purchases in the receipt doesn't have the analytics library installed, and then later has the analytics library installed, the library will automatically log those previous transactions.

Steps to log new purchases made while the app has the analytics library installed are at https://firebase.google.com/docs/analytics/measure-in-app-purchases.

Steps to request Analytics data to be deleted are at https://support.google.com/analytics/answer/9940393 [GA4] Data-deletion requests.

pcfba avatar Dec 04 '23 18:12 pcfba

Experiencing the same issue: Image

127 renewals for a single user in a single day.

I use Flutter (firebase_analytics 11.3.6).

lukyanov avatar Dec 20 '24 06:12 lukyanov