-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
How to disable Sentry from using clipboard data in Android #4122
Comments
@ubaidvalere Both our sentry react-native, as well as our sentry-java SDK should never access any clipboard data. Is it possible you have some code which captures clipboard data and passes it to the Sentry SDK? E.g. by creating a breadcrumb with the clipboard content: const text = await Clipboard.getString();
Sentry.addBreadcrumb({
message: text
}); |
I am not passing any clipboard text to Sentry, in fact I am not using any function of Sentry instead of init function. |
@ubaidvalere alright, thanks for letting us know! Does your app perform any web requests? I suspect that referral code (and thus the clipboard data) is being sent there, and one of our automatic integrations picks that up. Debug mode could probably help you to find the root cause. After enabling it, you should see some detailed logs. Sentry.init({
// ...
debug: true,
}); |
I can't find anything helpful in the Sentry log. Sentry Logger [log]: Integration installed: ModulesLoader |
@ubaidvalere did you trigger the code which accesses the clipboard too? The issue should be highly connected with your app code. Maybe a http request url containing the clipboard data? Our docs around data scrubbing show some example code as well. |
@ubaidvalere have you had a chance to debug the events payload? |
Actually I tried resubmitting the build and it was approved. Also I was not able to find anything in the event payload. Closing this ticket now. |
Description
My react native app was rejected by Google because sentry send clipboard data to some endpoint. How can I disable this functionality to be able to release my app without rejection.
The text was updated successfully, but these errors were encountered: