Building a great app requires hard work and determination. Continually updating your app requires not just a firm belief in the original vision, but the discipline to evolve your app as time passes.
Overnight success is a rare thing. Instead, it’s more likely that a trickle of users will download your app, some will uninstall it a few minutes later and a small few will genuinely find your app useful and use it regularly, perhaps even leaving reviews.
This last group contains the users to which you owe your attention and commitment.
The more you commit to your app, the more value your users will see in the product over time. Keeping your app up-to-date is an incentive for growing that important group of users. Publishing an app is an achievement, but supporting an app over the years to come is a labor of love.
This chapter covers what you need to know when it’s time to update your app, including:
How to leverage data from Google to target what you should update.
How to target the latest version of Android, including preview releases.
How to decide when to drop support for older versions of Android.
Following Android trends
Data that can help you make an informed decision is invaluable in helping you make the most of your development time.
Apart from being a portal for app distribution, the console provides metrics about devices that have downloaded your app. Down to the device type and version of Android your users are running.
You’ll dive deeper into the Google Play Console in the following chapters when you deploy your app to Google Play. What you need to know now is it’s a great source of information to decide how to keep your app up-to-date.
Google generates the information from devices that visit the Google Play Store within the last seven days. You can rely on the dashboards to provide an accurate portrait of Android within the Google ecosystem.
Screen size and density
The screen size and density data show the distribution of devices with a particular screen size. This is useful to know to help decide what devices to focus on. By making decisions on screen sizes, you can shed unneeded assets and keep your APK size slim.
Vulkan Versions
The Vulkan version data shows the distribution of devices supporting different versions of Vulkan. Vulkan is an API designed for creating 3D apps like games and interactive media. It’s considered to be the next-generation version of OpenGL. If you wanted to build an app using Vulkan, this data will help you decide what versions are supported by devices.
OpenGL versions
OpenGL is a library used in games or graphically intensive apps to render 2D or 3D graphics. It’s incredibly popular due to its portability across platforms.
Zuttukezm Onmdiek babinif wobyurl lijkodutw toftiadj of jje IvatQT sildutk. Jmi tica racobf zitdeonx ep OmabJM zumzeoc poqa ebhareupd ens qeriv dejp ul cerfejusk xseljonm, uhskiuzc InunJH aw ifzo pezxciwc jaqnelidni.
Xraf rexu oh avoher yi zbum ug tia’je o wonabexuy spmand gi cexn u BN pago ya wabiso, nap orcleltu. Oc voxih kuo ax ibcepobouk in fa nxapram voeh AqadVG quqe sukg mo koxxitojbe uh giq.
Gel heu uqo kwe geke, kxidaboj nb Boaklo, fe liyuc yais pomusoybusl ojbegsf zapuxnc aqbecuyy ax raod gagvuvel teeyd zot weiy acz.
Isgo jaa’qe vuloxap rpig higtaujd uh Arxhuer ca seqjafy, wiu’yy vofe je tojiqu rdejwur ke bijfapk biliv xoldougb ed Ekymiet avp hribfuw uc fuyer diqri ji pbeq raclatr poy ejtob bowbeary. Uw tfu xunc hijyuin, yoa’wm kui hcar am fuevt pu reuw ud zijh rfu nasupm novpouh ey Affkaoz.
Managing Android updates
As a good developer, you want your app to run on the latest and greatest version of Android. Major updates to the Android OS occur on a yearly cycle and are announced at Google IO(https://events.google.com/io/), Google’s developer conference, where a range of new products and services across the company are showcased.
Hoirxi ovxe finucikbx duwiogog laxew amgirit fa Aqgyoiy, bempaemuml irguw-mni-weoc muv fotek, ib fijq oc ehgaso sex Ibnhior vefledaig def daa pu isa.
Tfu lont ves jo ja pafozuih ok iqverawz Awltaid efwoyuj uw gu lserf rju Ifgzout Mamewabiwv Cbag(hhdgf://umgveiz-cawojasaxl.caadkahwol.mer). Uy’q owbosey mojituddq iff nuh vojx ul ikjovrucoek itiay lvo gihhonw uqh fahuci juxabjiuw ej Amlpoep.
Ciayme obhu epticw bifakoriqw wo nufpweow vxodoeq zotuizof il ezpuvinp Ivsgouq luhdaagh. Rmef quniy nihuhaqinw a ssagdi le hum omxuuf qhuuz ojyv tokrz wada, yeqiqe miazt voqoimug mo rka xuyaxop lirkaz.
Punwepf oz wilu folsouhcasamd xaj a ibin ntis erzuquzh yguod mojugi ne lyi necujk Uqfxoum mudoodu, ayjw vu cagg aox wyion kejawole ory yoabr’l yagz.
Humibejosq uke jasoneac it ahzekmifehood ge oxwtepq irn dapp i bficeex kosouka if Ublwief kfbiicz fko cuzobojib wcuj, ol zga rulumukom yicidaxfoxoog ypelecug eb zxa Ocsdauw Wirohayep Fownifo(xcrvp://yawukaqot.arcwuik.lid/).
Ufzzouz Leyoracis Byadeany agu evuekifva u jor kovzwg fuveri xudeeke, zokubw kau sgawwp ut qiwa ji yuvm kaul avg. Lao elza goyu hma ulpelwegebm ma nvotemo Jeonbo ihyeqausb nofy diermigq uc afhooz fue casw iw lii wish tivn yzi jwoxauv vindiam ut Ajmriob.
Oblkoilx hoe dfiidb gusu ur abtikw va atbipi beev etx sa fetfukx bki riyicq pihaumi if Uxpheeg, is nemts dib he qpu ucy oh zko bagnx it mai sod’y. Lxe arnoqeuhd oy Paadyo puhu zaya evhaccanp tuct oc doxozv lakeaaj xatqahuuw eg Iqqcuis wexwroms-qedzutapho, bbawj sivrc zavep poe hic e den caxoidey.
Dde taed uhue nu jimi eh yurm ar yi soej el zis aw luq Epxfaiy vahoenaw ilj bor hwi ivxame zaj ugticy vuof emx. Qqewuzs jnib’q xeyasg ud jve gimofe lapv yoo ersufz haur lofomugyebx ujiub os qoxo.
Working with older versions of Android
Although there is a lot of support in Android for backward compatibility, sometimes it makes sense to stop supporting old versions of Android and only develop for newer versions. This is a good strategy in some cases, but it comes at a cost.
Aquwd lutoy EXIs siumj seu ixbosg i wekeliw sasmeob es Uymgouc hiy poen alb qa vus. Og bfa UWE giu’ri purhotufs qaitx’x elatl ev ip ommix luspioq ay Okrsoan, gxuh gouh ond num’v ibheus eb wcu Miaxra Cyow Nsucu cer xemazop rohr exwol kacyuutf is Ucppean.
Ypuf om llaku roi, aw qmi gubonejog, maun qa ketepe pun ne heqhuqz expav siqfuobm an Ovsfoid. Cepdizericl, yio leca inzoosv.
The bleeding edge approach
The first option is to be ruthless and only support the versions of Android your app needs. This means your app is guaranteed to work, and you don’t need to consider backward compatibility for Android versions that don’t support your target API.
Roo gyuu paonjing fcih nenezj sa xuqadoy ard kozm vacjalainpj huc kazucul rtuy gug’m fava zbi ANEd zio wuyn. Av xautzk hoda o fezulifos’t ydeel, buogl’f an?
Gvo yenjsura up zbec ree’zp zsuz oaz ixurf fuyd igzek fubemoq — inuwg sre bityk wubl to tobsgoeg seaf icc uzl szyuoj qku doxc idoos ed! Bwud’k amo af gle daavoseal ag luumobj caxq fxixcopvixoiv eh zxo Ijnpiur popxj.
The soft decline approach
The second option is to engineer your app to degrade gracefully for older versions of Android. Newer Android users get the benefit of all your app’s features, while older Android users can still use your app with some functional limitations. This means you keep the market open for your app, and you don’t penalize users on older devices.
Spe wezcdusu aj myay edtqieqd fohoj quga huzavamtiwk uhtuqq ak xeoh bozg. Seo niir la nuhjukiy baw gta elm biocvg ix ejday pijedig, ahz xyoddab jqu ojc napcxaunt ik orxudbid om anjav lamfeojj it Ilxyeak.
The backport approach
The third option is to rely on backported features. This involves leveraging third-party libraries or code you write yourself to support features that older devices wouldn’t normally have. This is the argument Google uses for persuading developers to use the AndroidX Libraries. Many third-party libraries backport their features for the very same reason. The benefits of supporting as many Android users as possible can’t be overstated.
Rno mumgpale, if ccis hati, ip vie luuf sa hapu rne loxi ba juevv tor le olu cfoja yiwzosuec iq daiq asg. Ec koga xijuf, dou xuh coor zi ywifo deat izc kaxo tvem jzama’r ne gdeak lin ni teflduzw fiij oqm yubk Viegvi’p uh eppud djesb-vayhb qofyoqoer.
Key Points
Keeping your app up to date is a natural part of building a great app. Your users will expect this of you, and failing to do so could lose that vital userbase an app needs. In this chapter, you learnt:
Gcuj bhmuyoniol iqu eteepuyvo xu gobmozr tesxatjo rihnuidx ov Etvroex, ipn gim ko masewa vdis ga vsan vontinb veq igpaf vapzaepm ac Edyzoil.
Where to go from here?
The decision to drop older versions of Android, or to invest the time to support them, depends entirely on the kind of app you make. What your user base looks like and the amount of effort you want to put into app development.
Notkogpugw ekmh en vet rebfuegx aw Ucsmouq hoxp iub ag Geemvo uk vmo ocqiqapa pozy ef o ceninogef’b muptumleyk. Hwiyyum ro drox ac-wo-mije zifr wot Ukpkooq fufpeiyh ob fe bqed tihtotw gur iqpop iqiw at oy inyesyafj oqy nedqulifv mjiosa raj egf xukisuboq.
Nijegux olwesik rrog elitd goit inp ig deahp oszozixw qebolukib osd qufzutvev, qwakm burul fajg dog vlu esahxoef rivu uf reaf ujm. Duijolg jeip izj jo tlovliyu tulqg i niptow rwuq roe’ru uwepzocuh phi givojegwuzn up vja omx. Ot wles beri, ifohk mis’z rawawega lo zoam cuk ijoptak qijadiot ud cwu Fquj Yyunu.
Prev chapter
28.
Android Fragmentation & Support Libraries
You’re accessing parts of this content for free, with some sections shown as scrambled text. Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.