juliansteenbakker / mobile_scanner

A universal scanner for Flutter based on MLKit. Uses CameraX on Android and AVFoundation on iOS.
BSD 3-Clause "New" or "Revised" License
813 stars 475 forks source link

Background reading sim card service provider information, privacy rights are not compliant #1122

Open cmlanche opened 1 month ago

cmlanche commented 1 month ago

This library references play-services-mlkit-barcode-scanning, and then references firebase, but I don't know why firebase has been reading sim card information in the background, resulting in the failure of privacy permission

android.telephony.TelephonyManager.getSimOperatorNumericForPhone(TelephonyManager.java:2331)<---android.telephony.TelephonyManager.getSimOperatorNumeric(TelephonyManager.java:2318)<---android.telephony.TelephonyManager.getSimOperatorNumeric(TelephonyManager.java:2302)<---android.telephony.TelephonyManager.getSimOperator(TelephonyManager.java:2264)<---cd.d.b(SourceFile:16)<---ld.c.c(SourceFile:7)<---ld.a.run(Unknown Source:8)<---ed.m$a.run(SourceFile:1)<---java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)<---java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)<---java.lang.Thread.run(Thread.java:764)

navaronbracke commented 1 month ago

Could you provide a minimal reproducible sample? This seems like not something play-services-mlkit-barcode-scanning would do?