Gre*_*ice 6 android google-play flutter actions-on-google google-play-console
我们最近升级了我们的应用程序,使其符合Android 12(API 级别 31)并使用 Flutter 版本 2.8.1 构建。
Google 最近批准了我们的应用程序,但当我们“更新”应用程序时,以前的版本将从设备和 Play 商店中删除。剩下的按钮选项是“卸载”。不再有“打开”按钮(参见屏幕截图 1)。
Android 9、10、11、12 和 13 版本均出现此情况。我们所有的应用程序都启用了 GooglePay。
我们已采取的步骤:
我们的AppManifest.xml文件中是否存在错误?
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="<BOUNDLE ID>">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- commenting this out as i don;t think we;re using it and google asks us why we're requesting it.
it's for seeing what apps are installed on someones phone
not sure if needed for web views perhaps?
-->
<!-- <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> -->
<application
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background" />
<meta-data
android:name="com.google.android.gms.wallet.api.enabled"
android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER"/>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="stripesdk"
android:host="3ds.stripesdk.io" />
</intent-filter>
</activity>
<activity
android:name="com.yalantis.ucrop.UCropActivity"
android:screenOrientation="portrait"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
</application>
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</manifest>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
683 次 |
| 最近记录: |