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

Feature request: disable auto logging of in_app_purchase. #2435

Closed
Igor-Poltavtsev opened this issue Feb 23, 2019 · 19 comments
Closed

Feature request: disable auto logging of in_app_purchase. #2435

Igor-Poltavtsev opened this issue Feb 23, 2019 · 19 comments

Comments

@Igor-Poltavtsev
Copy link

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

@alexanderkhitev
Copy link

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

@haseebyf
Copy link

haseebyf commented Apr 5, 2019

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.

@sc0rch
Copy link

sc0rch commented Apr 12, 2019

This issue is important and should be addressed.

@paulb777
Copy link
Member

Tracked internally at b/130422135

@Igor-Poltavtsev
Copy link
Author

Any chance get it soon?

@sc0rch
Copy link

sc0rch commented Sep 24, 2019

179 days passed, just a reminder

@skuske
Copy link

skuske commented Oct 18, 2019

Any update on this?

@haseebyf
Copy link

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.

@skuske
Copy link

skuske commented Oct 20, 2019

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.

@paab72
Copy link

paab72 commented Feb 13, 2020

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?

@haseebyf
Copy link

haseebyf commented Feb 13, 2020

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

@zhaoze1991
Copy link

any chance this issue could be fixed? thanks!

@Shani-Rabi
Copy link

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?

@Igor-Poltavtsev
Copy link
Author

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

@touchberry
Copy link

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.

@timbo-tj
Copy link

bump, our analytics data is at risk of being ruined by users who 'hack' IAP's. Our backend filters out invalid attempts by validating the receipt ID"s, but the attempts are logged to Firebase Analytics anyway so now our dashboard has a random day where we made 10,000% more than we usually make.. all thanks to one rouge user. It makes the chart illegible now since everything else (our 'valid' data) by comparison is crushed to near zero..

We'd like to report in_app_purchase manually once we validate the purchase on our backend

@slavasemeniuk
Copy link

Any update on it?

@muneer-khan
Copy link

@paulb777 do you have any updates on this feature?

@htcgh
Copy link
Member

htcgh commented Jun 12, 2024

This is not on the roadmap at this time. The use cases described above can be addressed by using features such as data-restriction management or user deletion. Closing this ticket for now, but feel free to provide more details on the underlying use cases not already described.

@htcgh htcgh closed this as completed Jun 12, 2024
@firebase firebase locked and limited conversation to collaborators Jul 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests