راهاندازی مجدد اندروید Headspace، کاربران فعال ماهانه را ۱۵ درصد افزایش میدهد.
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ذهن آگاهی در خلاء اتفاق نمی افتد - راهی برای اتصال به هر بخش دیگر از زندگی یک فرد دارد. Headspace که یکی از اولین برنامههای مدیتیشن در جهان را ایجاد کرد و اکنون در فضای تمرکز حواس پیشرو است، اخیراً با در نظر گرفتن این دیدگاه کلنگر تکامل یافته است. در سال 2019، آنها تصمیم گرفتند برنامه خود را فراتر از مدیتیشن گسترش دهند و ویژگی های جدید تناسب اندام و سلامتی را اضافه کنند. Headspace متوجه شد که آنها به یک تیم متقابل از مهندسان و طراحان نیاز دارند تا بتوانند چشم انداز محصول جدید را ارائه دهند و یک تجربه اپلیکیشن عالی برای کاربران ایجاد کنند. مرحله جدید هیجان انگیز برای شرکت: تیم طراحی آنها این فرآیند را با ایجاد نمونه های اولیه برای تجربه جدید، با طرح های جدید تازه آغاز کردند.
تنها چیزی که Headspace را از گسترش برنامه خود و گسترش بیشتر افق های کاربران خود باز داشت، معماری نرم افزار موجود آنها بود. ساختار آن به اندازه کافی برای پشتیبانی از همه این ویژگی های جدید طراحی نشده بود. در واقع، تیم توسعه Headspace پیشبینی کرد که ایجاد کد فعلی آنها بیشتر از بازنویسی کامل طول میکشد. آنها تصمیم گرفتند توسعه برنامه اندروید فعلی خود را متوقف کنند و تمام وقت خود را به یک بازسازی کلی اختصاص دهند.
چگونه این کار را انجام دادند
تیم توسعه اندروید Headspace به روشی مناسب برای استانداردسازی نحوه ساخت ویژگیها نیاز داشت. در حالی که در ادبیات گوگل در مورد جدیدترین، بهترین شیوه ها برای توسعه اندروید و معماری برنامه غوطه ور بودند، راه حل خود را پیدا کردند. گوگل توصیه کرد که برنامه خود را با استفاده از model-view-view-model تغییر شکل دهند. MVVM یک الگوی نرمافزاری با پشتیبانی گسترده است که به تدریج در حال تبدیل شدن به استاندارد صنعتی است، زیرا به توسعهدهندگان اجازه میدهد تا به وضوح حوزههای توسعه را از هم جدا کنند و به سادهسازی معماری برنامه کمک کند. انتخاب MVVM مجموعه جدیدی از استانداردها و بهترین شیوه ها را برای Headspace فراهم کرد که به سرعت بخشیدن به توسعه کمک کرد.
یکی دیگر از منابع کلیدی گوگل که این تیم از آن استفاده کرد، کتابخانههای Android Jetpack ، از جمله Dagger و Hilt برای تزریق وابستگی بود. رویکرد جدید کد دیگ بخار را کوچکتر و کارآمدتر کرد و بهره وری تیم را بهبود بخشید. آنها همچنین از این فرصت استفاده کردند و برنامه خود را به طور کامل به زبان برنامه نویسی Kotlin منتقل کردند. با استفاده از Kotlin، تیم پوشش تست در برنامه را از تقریباً 15٪ به 80٪ افزایش داد. افزایش پوشش تست منجر به استقرار سریعتر، کد با کیفیت بالاتر و خرابیهای کمتر شد.
Headspace برای اطمینان از اینکه این تجربه کاربری بهبودیافته در بررسیهای فهرست فروشگاهشان منعکس میشود، Google Play In-App Review API را پیادهسازی کرد. این API جدید به آنها اجازه میدهد تا همه کاربران را تشویق کنند تا بررسیهای تجربه Headspace خود را از داخل برنامه به اشتراک بگذارند. این پیادهسازی امتیازات مرور را افزایش داد، و از آنجایی که بررسیهای فهرست فروشگاه با قابلیت مشاهده در Google Play مرتبط است، همچنین به جلب توجه به پیشرفتهای اخیر برنامه کمک کرد. برای بررسی عمیق فنی در راه اندازی مجدد Headspace، بررسی کنید و مطالعه موردی فنی را با تیم توسعه خود به اشتراک بگذارید.
نتایج
این تیم بازنویسی را در هشت ماه تکمیل کرد و آنها توانستند تمام ویژگی های نمونه اولیه طراحی را ارائه دهند. آنها به هدف اولیه خود برای دستیابی به مخاطبان جدید در فضاهای تناسب اندام و تناسب اندام دست یافتند، بدون اینکه شهرت کیفیت خود را به خطر بیندازند. موج جدیدی از بررسی ها و اشتراک ها حاکی از تجربه کاربری بهتر و پایگاه کاربر شادتر است.
تمرکز جدید Headspace بر تعالی برنامه Android باعث بهبودهای قابل اندازه گیری در همه معیارها شد.

بهبود کیفیت برنامه منجر به افزایش 20 درصدی برابری مشترکین پولی بین سیستمعاملهایی شد که برنامه آنها در آنجا منتشر میشود، و رویکرد جدید برای بررسیها باعث افزایش بررسیهای فهرست فروشگاه آنها از 3.56 به 4.7 از سه ماهه دوم به سه ماهه چهارم شد. 2020. مشاهده از بررسی های بهبود یافته همراه با ویژگی های جدید و تجربه کاربری بهبودیافته منجر به افزایش 15 درصدی کاربران فعال ماهانه در سطح جهانی می شود. در داخل، معماری جدید همچنین به Headspace اجازه میدهد تا گردشهای کاری سریعتر و مطمئنتری برای توسعه آینده ایجاد کند. اکنون، آنها زمان بسیار کمتری را صرف آزمایش و رفع اشکال میکنند و زمان بیشتری را برای پیادهسازی ویژگیهای جدید صرف میکنند – اخیراً، بهبود جریان حفظ و بهینهسازی فرآیند افزایش فروش. بازنویسی همچنین امکان پیوند عمیق و ادغام ابزار بازاریابی را فراهم کرد. این مزیت به تیم Headspace این امکان را داد که دادههای بهتری را از کاربران بیشتری جمعآوری کند، مستقیماً به کسانی که بازخورد میدهند پاسخ دهد و از این بازخورد برای اطلاع از توسعه آینده استفاده کند.
Headspace دست به کار شد و سرمایه گذاری قابل توجهی را در Android App Excellence انجام داد و در عین حال زمینه های جدید هیجان انگیزی را در تناسب اندام و سلامتی باز کرد. Headspace با یک پایه جدید قوی برای توسعه و بازخورد تازه از کاربران خود، موقعیت خوبی برای ادامه ماموریت خود دارد: بهبود سلامت و شادی همه.
شروع کنید
برای کشف نحوه بازنویسی برنامه خود برای ارائه تجربه کاربری بهتر، به مطالعه موردی فنی Headspace مراجعه کنید. و، از صفحه فرود App Excellence دیدن کنید تا در مورد اینکه چگونه تجارب کاربری سازگار و بصری کاربر برنامه می تواند کسب و کار شما را رشد دهد، بیشتر بدانید.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2021-09-27 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2021-09-27 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Headspace's Android reboot increases monthly active users by 15%\n\nMindfulness doesn't happen in a vacuum --- it has a way of connecting to every other part of a person's life. [Headspace](https://play.google.com/store/apps/details?id=com.getsomeheadspace.android&gl=US), which created one of the world's first meditation apps and is now a leader in the mindfulness space, has been evolving recently with that holistic vision in mind. In 2019, they decided to expand their app beyond meditation and add new fitness and wellness features. Headspace realized that they would need a cross-functional team of engineers and designers to be able to deliver on the new product vision and create an [excellent app experience for users](https://android-developers.googleblog.com/2021/08/working-towards-android-app-excellence.html). An exciting new phase for the company: their design team started the process by creating prototypes for the new experience, with fresh new designs.\n\nThe only thing stopping Headspace from expanding their app and further broadening their user's horizons was their existing software architecture. It wasn't clearly structured enough to support all these new features. In fact, Headspace's development team projected that building on their current code would take longer than a complete rewrite. They decided to freeze development of their current Android app and dedicate themselves fulltime to a total overhaul.\n\nHow they did it\n---------------\n\nHeadspace's Android development team needed a convenient way to standardize how they built features. While immersing themselves in Google's literature on the latest, best practices for Android development and [app architecture](/jetpack/guide), they found their solution. Google recommended refactoring their app using [model-view-view-model](/jetpack/guide). MVVM is a widely supported software pattern that is progressively becoming industry standard because it allows developers to clearly separate areas of development, helping streamline an app's architecture. Choosing MVVM provided Headspace with a new set of standards and best practices that helped speed up development.\n\nAnother key resource from Google that the team drew on were the [Android Jetpack](/jetpack) libraries, including [Dagger](/training/dependency-injection/dagger-android) and [Hilt](/training/dependency-injection/hilt-android) for dependency injection. The new approach made boilerplate code smaller and more efficient, improving the team's productivity. They also took the opportunity to fully migrate their app to the Kotlin programming language. Using Kotlin, the team increased the test coverage in the app from approximately 15% to 80%. The increased test coverage resulted in faster deployments, higher quality code, and fewer crashes.\n\nTo make sure this improved user experience was reflected in their store listing reviews, Headspace implemented the [Google Play In-App Review API](/guide/playcore/in-app-review). This new API allowed them to encourage all users to share reviews of their Headspace experience from within the app. The implementation increased review scores, and, because store listing reviews are [tied to visibility on Google Play](/topic/performance/vitals), it also helped draw attention to the app's recent improvements. For a technical deep dive on Headspace's reboot, check out and share the [technical case study](https://android-developers.googleblog.com/2021/09/investing-in-app-excellence-headspaces.html) with your development team.\n\nResults\n-------\n\nThe team completed the rewrite in eight months, and they were able to deliver every feature from the design prototype. They met their initial goal of reaching new audiences in the fitness and wellness spaces, without compromising their reputation for quality. A new surge of reviews and subscriptions spoke to a better user experience and a happier user base.\n\nHeadspace's new focus on [Android App Excellence](/quality) yielded measurable improvements across all metrics. \n\nThe improvements to the quality of the app led to a 20% increase in paid subscriber parity between operating systems where their app is published, and the new approach to reviews drove an increase in their store listing reviews from 3.56 to 4.7 from Q2 to Q4 of 2020. Visibility from improved reviews combined with new features and an improved user experience lead to a 15% increase in monthly active users globally. Internally, the new architecture also allowed Headspace to create faster and more confident workflows for future development. Now, they spend a lot less time testing and fixing bugs, and more time implementing new features --- most recently, an improved retention flow, and optimizations to the upsell process. The rewrite also allowed better deep linking and marketing tool integration. This benefit gave Headspace's team the ability to gather better data from more users, respond directly to those who give feedback, and use this feedback to inform future development.\n\nHeadspace took the plunge and made a significant investment in Android App Excellence while opening up exciting new areas in fitness and wellness. With a strong new foundation for development and fresh feedback from their users, Headspace is well positioned to continue their mission: improve everyone's health and happiness.\n\nGet started\n-----------\n\nTo discover how to rewrite your app to deliver a better user experience, see the [Headspace technical case study](https://android-developers.googleblog.com/2021/09/investing-in-app-excellence-headspaces.html). And, visit the [App Excellence landing page](/quality) to learn more about how consistent, intuitive app user experiences can grow your business."]]