Website to app, answered
Short, sourced answers to the questions people ask before and after they package a website as an Android app.
- · Guides
Why does Google sign-in not work inside a WebView app?
Google sign-in in a WebView is blocked by Google's policy and shows disallowed_useragent. Use Custom Tabs, native Sign in with Google, or another login.
- · Guides
Can I publish a progressive web app (PWA) on Google Play?
Yes, you can publish a PWA on Google Play by wrapping it in a Trusted Web Activity, verifying your site with assetlinks.json and uploading the AAB.
- · Guides
How do I make my website work offline with a service worker?
Make a website work offline: register a service worker over HTTPS, cache key files on install, and serve an offline page when the network fails.
- · Guides
Why are file downloads not working in my Android WebView app?
WebView file download not working? A WebView needs a DownloadListener to save files, and blob links, missing cookies and storage rules break it.
- · Guides
PWA vs WebView app: which is better for Android?
PWA vs WebView app: a PWA gets Chrome's full web features and web push; a WebView app gives native control and suits sites or HTML you can't change.
- · Guides
What is a Trusted Web Activity and do I need one?
A Trusted Web Activity opens your own PWA full screen in Chrome inside an Android app. You need one only if you own the site and want browser features.
- · Guides
Can I add push notifications to a WebView app?
Yes, but not with web push. WebView app push notifications need native code such as Firebase Cloud Messaging plus the Android 13 notification permission.
- · Guides
Does a WebView app work without internet?
A WebView app works without internet only for content bundled in the app or already cached. A live website needs a connection and shows an error offline.
- · Guides
What is a version code in Android and when do I increase it?
An Android version code is a positive integer that marks each build as newer. Increase it for every release you upload or install as an update.
- · Guides
Can I change the package name of my Android app after publishing?
You can't change package name after publishing on Google Play. A new package name is a new app, so you republish and move users over.
- · Guides
What is Play App Signing and do I have to use it?
Play App Signing means Google holds your app signing key and signs your APKs. If you publish an AAB on Google Play, you have to use it.
- · Guides
What is the difference between an upload key and an app signing key?
Upload key vs app signing key: you sign uploads with the upload key; Google signs what users install with the app signing key.
- · Guides
Can I convert an APK to an AAB?
There's no official way to convert an APK to an AAB. Rebuild the AAB from your project, or rebuild the module by hand with bundletool.
- · Guides
How do I install an AAB file on my phone?
You can't install an AAB file on a phone directly. Turn it into APKs with bundletool, use an installer app, or share it through Google Play.
- · Guides
What happens if I lose my Android app signing key?
Lose your Android app signing key and you can't update the app, unless Google holds it through Play App Signing. What you can still do, by key type.
- · Guides
How do I fix "There was a problem parsing the package" on Android?
"There was a problem parsing the package" means Android can't read the APK: a broken download, an AAB, a too-new minSdk, or a bad manifest.
- · Guides
What is replacing APK files on Google Play?
The Android App Bundle (AAB) is replacing APK as Google Play's upload format. New apps need AAB since August 2021, but phones still install APKs.
- · Guides
Which apps use WebView?
Which apps use WebView? Most do: social in-app browsers, hybrid apps, website wrappers and help screens. Here's how to check any app yourself.
- · Guides
Can ChatGPT build an Android app?
ChatGPT can build an Android app's code, but you still have to compile it, sign it, test it on a device and publish it yourself.
- · Guides
Can I turn my website into an iOS app with a WebView?
You can wrap a website to iOS app form with a WebView, but Apple rejects apps that are just a repackaged website. What passes, and the free alternative.
- · Guides
What are APK signature schemes v1, v2 and v3?
APK signature scheme v1 signs the JAR entries, v2 signs the whole file (Android 7.0+), and v3 adds key rotation (Android 9+). Which ones you need.
- · Guides
How do I update Android System WebView without the Play Store?
To update Android System WebView without the Play Store, install a Google-signed WebView (or Chrome) APK, then select it under WebView implementation.
- · Guides
Can I convert HTML to APK?
Yes. Bundle the HTML, CSS and JavaScript inside an Android app and show it in a WebView. It runs offline as long as nothing loads from the internet.
- · Guides
How do I convert a website into an Android app?
Wrap the site in a WebView (or a Trusted Web Activity if it's a PWA), sign it with a key you keep, test the APK on a phone, then ship an AAB to Play.
- · Guides
How do I sign an APK from the command line?
Create a key with keytool, align the APK with zipalign, sign it with apksigner sign --ks, then check it with apksigner verify. Order matters.
- · Guides
What is the difference between a signed and an unsigned APK?
A signed APK carries a developer certificate and can be installed and updated. An unsigned APK has no signature, so Android refuses to install it.
- · Guides
Why does my APK say "App not installed"?
Usually the APK is signed with a different key than the installed app, has a lower version code, needs a newer Android, or is really an AAB.
- · Guides
What is Google Play's 12 testers, 14 days rule?
New personal Play Console accounts must keep at least 12 testers opted in to a closed test for 14 days in a row before applying for production access.
- · Guides
How much does it cost to publish an app on Google Play?
A one-time US$25 registration fee. No yearly fee and no per-app fee. Google only takes a service fee if you sell the app or things inside it.
- · Guides
Why did Google Play reject my WebView app for minimum functionality?
The reviewer saw a website in a frame, or an app that broke during review. Add real app value, fix what failed, then resubmit a new version.
- · Guides
Can I convert my website to an Android app for free?
Yes. A WebView wrapper or a Trusted Web Activity costs nothing to build. The only fee you can't avoid is Google Play's one-time US$25 registration.
- · Guides
Do WebView apps get rejected by Google Play?
Some do. Google rejects WebView apps that only mirror a website, wrap a site without permission, or break in review. WebView itself is allowed.
- · Guides
Is it safe to use an online website to APK converter?
It can be, if you control the signing key and know what code goes into the app. The real risks are a builder holding your key or injecting its own code.
- · Guides
How do I turn a website into an APK without coding?
Use a no-code WebView builder, or PWABuilder if your site is a PWA. Both give you an APK with no code. Getting into Google Play is the harder part.