Build & Deploy Android app
You can package Scandi as a native Android application
Android made it simple to publish web-wrapper-based apps to the marketplace. But, it also provides a little bit more security by introducing the concept of Trusted Web Activity.
Building an app
1. Create a Developer Account
Visit the official site and register for a developer account.
2. Clone ScandiPWA Android app template
You can download ZIP for this repository, or clone with a command below:
3. Change the site URL in MainActivity.java
MainActivity.java
Replace https://demo.scandipwa.com/ with your site's URL.
4. Replace the package name with the one you want
Find and replace all com.scandipwa
of this String in a cloned repository and replace it with your custom value.
5. Verify your site by uploading a file
Upload the file of a similar structure to your server's .well-known/assetlinks.json
URL. Make sure it's publicly accessible!
Make sure to replace PACKAGE_NAME
with the one, you chose in step 4.
FINGERPRINT
with values obtained from your Google Play Console > Release Management > App Signing.
Publishing the app
You will need an Android Studio installed. You can download it here.
Open the project, and navigate to Build -> Generate Signed Bundle / APK.
Choose APK, select (and create) key store file, enter passwords
Choose release build variant and check both Signature versions
Go to your developer console, navigate to All applications
Click Create Application and enter required fields
Prepare description and screenshots (requirements) for your app
Navigate to Release management > App releases
Select the
.apk
file created on step 3Select your release and click Review
For a more detailed guide, please see The Manifests's guide.
The process of review might take up to 7 days and result in refusal. ScandiPWA does not guarantee your app publishing. Please make sure the app you build complies with PlayStore guidelines.
Last updated