PWA to APK with Volt

I have an Android app published on the Google PlayStore. It is a PWA that we have converted to a TWA. For various reasons I need to build the app and I’m wondering if I can take the code from the current PWA and use it to build it with Volt. The application has been programmed in vainilla Javascript without any framework. Is this possible?

Yes, this should work.

You will need to do a few steps - none hard.

  1. Put all your HTML/JavaScript files in a folder named www in your new project folder.
  2. At the top level of your new project folder, add a file called config.xml

Here’s a simple config.xml:

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.voltbuilder.sample" xmlns="http://www.w3.org/ns/widgets" version="1.0.0">
  <name>My Project</name>
  <description>My Project is an app.</description>
  <plugin name="cordova-plugin-device" />
  <access origin="*" />
</widget>

You now have something you can zip and upload to VoltBuilder to make an Android Debug build.

Have a look at this document for more details and what’s next.

Feel free to post follow on questions here!