Remove tracking from QR and Barcode Scanner app
As stated in #2670 (closed) the QR & barcode scanning app (https://f-droid.org/en/packages/com.example.barcodescanner) is sending tracking data to Sentry.io.
Part of sentry was already disabled by @linsui but not everything.
This can be achieved with another prebuild command (I am not a sed expert ...) like
sed -i '/sentry.io/c\android:value=""' src/main/AndroidManifest.xml
to replace
android:value="https://09f3022eb19f4fa7ba332b1f44188ff1@o432234.ingest.sentry.io/5384638"
with
android:value=""
An empty string will disable Sentry. (this is stated in logcat after the crash if you remove the line entirely)
Tested with AdAway DNS logging.
Edited by woheller69