AppMySite is best known for enabling WordPress and WooCommerce users to build high-performance native mobile apps.
Native apps are the highest standard of mobile apps you can build. They are the best in terms of performance and load-times when compared to web view apps.
And yet, you might find yourself in a situation where you simply need to render your mobile website within an app environment. In simple words, you need to build a webview app.
AppMySite also enables you to build a webview app. In essence, you can create a WooCommerce or WordPress app that renders your mobile website in an app.
A step-by-step guide to building a webview app
The following section provides a guide on creating a webview app on AppMySite:
Step #1: Create an account on AppMySite
The first natural step is creating an account on AppMySite. Visit the signup page to create an account on AppMySite.
After creating an account, you will need to enter some basic details of your app. The following points highlight the details you will need to enter:
- Your website URL
- CMS platform
- Website type
- App name
Click on Build app when you are done. Next, you’ll be redirected to your account dashboard.
Step #2: Design your icon, launch screen, and login screens
During the initial stages, you should design the key elements of your app. These elements include your app icon, launch screen, login & signup screens.
- App icon: For your app icon, you can use the existing appearance features or upload your own icon design.
- Launch screen: You can upload your own background design and logo for your launch screen. Alternatively, you can use the AppMySite image library to find premium artwork for your background. You can also add simple text on your launch screen instead of a logo.
- Login & Signup: You can again upload your own artwork for the background and design of your login & signup screens. There is also an option to use a premium image from the AppMySite library. In this section, you can also update the color scheme of the fields and buttons on the login & signup screens.
Step #3: Turn on webview for home screen
In the next step, you can turn on the webview for your home screen.
The home screen is the first screen your app users will see after logging in or signing up. By default, the screen is a native interface.
You can instead choose to render a webpage from your website on the home page.
Simply follow the steps below to render a mobile webpage on your home screen. You can alternatively watch this video:
- Go to Home Screen in the Appearance module.
- Click on Settings in the Web View tab.
- Enter the page URL from your website that you wish to display on your home screen.
- Enable the toggle below the URL field if you only wish to show your website header and footer on the home screen. Disable this toggle if you only wish to display your app header.
- Click on Save.
Your home screen will now seamlessly display the page URL you entered.
Step #4: Connect your website and app
The next step is connecting your website and app. This is essentially to sync your website data with the app.
The following steps provide a guide on connecting your WordPress website and app:
- If you have a WooCommerce website, enter your REST API keys in the API Details section in the Connectivity module.
Also read: How to generate WooCommerce REST API keys?
- Next download and activate the AppMySite WordPress plugin on your website.
- In the Install Plugin section in the Connectivity module, select Verify.
- If your connection is successful, you will be directed to the App Preview module.
- If the connection is not complete, you can visit the Troubleshooting section to isolate the connectivity issues you are facing.
Step #5: Turn on webview for all app screens
The next step is activating the webview interface for all screens within your app. You can accomplish this in the App Settings module.
Follow the steps below to activate the webview interface for all app screens. Alternatively, you can checkout the video:
- Go to App Settings in your AppMySite account and navigate to Pages.
- You will find a toggle hear to enable the webview interface for all app screens. Turn on this toggle.
- Your web view interface will be able to take user input. Furthermore, your app users will be able to navigate through the app through active hyperlinks.
- Click on Submit when you are done.
Your app will now provide the complete web view experience.
Step #6: Preview your app
Preview for web view apps is only possible through the AppMySite demo app. The following steps describe the process in detail:
- Download the AppMySite demo app from the Google Play Store.
- Login to your AppMySite account. You will now be able to see all the apps you have created with your account.
- Select the app you wish to preview.
- You will now be able to preview your webview app on a real smartphone device.
Step #7: Download your app
Finally, you can download your Android and iOS app build. Follow the steps below to download your Android and iOS app builds:
- Select Build app under Android. Enter the relevant information in the fields and initiate your build generation.
- You have the option to generate either an APK or AAB build.
- Next, select Build app under iOS. Enter the relevant details and upload the essential Apple certificates. This info is essential for generating an iOS build.
You can visit the following resources to download the Android and iOS builds:
Once you download your app builds, you can proceed with submitting them to Google Play and App Store.
Keep in mind that the apps you build are carefully constructed to get approval from Google Play and App Store. However, if you choose to activate the webview interface, there is a chance your app might get rejected after submission.
AppMySite enables you to build an app in a matter of minutes. In this article, we learned the process of creating webview apps with your AppMySite account.
There are many reasons you might choose to render your mobile website within the app. You may have a very-well designed website and want to reflect the same aesthetic on your mobile app. The option to enable the webview interface can thus work well in such cases.