当前位置:   article > 正文

谷歌firebase_如何使用Firebase和Google Play提高应用程序质量

google play console firebase

谷歌firebase

If you’ve ever published an app to Google Play, you may have experienced a moment of panic before release. “Is my app stable enough to handle thousands of users? Will it work as designed across devices?” If you’ve had thoughts like these when shipping your app, don’t worry, you’re not alone. Shipping your app doesn’t have to be a stressful experience and there are tools you can use to ensure your apps are stable and high performing.

如果您曾经在Google Play上发布过某个应用,则可能在发布之前经历了一段时间的恐慌。 “我的应用程序是否稳定到足以容纳数千名用户? 它会在各种设备上按设计工作吗?” 如果您在发布应用程序时曾有过类似想法,请不要担心,您并不孤单。 交付您的应用程序不一定会带来压力,并且可以使用一些工具来确保应用程序稳定和高性能。

You may already be using Google Play app quality tools, such as Android vitals and pre-launch reports in your release workflows, but using Firebase and Google Play quality tools together can take your app quality to the next level. Google Play quality tools provide a holistic view of your app’s stability while Firebase quality tools, such as App Distribution, Crashlytics, Test Lab and Performance Monitoring, offer additional customization and more in-depth insights. The combined use of Google Play and Firebase quality tools provides you with actionable insight on your app’s stability and performance before, during, and after launch so you can be confident knowing your users are experiencing the best version of your app.

您可能已经在发布工作流程中使用了Google Play应用质量工具,例如Android Vitals和预发布报告,但同时使用Firebase和Google Play质量工具可以将您的应用质量提升到一个新的水平。 Google Play质量工具提供了应用程序稳定性的整体视图,而Firebase质量工具(例如App Distribution,Crashlytics,测试实验室和性能监控)则提供了更多自定义功能和更深入的见解。 结合使用Google Play和Firebase质量工具,可以在启动之前,之中和之后为您提供有关应用程序稳定性和性能的切实可行的见解,因此您可以确信自己的用户正在体验应用程序的最佳版本。

In this article, I’ll cover how to use Firebase app quality tools together with Google Play quality tools to improve user’s experience in your app.

在本文中,我将介绍如何将Firebase应用程序质量工具与Google Play质量工具一起使用,以改善用户在您的应用程序中的体验。

Image for post
Table listing out Google Play and Firebase tools that help improve your app quality 列出了有助于改善应用质量的Google Play和Firebase工具

收集内部团队和外部用户的反馈 (Gather feedback from internal teams and external users)

One of the best ways to identify and fix bugs is through feedback from trusted testers, but user testing can be a clunky process. You have to recruit testers, find ways to distribute your test builds and grant testers access. Firebase App Distribution, a pre-release testing tool, provides you with the flexibility to easily distribute your test builds among trusted testers on Android and iOS using the Firebase console or your CI servers so you can collect early feedback and uncover bugs. Also, with no SDK to install, you can get your testers up and running quickly. If you’re looking to test specific Play formats such as App Bundles, you can use Google Play Internal App Sharing to quickly upload and share your test builds with your internal team.

识别和修复错误的最佳方法之一是通过受信任的测试人员的反馈,但是用户测试可能是一个笨拙的过程。 您必须招募测试人员,找到分发测试版本的方法并授予测试人员访问权限。 Firebase App Distribution是一种预发布的测试工具,可让您灵活地使用Firebase控制台或CI服务器在Android和iOS上的受信任测试人员中轻松分发测试版本,以便您收集早期反馈并发现错误。 此外,无需安装任何SDK,就可以使测试人员快速启动并运行。 如果您要测试特定的Play格式(例如应用程序捆绑包),则可以使用Google Play内部应用共享 快速上传并与内部团队共享您的测试版本。

When you’re done with internal testing and want to gather more feedback at scale, use Google Play’s open and closed testing tracks to target your most engaged users for a final quality check before releasing a new feature. With open and closed testing you get direct feedback from external users without impacting your ratings or reviews on Google Play. For example, Panzerdog, a game developer, improved retention using closed testing to gather feedback on issues they weren’t originally focused on, such as overall performance and controls. You can find some more best practices on using testing tracks here.

当您完成内部测试并想要大规模收集更多反馈时,请使用Google Play的开放式封闭式 在发布新功能之前,先测试一下目标客户最感兴趣的用户,以进行最终质量检查。 通过开放式和封闭式测试,您可以直接从外部用户获得反馈,而不会影响您在Google Play上的评分或评论。 例如,游戏开发商Panzerdog使用封闭测试提高了保留率,以收集他们最初不关注的问题(例如整体性能和控件)的反馈。 您可以在此处找到有关使用测试轨道的更多最佳实践。

在其他设备上测试您的应用 (Test your app on different devices)

With so many Android devices on the market, it’s important to test your app on a variety of devices to ensure it functions as intended for all users. You may already use pre-launch reports on the Google Play Console to run tests on pre-selected devices. However, you might want a little more flexibility, given you know your users best and what devices are most popular with them. Firebase Test Lab allows you to run custom ad-hoc tests at any point in development on a myriad of self-selected physical and virtual devices.

市场上有许多Android设备,因此必须在各种设备上测试您的应用,以确保其功能适合所有用户,这一点很重要。 您可能已经在Google Play控制台上使用发布前的报告来在预选设备上运行测试。 但是,鉴于您最了解用户以及哪种设备最受欢迎,因此您可能需要更多的灵活性。 Firebase Test Lab允许您在开发中的任何时候在众多自选的物理和虚拟设备上运行自定义即席测试。

Both pre-launch reports and Firebase Test Lab offer Robo test, an intelligent crawler that automatically navigates your app and identifies issues without having to set up tests on your own. For more control over your testing, you can also run custom instrumentation tests on Firebase Test Lab that allow you to drive the UI of your app.

发布前的报告和Firebase Test Lab都提供Robo test ,这是一种智能爬网程序,可自动导航您的应用程序并识别问题,而无需自行设置测试。 为了更好地控制测试,您还可以在Firebase测试实验室上运行自定义测试 ,以驱动应用的用户界面。

For game developers, pre-launch reports and Firebase Test Lab offer Game Loop tests that simulates the actions of a real player, and provides a fast and scalable way to verify that your game performs well for your users.

对于游戏开发人员而言,发布前的报告和Firebase测试实验室提供了Game Loop测试 ,可以模拟真实玩家的行为,并提供一种快速且可扩展的方式来验证您的游戏对用户的性能是否良好。

Firebase Test Lab and pre-launch reports provide you with actionable next steps on how to address stability, Android compatibility, display, accessibility and security vulnerabilities across devices without having to maintain this infrastructure on your own.

Firebase测试实验室和预发布报告 提供有关如何解决跨设备的稳定性,Android兼容性,显示,可访问性和安全漏洞的可行的后续步骤,而无需自己维护此基础结构。

监控并快速修复您的应用中发生的崩溃 (Monitor and quickly fix crashes that occur in your app)

No matter how much testing you do, all apps crash every once in a while. You don’t want to learn about problems in your app from angry reviews or support tickets from frustrated users. The best way to monitor your app’s stability is to find out about issues as soon as they occur.

无论您进行多少测试,所有应用程序都会偶尔崩溃。 您不想从生气的评论或沮丧的用户的支持票中了解应用程序中的问题。 监视应用程序稳定性的最佳方法是尽快发现问题。

To ensure you’re prioritizing the most pervasive crashes, start by reviewing your Android vitals dashboard to get a broad overview of your crash and ANR rates.

为确保您优先考虑最普遍的崩溃,请先查看您的Android生命周期 仪表板以全面了解崩溃和ANR率。

Once you’ve gone through your Android vitals metrics, it’s time to begin fixing issues, but troubleshooting can take time. Firebase Crashlytics can help you fix stability issues faster by providing additional context that helps you quickly understand the root cause of a crash. For example, custom keys provide you with a snapshot of the state of your app before it crashes, and custom logs record the events a user went through during their session. You can also integrate Crashlytics with Google Analytics to utilize breadcrumbs, which automatically capture predefined Google Analytics events that show the actions a user has taken prior to a crash, as well as the parameters within the event. Gameloft, a critically acclaimed game developer, saw firsthand the benefit of using logs and keys to get details and context surrounding crashes, which helped them lower crash rates and increase player session duration by 16%.

完成Android生命周期指标后,就可以开始解决问题了,但进行故障排除可能会花费一些时间。 Firebase Crashlytics通过提供可帮助您快速了解崩溃根本原因的附加上下文,可以帮助您更快地解决稳定性问题。 例如, 自定义键为您提供应用程序崩溃前状态的快照,而自定义日志记录用户在会话期间经历的事件。 您还可以将Crashlytics与Google Analytics(分析)集成以利用面包屑,该面包屑会自动捕获预定义的Google Analytics(分析)事件 ,这些事件显示用户在崩溃之前已执行的操作以及事件中的参数。 倍受赞誉的游戏开发商Gameloft亲眼看到了使用日志和键来获取崩溃的详细信息和上下文的好处,这有助于他们将崩溃率降低,并将玩家会话时间延长16%。

For even more in-depth insight, export your crash data to BigQuery in real time to determine emerging crashes in new code or see the top issues for the day, so you can prioritize and fix them faster.

要获得更深入的了解,请将崩溃数据实时导出到BigQuery以确定新代码中正在出现的崩溃,或者查看当日的主要问题,以便您可以更快地确定优先级并进行修复。

For more ways Crashlytics can help you improve your app, you can check out this blog post by my colleague, Oleg.

有关Crashlytics可以帮助您改善应用程序的更多方式,您可以查看我的同事Oleg的这篇博客文章

启动后分析应用程序性能 (Analyze app performance after launch)

Once your app is live, you’ll want to monitor how it’s performing across your user base, and spot any technical issues quickly and easily. You can use Android vitals here to monitor not only crashes, but also your app’s excessive wakeup and stuck partial wakeup data, as well as app start time. You can see how your app is performing compared to your peers by using custom peer groups. For game developers, you can also get additional performance insights in Android vitals by integrating Android Performance Tuner into your game to measure and optimize your frame rate performance and your graphical fidelity across the Android device ecosystem.

应用程序上线后,您将需要监视其在整个用户群中的运行情况,并快速,轻松地发现任何技术问题。 您可以在此处使用Android vitals监视崩溃,还可以监视应用程序的过度唤醒和卡住的部分唤醒数据,以及应用程序的启动时间。 通过使用自定义对等组,可以查看与同等相比,您的应用程序的性能如何。 对于游戏开发人员来说,您还可以通过将Android Performance Tuner集成到游戏中来衡量和优化整个Android设备生态系统中的帧速率性能和图形逼真度,从而获得有关Android vitals的其他性能见解。

To drill deeper into your app’s performance, Firebase Performance Monitoring utilizes custom traces to capture your app’s performance in specific situations so you can understand the context in which performance issues take place and more easily address them. You can also filter both the trace and network data of your app into dimensions like device type, geography, and app version to get to the bottom of issues.

为了更深入地研究应用程序的性能, Firebase性能监控利用自定义跟踪来捕获特定情况下应用程序的性能,因此您可以了解发生性能问题的背景并更轻松地解决它们。 您还可以将应用程序的跟踪和网络数据过滤到诸如设备类型,地理位置和应用程序版本之类的维度中,以探究问题的根源。

Understanding your app’s performance not only gives you more information on your app’s relative quality, but also helps you make the right business decisions while ensuring the quality of your app on the Play store.

了解应用的性能不仅可以为您提供有关其相对质量的更多信息,还可以帮助您做出正确的业务决策,同时确保Play商店中应用的质量。

最后的话 (Final words)

So there you have it! By using Firebase and Google Play together you have a powerful set of tools that help you get a broad overview as well as in-depth insight into stability issues, making your release process less stressful, your app less buggy and your users happy. To get started with Firebase quality tools, you can create a project here, and learn about linking it to Google Play here.

所以你有它! 通过将Firebase和Google Play一起使用,您可以使用一组功能强大的工具,这些工具可以帮助您获得广泛的概述以及对稳定性问题的深入了解,从而使发布过程的压力减轻,应用程序的错误少,用户满意。 要开始使用Firebase质量工具,您可以在此处创建一个项目,并在此处了解有关将其链接到Google Play的信息

翻译自: https://medium.com/googleplaydev/how-to-increase-app-quality-with-firebase-and-google-play-bccf59f8d92e

谷歌firebase

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/323533
推荐阅读
相关标签
  

闽ICP备14008679号