Flutter - 私下发布

Flutter - Publish Privately

我目前正在使用 Flutter 开发移动应用程序。

完成该项目后,我希望可以私下发布它,这意味着只有特定的用户,例如收到 link,才能使用该应用程序。

我知道已经有一个类似的问题,但我想知道您对这个主题的体验如何。

最好的解决方案是什么?

我知道有 2 种方法可以做到这一点

  1. Firebase App Distribution
  2. 内部测试(android)和 TestFlight(iOS)

我不知道,这是否适合您,但这只是一种解决方法,如果只涉及 link。我知道你可以做很多事情,人们也会给你一些最佳选择的建议,但这是我在公司使用的东西,能够测试并从某些人那里得到反馈。

  1. Publish your app for just in release mode. flutter clean will remove the cache, and helps you release the minimal sized app. After all when we publish we need the apk file only
flutter clean && flutter build apk --release
  1. When you have the release-apk with you, just upload it on your Google Drive or your private server.
  2. Get the sahrable link from the Google drive or YOUR PRIVATE SERVER, from where people can download, and then they will be able to test it and your task will be done.

请注意:这只是一个解决方法,如果您不想为此任务太头疼,可以遵循,那就是 testing and feedback privately我已经这样做了,除非每个人都有你的link,否则它是安全的,你不会这样做:)

让我知道这对你来说如何,如果你有什么想要的,请随时提出建议。我也要学:)