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
[Bug]: Package collects AD_ID #2478
Comments
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days |
This comment has been minimized.
This comment has been minimized.
I cannot reproduce this with the <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.shareexample"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="34" />
<uses-permission android:name="android.permission.INTERNET" />
<permission
android:name="io.flutter.plugins.shareexample.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION"
android:protectionLevel="signature" />
<uses-permission android:name="io.flutter.plugins.shareexample.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" />
<application
android:name="android.app.Application"
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
android:debuggable="true"
android:extractNativeLibs="true"
android:icon="@mipmap/ic_launcher"
android:label="share_example" >
<activity
android:name="io.flutter.embedding.android.FlutterActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection"
android:exported="true"
android:hardwareAccelerated="true"
android:theme="@android:style/Theme.Black.NoTitleBar"
android:windowSoftInputMode="adjustResize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<provider
android:name="io.flutter.plugins.imagepicker.ImagePickerFileProvider"
android:authorities="io.flutter.plugins.shareexample.flutter.image_provider"
android:exported="false"
android:grantUriPermissions="true" >
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/flutter_image_picker_file_paths" />
</provider>
<!--
Declares a provider which allows us to store files to share in
'.../caches/share_plus' and grant the receiving action access
-->
<provider
android:name="dev.fluttercommunity.plus.share.ShareFileProvider"
android:authorities="io.flutter.plugins.shareexample.flutter.share_provider"
android:exported="false"
android:grantUriPermissions="true" >
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/flutter_share_file_paths" />
</provider>
<!--
This manifest declared broadcast receiver allows us to use an explicit
Intent when creating a PendingItent to be informed of the user's choice
-->
<receiver
android:name="dev.fluttercommunity.plus.share.SharePlusPendingIntent"
android:exported="false" >
<intent-filter>
<action android:name="EXTRA_CHOSEN_COMPONENT" />
</intent-filter>
</receiver>
<uses-library
android:name="androidx.window.extensions"
android:required="false" />
<uses-library
android:name="androidx.window.sidecar"
android:required="false" />
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="io.flutter.plugins.shareexample.androidx-startup"
android:exported="false" >
<meta-data
android:name="androidx.profileinstaller.ProfileInstallerInitializer"
android:value="androidx.startup" />
</provider>
<receiver
android:name="androidx.profileinstaller.ProfileInstallReceiver"
android:directBootAware="false"
android:enabled="true"
android:exported="true"
android:permission="android.permission.DUMP" >
<intent-filter>
<action android:name="androidx.profileinstaller.action.INSTALL_PROFILE" />
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.SKIP_FILE" />
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.SAVE_PROFILE" />
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.BENCHMARK_OPERATION" />
</intent-filter>
</receiver>
</application>
</manifest> Also, no Are you sure you are talking about Besides, I fail to understand how share_plus could add that permission, except if there is some kind of malicious dependency in pub.dev or similar. Overall this is very strange. |
Platform
emulator
Plugin
share_plus
Version
^7.1.0
Flutter SDK
3.0.6
Steps to reproduce
release
buildbuild\app\intermediates\merged_manifest\release\AndroidManifest.xml
, see that permissioncom.google.android.gms.permission.AD_ID
was added.build\app\outputs\logs\manifest-merger-profile-report.txt
to find that permission was added by share_plus.Code Sample
Logs
Flutter Doctor
Checklist before submitting a bug
flutter pub upgrade
flutter clean
The text was updated successfully, but these errors were encountered: