如何在Play控制台中使用Java应用程序更新已发布的本机android上的flutter应用程序

如何在Play控制台中使用Java应用程序更新已发布的本机android上的flutter应用程序

问题描述:

我已经在Google Playstore中发布了带有包名称(例如(com.hamzamuazzam.foo))的本机应用程序,我想更新现在由flutter开发的应用程序,并且还对代码进行了所有必要的更改.

I have published a native app with package name e.g (com.hamzamuazzam.foo) in Google Playstore and I want to update my app that is now made in flutter , also have made all the necessary changes in my code.

使用与旧版本机应用程序相同的程序包名称(com.hamzamuazzam.foo)制作的新flutter应用程序.

new flutter app made with same package name (com.hamzamuazzam.foo) as old native app that is already published in google playstore.

现在,我的主要问题是,我可以使用本机应用程序更新新的flutter应用程序,而无需更改Google Play商店中的程序包名称

Now, my main question is that can I update my new flutter App with Native app without changing the Package name in google play store ,

Google Play控制台会允许我在相同的本机应用程序上使用相同的程序包名称来更新flutter应用程序吗?

will Google play console allow me to update flutter app with same package name over the same native app?

是的,您可以更新您的应用.一般来说,只有三个规则适用于更新:

Yes, you can update your app. Generally speaking, only three rules apply for updates:

  1. 程序包名称必须相同.
  2. versionCode 必须大于先前发布的应用程序的 versionCode .
  3. 必须使用与以前相同的签名密钥对应用程序进行签名.
  1. The package name must be identical.
  2. The versionCode must be greater than the versionCode of the previously released app.
  3. The app must be signed with the same signing key as before.

除此之外,是否使用Kotlin/Java,Flutter,Xamarin,React Native,Cordova或任何其他技术创建APK或Android应用程序包都没关系.

Besides that, it doesn't matter if you create your APK or Android App Bundle with Kotlin/Java, Flutter, Xamarin, React Native, Cordova or any other technology.