android – How do I take away Query_all_permissions in Flutter

Spread the love


Hey guys my app has been rejected from the Google play retailer 3 instances now, I’ve gone into the discharge merge manifest and deleted the query_all_permissions a bunch of instances however everytime I construct the app bundle it will get readded and Google Play will not budge after I ask for permission to make use of it. I’ve tried changing it with different permissions additionally however that does not work. I am undecided what dependency retains including it again if that is what is going on on or the way to discover out which one. The dependencies I at the moment have are

cupertino_icons: ^1.0.2
cloud_firestore: ^4.5.0
firebase_auth: ^4.4.0
flutterfire_ui: ^0.4.3+20
fluttertoast: ^8.1.1
image_picker: ^0.8.7+5
firebase_storage: ^11.2.0
firebase_core: ^2.3.0-beta
url_launcher: ^6.1.11

I am not sure the way to take away it, something helps as I need to add my app to the google play retailer as quickly as doable, thanks! My Android Manifest

<?xml model="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    bundle="com.thriving_in_the_modern_world"
    android:versionCode="5"
    android:versionName="1.0.4" >

    <uses-sdk
        android:minSdkVersion="19"
        android:targetSdkVersion="33" />

    <uses-permission android:identify="android.permission.QUERY_ALL_PACKAGES" />
    <uses-permission android:identify="android.permission.INTERNET" />
    <uses-permission android:identify="android.permission.WAKE_LOCK" />
    <uses-permission android:identify="android.permission.ACCESS_NETWORK_STATE" /> <!-- Permissions choices for the `notification` group -->
    <uses-permission android:identify="android.permission.POST_NOTIFICATIONS" />

    <queries>
        <intent>
            <motion android:identify="android.help.customtabs.motion.CustomTabsService" />
        </intent>

        <bundle android:identify="com.fb.katana" />
    </queries> <!-- Required by older variations of Google Play companies to create IID tokens -->
    <uses-permission android:identify="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission android:identify="com.google.android.gms.permission.AD_ID" />
    <uses-permission android:identify="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" />

    <permission
        android:identify="com.thriving_in_the_modern_world.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION"
        android:protectionLevel="signature" />

    <uses-permission android:identify="com.thriving_in_the_modern_world.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" />

    <software
        android:identify="android.app.Utility"
        android:appComponentFactory="androidx.core.app.CoreComponentFactory"
        android:icon="@mipmap/launcher_icons"
        android:label="Thrive"
        android:supportsRtl="true" >
        <exercise
            android:identify="com.instance.thriving_in_the_modern_world.MainActivity"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:exported="true"
            android:hardwareAccelerated="true"
            android:launchMode="singleTop"
            android:theme="@fashion/LaunchTheme"
            android:windowSoftInputMode="adjustResize" >

            <!--
                 Specifies an Android theme to use to this Exercise as quickly as
                 the Android course of has began. This theme is seen to the consumer
                 whereas the Flutter UI initializes. After that, this theme continues
                 to find out the Window background behind the Flutter UI.
            -->
            <meta-data
                android:identify="io.flutter.embedding.android.NormalTheme"
                android:useful resource="@fashion/NormalTheme" />

            <intent-filter>
                <motion android:identify="android.intent.motion.MAIN" />

                <class android:identify="android.intent.class.LAUNCHER" />
            </intent-filter>
        </exercise>
        <!--
             Do not delete the meta-data under.
             That is utilized by the Flutter instrument to generate GeneratedPluginRegistrant.java
        -->
        <meta-data
            android:identify="flutterEmbedding"
            android:worth="2" />

        <service
            android:identify="com.google.firebase.elements.ComponentDiscoveryService"
            android:directBootAware="true"
            android:exported="false" >
            <meta-data
                android:identify="com.google.firebase.elements:io.flutter.plugins.firebase.database.FlutterFirebaseAppRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestoreRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:io.flutter.plugins.firebase.dynamiclinks.FlutterFirebaseAppRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:io.flutter.plugins.firebase.auth.FlutterFirebaseAuthRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:io.flutter.plugins.firebase.storage.FlutterFirebaseAppRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:io.flutter.plugins.firebase.messaging.FlutterFirebaseAppRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:io.flutter.plugins.firebase.core.FlutterFirebaseCoreRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:com.google.firebase.auth.FirebaseAuthRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:com.google.firebase.database.DatabaseRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:com.google.firebase.firestore.FirestoreRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:com.google.firebase.dynamiclinks.inside.FirebaseDynamicLinkRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:com.google.firebase.storage.StorageRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:com.google.firebase.messaging.FirebaseMessagingRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:com.google.firebase.iid.Registrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:com.google.firebase.analytics.connector.inside.AnalyticsConnectorRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:com.google.firebase.installations.FirebaseInstallationsRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
            <meta-data
                android:identify="com.google.firebase.elements:com.google.firebase.datatransport.TransportRegistrar"
                android:worth="com.google.firebase.elements.ComponentRegistrar" />
        </service>
        <service
            android:identify="io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingBackgroundService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />
        <service
            android:identify="io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingService"
            android:exported="false" >
            <intent-filter>
                <motion android:identify="com.google.firebase.MESSAGING_EVENT" />
            </intent-filter>
        </service>

        <receiver
            android:identify="io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingReceiver"
            android:exported="true"
            android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <motion android:identify="com.google.android.c2dm.intent.RECEIVE" />
            </intent-filter>
        </receiver>

        <supplier
            android:identify="io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingInitProvider"
            android:authorities="com.thriving_in_the_modern_world.flutterfirebasemessaginginitprovider"
            android:exported="false"
            android:initOrder="99" />
        <supplier
            android:identify="io.flutter.plugins.imagepicker.ImagePickerFileProvider"
            android:authorities="com.thriving_in_the_modern_world.flutter.image_provider"
            android:exported="false"
            android:grantUriPermissions="true" >
            <meta-data
                android:identify="android.help.FILE_PROVIDER_PATHS"
                android:useful resource="@xml/flutter_image_picker_file_paths" />
        </supplier>

        <exercise
            android:identify="io.flutter.plugins.urllauncher.WebViewActivity"
            android:exported="false"
            android:theme="@android:fashion/Theme.NoTitleBar.Fullscreen" />
        <exercise android:identify="com.maru.twitter_login.chrome_custom_tabs.ChromeCustomTabsActivity" />
        <exercise
            android:identify="com.google.firebase.auth.inside.GenericIdpActivity"
            android:excludeFromRecents="true"
            android:exported="true"
            android:launchMode="singleTask"
            android:theme="@android:fashion/Theme.Translucent.NoTitleBar" >
            <intent-filter>
                <motion android:identify="android.intent.motion.VIEW" />

                <class android:identify="android.intent.class.DEFAULT" />
                <class android:identify="android.intent.class.BROWSABLE" />

                <knowledge
                    android:host="firebase.auth"
                    android:path="/"
                    android:scheme="genericidp" />
            </intent-filter>
        </exercise>
        <exercise
            android:identify="com.google.firebase.auth.inside.RecaptchaActivity"
            android:excludeFromRecents="true"
            android:exported="true"
            android:launchMode="singleTask"
            android:theme="@android:fashion/Theme.Translucent.NoTitleBar" >
            <intent-filter>
                <motion android:identify="android.intent.motion.VIEW" />

                <class android:identify="android.intent.class.DEFAULT" />
                <class android:identify="android.intent.class.BROWSABLE" />

                <knowledge
                    android:host="firebase.auth"
                    android:path="/"
                    android:scheme="recaptcha" />
            </intent-filter>
        </exercise>
        <exercise
            android:identify="com.fb.FacebookActivity"
            android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
            android:theme="@fashion/com_facebook_activity_theme" />
        <exercise android:identify="com.fb.CustomTabMainActivity" />
        <exercise
            android:identify="com.fb.CustomTabActivity"
            android:exported="true" >
            <intent-filter>
                <motion android:identify="android.intent.motion.VIEW" />

                <class android:identify="android.intent.class.DEFAULT" />
                <class android:identify="android.intent.class.BROWSABLE" />

                <knowledge
                    android:host="cct.com.thriving_in_the_modern_world"
                    android:scheme="fbconnect" />
            </intent-filter>
        </exercise>
        <exercise
            android:identify="com.google.android.gms.auth.api.signin.inside.SignInHubActivity"
            android:excludeFromRecents="true"
            android:exported="false"
            android:theme="@android:fashion/Theme.Translucent.NoTitleBar" />
        <!--
            Service dealing with Google Signal-In consumer revocation. For apps that don't combine with
            Google Signal-In, this service won't ever be began.
        -->
        <service
            android:identify="com.google.android.gms.auth.api.signin.RevocationBoundService"
            android:exported="true"
            android:permission="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION"
            android:visibleToInstantApps="true" />

        <receiver
            android:identify="com.google.firebase.iid.FirebaseInstanceIdReceiver"
            android:exported="true"
            android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <motion android:identify="com.google.android.c2dm.intent.RECEIVE" />
            </intent-filter>
        </receiver>
        <!--
             FirebaseMessagingService performs safety checks at runtime,
             however set to not exported to explicitly keep away from permitting one other app to name it.
        -->
        <service
            android:identify="com.google.firebase.messaging.FirebaseMessagingService"
            android:directBootAware="true"
            android:exported="false" >
            <intent-filter android:precedence="-500" >
                <motion android:identify="com.google.firebase.MESSAGING_EVENT" />
            </intent-filter>
        </service>

        <exercise
            android:identify="com.google.android.gms.frequent.api.GoogleApiActivity"
            android:exported="false"
            android:theme="@android:fashion/Theme.Translucent.NoTitleBar" />

        <supplier
            android:identify="com.google.firebase.supplier.FirebaseInitProvider"
            android:authorities="com.thriving_in_the_modern_world.firebaseinitprovider"
            android:directBootAware="true"
            android:exported="false"
            android:initOrder="100" />

        <receiver
            android:identify="com.google.android.gms.measurement.AppMeasurementReceiver"
            android:enabled="true"
            android:exported="false" >
        </receiver>

        <service
            android:identify="com.google.android.gms.measurement.AppMeasurementService"
            android:enabled="true"
            android:exported="false" />
        <service
            android:identify="com.google.android.gms.measurement.AppMeasurementJobService"
            android:enabled="true"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />

        <meta-data
            android:identify="com.google.android.gms.model"
            android:worth="@integer/google_play_services_version" />
        <!--
         The initialization ContentProvider will name FacebookSdk.sdkInitialize mechanically
         with the applying context. This config is merged in with the host app's manifest,
         however there can solely be one supplier with the identical authority activated at any given
         level; so if the tip consumer has two or extra completely different apps that use Fb SDK, solely the
         first one will be capable of use the supplier. To work round this downside, we use the
         following placeholder within the authority to determine every host software as if it was
         a very completely different supplier.
        -->
        <supplier
            android:identify="com.fb.inside.FacebookInitProvider"
            android:authorities="com.thriving_in_the_modern_world.FacebookInitProvider"
            android:exported="false" />

        <receiver
            android:identify="com.fb.CurrentAccessTokenExpirationBroadcastReceiver"
            android:exported="false" >
            <intent-filter>
                <motion android:identify="com.fb.sdk.ACTION_CURRENT_ACCESS_TOKEN_CHANGED" />
            </intent-filter>
        </receiver>
        <receiver
            android:identify="com.fb.AuthenticationTokenManager$CurrentAuthenticationTokenChangedBroadcastReceiver"
            android:exported="false" >
            <intent-filter>
                <motion android:identify="com.fb.sdk.ACTION_CURRENT_AUTHENTICATION_TOKEN_CHANGED" />
            </intent-filter>
        </receiver>

        <uses-library
            android:identify="androidx.window.extensions"
            android:required="false" />
        <uses-library
            android:identify="androidx.window.sidecar"
            android:required="false" />

        <service
            android:identify="com.google.android.datatransport.runtime.backends.TransportBackendDiscovery"
            android:exported="false" >
            <meta-data
                android:identify="backend:com.google.android.datatransport.cct.CctBackendFactory"
                android:worth="cct" />
        </service>
        <service
            android:identify="com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" >
        </service>

        <receiver
            android:identify="com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver"
            android:exported="false" />

        <supplier
            android:identify="androidx.startup.InitializationProvider"
            android:authorities="com.thriving_in_the_modern_world.androidx-startup"
            android:exported="false" >
            <meta-data
                android:identify="androidx.profileinstaller.ProfileInstallerInitializer"
                android:worth="androidx.startup" />
        </supplier>

        <receiver
            android:identify="androidx.profileinstaller.ProfileInstallReceiver"
            android:directBootAware="false"
            android:enabled="true"
            android:exported="true"
            android:permission="android.permission.DUMP" >
            <intent-filter>
                <motion android:identify="androidx.profileinstaller.motion.INSTALL_PROFILE" />
            </intent-filter>
            <intent-filter>
                <motion android:identify="androidx.profileinstaller.motion.SKIP_FILE" />
            </intent-filter>
            <intent-filter>
                <motion android:identify="androidx.profileinstaller.motion.SAVE_PROFILE" />
            </intent-filter>
            <intent-filter>
                <motion android:identify="androidx.profileinstaller.motion.BENCHMARK_OPERATION" />
            </intent-filter>
        </receiver>
    </software>

</manifest>

Leave a Reply

Your email address will not be published. Required fields are marked *