-
Would love to see a PR that implements all the consent features for analytics. I believe it consists of:
There are similar PRs exposing other AndroidManifest attributes that anyone may reference by using git blame on the firebase.json file - https://github.com/invertase/react-native-firebase/blame/main/tests/firebase.json Expose the native platform APIs that implement consent setting: https://developers.google.com/tag-platform/devguides/app-consent?platform=android#update_consent API reference for firebase-js-sdk setConsent:
This is related to analytics session ID and app instance id, as it will return null if consent is denied for analytics_storage
Already completed:
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 10 replies
-
Good news is that react-native-firebase/packages/analytics/lib/index.d.ts Lines 763 to 773 in 7240128 |
Beta Was this translation helpful? Give feedback.
-
@mikehardy Any updates on the |
Beta Was this translation helpful? Give feedback.
-
@mikehardy Hey Mike! Am currently responsible for developing a cookie "banner" in an app, and I am in dire need to actually get access to changing consents. EU is just now in the process of implementing requirements for granular control of consents in apps. It's pretty urgent too, my deadline is end of february for this. I am in the same boat as @tnke, where I have no experience on building on this library, and of course I could give it a try as well. Did you make any progress @tnke ? |
Beta Was this translation helpful? Give feedback.
-
In case anyone finds this useful, here's a patch I created that adds the missing functionality. (Unfortunately I didn't have time to prepare a full PR.) https://gist.github.com/SimpleCreations/26ed8acc3f67f22188bd65fa74056ab7 In addition to applying this patch, you'd also have to add the default consent values to AndroidManifest.xml and Info.plist, as described in the official guide. |
Beta Was this translation helpful? Give feedback.
-
releasing now, should pop out as 18.9.0 |
Beta Was this translation helpful? Give feedback.
-
Hello guys 😀
I will be appreciate for answers. Also if someone can describe some general steps regarding consent flow in general it will be very helpful. |
Beta Was this translation helpful? Give feedback.
releasing now, should pop out as 18.9.0