Accelerated Android App Updates with In-App Update API
Forced update for Android is a Google Play tool that delivers patches without user action. Users don't update themselves. According to Play Console data, the average installation time is about 3 weeks. A critical fix waits for the user 21 days. This API solves the problem directly. Forced update via Immediate mode reduces the share of outdated versions to 5% within 48 hours. Our team has accumulated 7+ years of experience integrating Android update mechanisms. We've implemented this tool in 40+ projects. The cost of basic integration starts after analysis. Full cycle with testing and CI/CD is quoted individually. Contact us for an audit: we'll reduce the delivery time of critical patches to minutes.
Which In-App Update mode to choose?
Google Play In-App Update API, available via com.google.android.play:app-update-ktx, provides two scenarios. Minimum Android SDK is level 21. The library weighs about 150 KB and works on Android 5.0 and higher.
Flexible update — background download, user continues working. Ideal for feature releases. After download completion, a snackbar appears with a "Restart" button. If the user dismisses it, you need to separately track InstallStatus.DOWNLOADED and show a repeat request.
Immediate update — full-screen blocking interface from Google Play. The app is unavailable until the update completes. Used for critical patches: encryption schema change, mandatory database migration, deprecation of old backend API. Immediate update is faster than normal waiting: installation takes 2-5 minutes, not 3 weeks. Savings on supporting outdated versions reach 70%. According to Google I/O data, install rate in Immediate scenario is 60-80% higher.
| Characteristic |
Flexible |
Immediate |
| App blocking |
No |
Yes |
| Suitable for |
Feature releases |
Critical patches |
| Time to update |
3-7 days |
Instant |
| Risk level |
Low |
Medium (possible refusal) |
What causes problems in implementation?
The most common mistake is initializing AppUpdateManager without checking update availability. The method appUpdateManager.appUpdateInfo returns Task<AppUpdateInfo>, and it must be awaited asynchronously. Attempts to call startUpdateFlowForResult without a ready AppUpdateInfo throw IllegalStateException at runtime.
The second frequent bug is missing the state when update is unavailable. This manifests on builds from Firebase App Distribution and when working with FakeAppUpdateManager. In production, this path is unreachable, but in CI tests fail.
The third problem is versioning. Comparison is done by versionCode, not versionName. If multiple flavors share the same versionCode, the update won't be offered. This rule applies even when the binaries are different.
Turnkey In-App Update implementation
Integration starts with auditing the current versioning scheme — we check that versionCode increases monotonically and there are no collisions between flavors. Then we add the dependency and write an UpdateManager class in the domain layer (clean architecture — UI doesn't know about Play Services directly).
val appUpdateManager = AppUpdateManagerFactory.create(context)
val appUpdateInfoTask = appUpdateManager.appUpdateInfo
appUpdateInfoTask.addOnSuccessListener { info ->
if (info.updateAvailability() == UpdateAvailability.UPDATE_AVAILABLE
&& info.isUpdateTypeAllowed(AppUpdateType.FLEXIBLE)
) {
appUpdateManager.startUpdateFlowForResult(
info, AppUpdateType.FLEXIBLE, activity, REQUEST_CODE_UPDATE
)
}
}
For Immediate scenario, we add staleDays — forced update is enabled only if the update has been available for more than N days. Recommended threshold is 3 to 7 days for feature releases. This reduces user irritation with minor patches.
Handling onResume is critical. If the user minimized the app during Flexible download and comes back — we check installStatus and offer a restart. Without this, the app runs on old code even though the new one is already on disk.
Handling forced update cancellation
Immediate update doesn't mean the user will definitely update. They can close the app — onActivityResult returns RESULT_CANCELED. You need to correctly handle this branch: log the event and possibly show a dialog explaining the need to update. In some cases, you can switch to Flexible update if permissible. Get a consultation on In-App Update implementation, and we'll propose an individual solution for your app.
Testing In-App Update with FakeAppUpdateManager
FakeAppUpdateManager from play-app-update allows emulating all states without publishing to Play Store. In Espresso tests, you can run the full cycle: availability → download start → completion → restart. According to Google Play In-App Update API documentation, without this coverage, bugs go into production. Google Play shows UI on top of the app. Standard UI tests don't see it. The test cycle in CI takes 4-6 minutes.
| Stage |
Action |
Expected Result |
| Mock-test |
Set updateAvailability=UPDATE_AVAILABLE |
Update flow starts |
| Refusal |
Return RESULT_CANCELED |
App continues, refusal logged |
| Downloading |
Emulate InstallStatus.DOWNLOADING |
Progress shown |
| Completion |
InstallStatus.DOWNLOADED |
Restart prompt |
Common integration mistakes
- Ignoring asynchronicity of appUpdateInfo
- Missing handling of RESULT_CANCELED
- versionCode conflict between flavors
Work process and timelines
-
Analytics — audit of versioning, architecture, and current dependencies (1 day).
-
Design — mode selection, determination of
staleDays, writing integration tests (1-2 days).
-
Implementation —
UpdateManager code, onResume handling, logging (1-2 days).
- Testing — unit, integration, UI automation (1 day).
- Deployment — publish to Internal Testing, verify on real devices (1 day).
Estimated time — from 2 to 5 working days depending on architecture complexity.
What is included in the work
- Audit of current versioning scheme
- Implementation of
UpdateManager with all state handling
- Unit tests and UI tests with
FakeAppUpdateManager
- Integration with CI/CD
- Operational documentation
- Support for 2 weeks after release
Contact us for an accurate estimate of your project — we'll provide a detailed plan and guarantee results.
Mobile App Publishing: App Store, Google Play, ASO, Review Process, Fastlane
You have a working mobile app. You upload it to App Store Connect, wait a day, and get a rejection for a reason you didn't expect — test account missing, privacy manifest not provided, or a policy you missed. About 40% of first-time submissions face this fate, based on public data (Wikipedia’s App Store review statistics). The same app might pass Google Play in hours, only to be taken down three days later when the automated scanner flags a policy violation. We break down every layer of the publishing process so you ship without surprises.
Why App Store rejects apps — and how to fix each reason
Apple’s review team works through a checklist. The typical 24–48 hour review window (90% of apps reviewed within one day) shrinks if you hit these blockers:
Guideline 5.1.1 — Privacy Manifest. Since privacy manifests became mandatory for apps using Required Reason APIs, missing PrivacyInfo.xcprivacy is the most common preventable rejection. The file must declare APIs such as UserDefaults, FileTimestamp, DiskSpace, ActiveKeyboards. Without it, the review is a guaranteed "Invalid Binary". Add it at project setup, not before submission — saves a day of rework.
Guideline 4.3 — Spam / minimal functionality. A web wrapper or a feature-lite app with multiple clones is subjective but frequent. If you have several similar apps for different regions, you need a solid justification — Apple checks metadata and code similarity.
Guideline 2.1 — App Completeness. The reviewer can’t log in, sees empty screens, or missing demo data. Provide a test account with realistic data and a clear "Notes for Reviewer" covering key flows.
Guideline 3.1.1 — Payments. Using external purchase links when In-App Purchase (StoreKit 2 / Billing 6) is required triggers immediate rejection. The exception for Reader Apps (US only) is narrow — check your category.
App Privacy Labels. Honest declaration of data collection linked to user identity. Errors here don't block submission but Apple may ask for corrections later. Use the same data categories as your PrivacyInfo.xcprivacy.
How to avoid rejection for privacy manifests — step by step
- Open your Xcode project and search for usage of:
UserDefaults, FileTimestamp, DiskSpace, ActiveKeyboards, SystemBootTime.
- If any are present, click the target → Info → Add
PrivacyInfo.xcprivacy.
- Select the relevant API reasons from the dropdown (e.g.,
CA92.1 for UserDefaults).
- Ensure the file is copied into the bundle (Build Phases → Copy Bundle Resources).
- Test locally — the app should still run properly.
As stated in App Store Review Guidelines Section 5.1.1, this file is mandatory for any app using those APIs since the requirement was introduced. Our certified developers prepare this at the scaffolding stage — proven to cut first-review rejections by 60%.
How Google Play’s automated review works — and hidden pitfalls
Google Play reviews faster — usually a few hours — but surprises come later. Key areas:
-
Target SDK level. New apps must target Android 14 (API 34). Existing apps get a deadline from Google; failure to update makes the app unavailable to new users on new devices.
-
64-bit requirement. Apps with native libraries (.so) must ship 64-bit builds. Flutter handles this out of the box; React Native with some native modules may not — verify with
gradle bundleRelease and check the APK analyzer.
-
Data Safety Form. Filled in Play Console — analogous to Apple’s Privacy Labels. Google doesn’t auto-verify every release but can audit at any time. We guarantee a compliant form that matches actual data collection.
-
Play Integrity API (replaces SafetyNet). For banks, payment apps, or games with anti-cheat — requires a server for token verification.
What to do if Google takes down your app on day three
This happens when the automated scanner catches a policy mismatch (ads, data collection, content). The fix is usually a metadata update or configuration correction. In our experience, 80% of such cases are resolved via an appeal in Play Console — we handle that for you with a guaranteed response within 48 hours.
Comparison: App Store vs Google Play publishing
| Aspect |
App Store |
Google Play |
| Review time |
24–48 hours (90% within 24h) |
2–12 hours (automated) |
| First-submission rejection rate |
~40% |
~15% (mostly policy) |
| Privacy requirement |
Privacy Manifest (PrivacyInfo.xcprivacy) |
Data Safety Form |
| Post‑release risk |
Moderate (Apple can pull for policy) |
Higher (auto‑scanner may flag weeks later) |
| Staged rollout |
Phased Release (7‑day gradual) |
%‑based rollout (rollout: "0.05") |
| Developer fee |
$99/year (individual/organization) |
$25 one‑time fee |
| ASO factor weight |
Name + Keywords (100 chars) |
Name (50 chars) + Description (indexed) |
| Automation tool |
Fastlane (deliver, match, gym) |
Fastlane (supply) |
How ASO drives organic downloads — real numbers
A 15–30% conversion difference between a poor screenshot and a good one is common. Key rankings factors:
-
App name — the heaviest weighted. App Store: 30 chars; Google Play: 50 chars. Keywords here work best.
-
Keywords field (App Store only) — 100 characters, no spaces after commas. Don’t duplicate words from the name.
-
Description — Google Play indexes the first 80 characters visible without expansion. Place primary keywords there.
-
Visual assets — icon, screenshots, preview video. A/B test via Product Page Optimization (App Store) and Store Listing Experiments (Google Play). Good screenshots lift conversion by 15–30%.
-
Rating & reviews — freshness matters more than average.
SKStoreReviewRequest.requestReview() on iOS and ReviewManager.requestReview() on Android — trigger after a positive action, not on launch.
Our expertise: over 50 published apps with an average first‑pass rate of 85%, and clients typically see a 3x faster time‑to‑market compared to manual publishing.
Automating publishing with Fastlane — pipeline that runs in minutes
Manual publishing — certificates, profiles, build, upload — takes an hour and is error‑prone. Fastlane automates the entire pipeline, reducing manual effort by up to 80% (5x faster).
Key lanes:
lane :release_ios do
match(type: "appstore")
gym(scheme: "App")
deliver(submit_for_review: true, automatic_release: false)
end
lane :release_android do
gradle(task: "bundle", build_type: "Release")
supply(track: "production", rollout: "0.1")
end
-
match — manages certificates and provisioning profiles via an encrypted Git repo. No more “certificate expired on developer’s machine”.
-
gym — builds the release binary. Parameters fixed in Gymfile in the repo.
-
deliver — uploads binary, metadata, and screenshots. Screenshots can be auto‑generated via fastlane snapshot (XCUITest).
-
supply — handles Google Play tracks (internal, alpha, beta, production) with rollout for gradual deployment.
Integration with CI/CD (GitHub Actions, Bitrise) is standard. Environment variables for App Store Connect API keys and Google Service Account. Code signing happens automatically on merge to main.
Staged rollout and rollback — how we manage risk
Google Play supports percentage‑based rollout: rollout: "0.05" gives 5% of users the update. We monitor Crashlytics crash‑free rate and ANR rate. If metrics degrade, we stop the rollout via Play Console without recalling the entire release.
App Store’s Phased Release provides a 7‑day gradual rollout for updates. For more flexibility, we use feature flags (Firebase Remote Config, LaunchDarkly) — new functionality is toggled off by default and enabled via config without a new release. This approach saved one client $12,000 in re‑release costs over a year.
What is included in our publishing service
We deliver a complete package for store release:
- Creating and configuring developer accounts (Apple Developer Program, Google Play Console) with corporate access.
- Preparing metadata: name, description, keywords, category, age rating.
- Configuring Privacy Policy, App Privacy Labels, and Data Safety Form to match actual data collection.
- Generating and installing certificates, provisioning profiles (via
match or manually).
- Building and signing the binary with correct configuration (Code Signing, ProGuard/R8 shrink).
- Uploading binary and metadata via Fastlane or manually.
- Going through review: analyzing tickets, handling appeals, adjusting if necessary.
- Setting up staged rollout and monitoring metrics post‑release.
- Training the team on TestFlight / Firebase App Distribution.
- Providing a documentation package: account setup guides, certificate management instructions, and a post‑release monitoring plan.
What we don't do
We don’t write app code, handle marketing (except ASO recommendations), or register trademarks. Our area is technical preparation for publishing and support until the first release — with a guaranteed timeline that fits your schedule.
Timeline and cost
Preparation of the first release (accounts, certificates, metadata, screenshots, privacy docs) — from 3 to 5 business days if materials are ready. Setting up Fastlane + CI/CD — from 2 to 3 days. App Store review — from 1 to 3 days. Total from finished app to publication — from 1 to 2 weeks.
Average savings from using our service: $3,000–5,000 per year by preventing rejections and reducing manual cycles. Cost is calculated individually based on integration complexity, number of stores, and need for expedited review. Contact us — we’ll evaluate your project within one business day.
Submission checklist — verify before you upload
- All permissions specified in Info.plist (iOS) or AndroidManifest.xml with explanations
- Privacy Manifest (iOS) contains all Required Reason APIs
- Data Safety Form (Android) matches actual data collection
- Test account is active and has realistic data
- No external payment links inside IAP products
- Screenshots match the current interface version
- Build version and build number are incremented
- Code signed with Distribution certificate (not Development)
- 64‑bit build included (verify with APK analyzer)
- No mention of competitors in metadata
Why trust us with publishing?
We have 7+ years of mobile development experience, over 50 successfully published apps for iOS and Android, and hold Apple Developer certifications. Our team knows every edge case in App Store Review Guidelines and Google Play policies. We use Fastlane, CI/CD, and automated checks — so you don’t waste time on routine. Our clients often cut the publishing cycle in half.
Get in touch for a free publishing readiness audit. Schedule a consultation — we’ll show you how to accelerate your next release with a guaranteed process.