使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
STAGE 利用 Firebase 和 Flutter 将发布时间减半
简介
STAGE 是一个功能丰富的流媒体平台,
支持多种印度方言和语言。从诗歌到电影再到励志内容,
STAGE 在其平台上为超过 180 万的日活跃用户
提供了几乎所有形式的娱乐内容。
挑战
为实现向印度广大观众提供量身定制内容的愿景,
STAGE 需要提供适用于各种平台的应用,
包括 iOS、Android、Web、macOS 和 Android TV。不过,
由于开发团队规模不大,他们需要一种高效的方法
来构建这款多平台应用,而采用的基础设施需要能够
安全地存储内容并将其实时传送给用户,以提供流畅的观看体验,
这将帮助他们从竞争激烈的流媒体市场中脱颖而出。
解决方案
在花费一个月尝试并行构建各个应用之后,
该团队在 Google 开发者社区 中了解到了 Flutter。
这似乎是一个颇具发展潜力的解决方案,因为它可以让他们
通过单个代码库开发所有应用,
从而节省大量时间。他们也对热重载等功能非常感兴趣,
该功能让开发者能够在应用中立即看到代码更改的结果,
从而加快开发速度
并实现轻松调试。Flutter 提供了一组丰富的可自定义 widget,
也有助于开发者轻松构建美观且响应迅速的界面。
该团队发现 Flutter 非常容易学习,部分原因在于它的前端和后端开发
使用同一种编程语言,Dart。
Flutter 社区帮助 STAGE 的小型开发者团队快速上手。
STAGE 决定将 Flutter 的前端工具与 Firebase 的配套后端服务搭配使用,
实现全生命周期支持。他们使用 Firebase 的全托管式后端服务
加快上市速度,并将 Realtime Database
和 Cloud Storage 作为核心,以存储、同步内容并将其实时传送给用户,
这一点对直播来说尤为重要。他们使用 Authentication 设置安全的
用户登录流程,使用 Cloud Functions 自动执行后端任务,并集成了 Google
Analytics 以更好地了解用户行为。
除了基础设施产品外,Firebase 还提供了各种工具来帮助
提升应用质量并推动业务增长。STAGE 团队使用了测试和监控产品
Test Lab 及 Crashlytics 来确保其应用在各种设备上
都能高效稳定地运行,并使用了 Cloud Messaging 等互动产品来提供
个性化通知。
最近,STAGE 利用了 Remote Config 和 A/B Testing 来评估面向不同细分受众群的
各种免费试用优惠。借助 Remote Config,他们能够根据用户行为和偏好
提供个性化优惠,并根据早期的分析洞见对这些优惠进行优化,
而无需更新应用。该测试易于设置、运行速度快,而且该团队能够推出最佳优惠来扩大宣传活动的规模,
从而将用户转化率提高了 25%。
接下来,STAGE 计划使用 Flutter 和 Firebase 构建一款功能齐全的桌面应用,
为即将发布的 LG 和 Samsung 电视产品提供支持。
结果
50% - 据报告,开发者的效率提升 50%
减半 - 应用发布周期减半
2 倍 - 功能发布速度加快 2 倍
“Flutter 是一个功能强大且灵活的移动开发框架,提供各种内置 widget 和工具,让您可以轻松构建美观且功能丰富的多平台应用。我们很喜欢将它与 Firebase 搭配使用,这样不仅可以为我们提供应用主干所需的基础设施,还提供了多种工具来帮助我们提升质量、吸引用户并安全地测试新创意。”
- STAGE 的 Flutter 主管 Mirnal
[null,null,[],[],[],null,["[*arrow_back*\nExplore other case studies](/case-studies) \n[View more solutions](/solutions) \n\nSTAGE uses Firebase and Flutter to cut release time in half \n\n*** ** * ** ***\n\nIntroduction [STAGE](https://play.google.com/store/apps/details?id=in.stage) is a feature-rich streaming platform catering to a wide range\nof Indian dialects and languages. From poetry to movies to motivational\ncontent, STAGE offers almost every form of entertainment on their platform\nto over 1.8 million daily active users.\n\n*** ** * ** ***\n\nChallenges To fulfill their mission of providing tailored content to a wide\nrange of Indian audiences, STAGE needed to offer apps for a variety\nof platforms, including iOS, Android, Web, macOS, and Android TV. But\nwith a small development team, they needed a highly efficient way to\nbuild this multi-platform app, with infrastructure that could store and\ndeliver their content to users securely and in real time for a smooth\nviewing experience that would help them stand out in the competitive\nstreaming market. \n\n*** ** * ** ***\n\nSolution \nAfter a month of trying to build each app in parallel,\nthe team learned about [Flutter](https://flutter.dev/) in a [Google Developer Group](https://developers.google.com/community/gdg).\nIt seemed like a promising solution, as it would allow them to\ndevelop all of their apps from a single codebase, saving them a\nconsiderable amount of time. They were also excited about features\nlike hot reload, which allows developers to immediately see the results\nof their code changes in the app, allowing for faster development and\npainless debugging. Flutter's rich set of customizable widgets also\nmakes it easy to build beautiful and responsive user interfaces.\n\nThe team found Flutter very easy to learn, in part because it uses a\nsingle programming language, Dart, for both front-end and back-end development.\nThe Flutter community helped STAGE's small developer team get up to speed quickly.\n\nSTAGE decided to pair Flutter's front-end tools with [Firebase's](/) complementary\nback-end services for full-lifecycle support. They used Firebase's fully managed\nback-end services to get to market faster, with [Realtime Database](/products/realtime-database) and [Cloud Storage](/products/storage)\nat the heart to store, sync, and deliver content to users in real time, which is\nespecially critical for live broadcasts. They used [Authentication](/products/auth) to set up a secure\nuser sign-in flow, [Cloud Functions](/products/functions) to automate backend tasks, and integrated [Google\nAnalytics](/products/analytics) to better understand their user behavior.\n\nIn addition to infrastructure products, Firebase also provides tools to improve app\nquality and drive business growth. The STAGE team used testing and monitoring products\n[Test Lab](/products/test-lab) and [Crashlytics](/products/crashlytics) to ensure their app was performant and stable on a variety of\ndevices, and engagement products like [Cloud Messaging](/products/cloud-messaging) to deliver personalized\nnotifications.\n\nRecently, STAGE used [Remote Config](/products/remote-config) and [A/B Testing](/products/ab-testing) to evaluate various free-trial\noffers with different audience segments. [Remote Config](/products/remote-config) allowed them to personalize\nthe offers to match user behavior and preferences, and optimize them based on early\ninsights - without requiring an app update. The test was easy to set up and quick to\nrun, and the team was able to roll out the best offers to scale the campaign, which\nhelped increase user conversions by 25%.\n\nNext up, STAGE plans to build a full-featured desktop app with Flutter and Firebase,\nwith support for LG and Samsung TVs coming soon.\n\n*** ** * ** ***\n\nResults\n\n50% - reported increase in developer efficiency\n\n2x - faster app release cycles\n\n2x - faster feature releases \n\n\"Flutter is a powerful and flexible mobile development framework with a wide range of built-in widgets and tools that make it easy to build beautiful, feature-rich multi-platform apps. We love how it pairs with Firebase to not only give us the infrastructure we need for the backbone of our app, but also tools to help us improve quality, engage users, and test new ideas safely.\"\n\n\n- Mirnal, Flutter Lead, STAGE \n\nLearn more \n[Get started with Firebase](/) \n[Get started with Flutter](https://flutter.dev/) \nTry Firebase today\n\n\nIntegrating it into your app is easy.\n[Get started](https://console.firebase.google.com/) \n\nAll Firebase products \n\nBuild\n\n- [App Check](/products/app-check)\n- [App Hosting](/products/app-hosting)\n- [Authentication](/products/auth)\n- [Cloud Functions](/products/functions)\n- [Cloud Storage](/products/storage)\n- [Data Connect](/products/data-connect)\n- [Extensions](/products/extensions)\n- [Firestore](/products/firestore)\n- [Firebase ML](/products/ml)\n- [Genkit](https://genkit.dev/)\n- [Hosting](/products/hosting)\n- [Realtime Database](/products/realtime-database)\n- [Firebase AI Logic client SDKs](/products/firebase-ai-logic)\n\n[Generative AI](/products/generative-ai) \n\nRun\n\n- [A/B Testing](/products/ab-testing)\n- [App Distribution](/products/app-distribution)\n- [Cloud Messaging](/products/cloud-messaging)\n- [Crashlytics](/products/crashlytics)\n- [Google Analytics](/products/analytics)\n- [In-App Messaging](/products/in-app-messaging)\n- [Performance Monitoring](/products/performance)\n- [Remote Config](/products/remote-config)\n- [Test Lab](/products/test-lab)"]]