Hi! Is it currently possible to disable the device...
# support
a
Hi! Is it currently possible to disable the deviceId from being sent completely on the android/flutter sdks, without having to fork the sdk? For apps to be compliant with the family policies on play store, the device id cannot be sent so we have to disable it.
m
Hey There! đź‘‹ Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
q
Yes, By default, RudderStack uses
deviceId
as
anonymousId
. You can use
rudderClient.putAnonymousId(<ANONYMOUS_ID>);
to override and set your own
anonymousId
with the SDK https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-flutter-sdk/flutter-v1#setting-your-own-anonymousid-using-putanonymousid
a
You are right that the anonymousId uses the deviceId, but the deviceId is also a hardcoded part of the sdk’s “DeviceInfo”, so it’s always sent as part of “device” in the json.
q
We were just discussing the DeviceInfo. I am going to put it as a feature request and will let you know what the team decides.
a
q
Thank you @able-fountain-77258 for doing this, I will ask the team to review it.
a
@quiet-wolf-72320 would it be possible to get some attention to the PR? https://github.com/rudderlabs/rudder-sdk-android/pull/231
đź‘€ 1
q
@able-fountain-77258 Some product discussions are going on for this feature. You will here the update soon.
🙌 1