Firebase-ios-sdk: Feature request: disable auto logging of in_app_purchase.

Created on 23 Feb 2019  Â·  15Comments  Â·  Source: firebase/firebase-ios-sdk

It's needed a way to stop tracking in_app_purchase automatically collected event on iOS.

analytics feature request

Most helpful comment

This issue is important and should be addressed.

All 15 comments

If this opportunity is made, it will be very good.

This was the only reason we had to move a lot of our apps to other platform for analytics. Anyone who has access to crashlytics will have access to in-app purchase data. We have many layers of access rights. We don't want everyone to have access to financial data, on the team.

This issue is important and should be addressed.

Tracked internally at b/130422135

Any chance get it soon?

179 days passed, just a reminder

Any update on this?

I needed a team member to have access to crashlytics only and was not supposed to have access to in-app purchase and Admob data. I ended up creating a new role in IAM. It works but control of 'auto logging' would make things a lot easy.

I just found this through Google:

"By default, the SDK collects in-app purchase information on iOS via the public transaction observer methods from Apple. On Android, this is enabled via Google Play In-app Billing. Both iOS and Android in-app purchase tracking can be turned off via the disableAutomatedInAppPurchaseReporting() method."

Found at the bottom of https://support.google.com/firebase/answer/6318039?hl=en

Looks like this is a GADMobileAds method, and not a Firebase method, though.

I needed a team member to have access to crashlytics only and was not supposed to have access to in-app purchase and Admob data. I ended up creating a new role in IAM. It works but control of 'auto logging' would make things a lot easy.

Can you explain how you created the role in IAM?

I quickly wrote down some steps for myself to remember, at that time. I am not sure if they will be work now. I have since moved my app away from Google eco-system. Here are the steps:

Firebase: Create user with Crashlytics access only

  1. Open project in firebase
  2. Select Settings->Permissions
  3. Select Advanced Permissions
  4. Select “Roles”
  5. Search “Firebase Quality Admin”
  6. Select “Create from Role”
  7. Change title from “Custom Firebase Quality Admin” to “NEW Firebase Quality Admin”
  8. Remove the permission:

    1. firebaseanalytics.resources.googleAnalyticsEdit

    2. firebaseanalytics.resources.googleAnalyticsReadAndAnalyze

  9. Save
  10. Goto IAM
  11. Add user to the new role

any chance this issue could be fixed? thanks!

I just found this through Google:

"By default, the SDK collects in-app purchase information on iOS via the public transaction observer methods from Apple. On Android, this is enabled via Google Play In-app Billing. Both iOS and Android in-app purchase tracking can be turned off via the disableAutomatedInAppPurchaseReporting() method."

Found at the bottom of https://support.google.com/firebase/answer/6318039?hl=en

Looks like this is a GADMobileAds method, and not a Firebase method, though.

Hi, Have you tried it? Did it work?

We haven't GADMobileAds in project, so looks disableAutomatedInAppPurchaseReporting() won't work for Firebase.

Any updates on this? We want to onboard more team members to Firebase, but we don't need all of them to see revenue data.

Was this page helpful?
0 / 5 - 0 ratings