{"id":1048,"date":"2020-04-25T08:51:44","date_gmt":"2020-04-25T08:51:44","guid":{"rendered":"http:\/\/pwa-for-wp.com\/docs\/?post_type=ht_kb&#038;p=1048"},"modified":"2021-06-04T13:46:54","modified_gmt":"2021-06-04T13:46:54","slug":"how-to-use-pwa-to-apk-plugin","status":"publish","type":"ht_kb","link":"https:\/\/pwa-for-wp.com\/docs\/article\/how-to-use-pwa-to-apk-plugin\/","title":{"rendered":"How to Use PWA to APK plugin"},"content":{"rendered":"\n<p>This addon will allow your user to,&nbsp; generate the APK of your current PWA website. In just one click you can get the APK. APK Version always generate apk with different versions, it helps users get an update. <\/p>\n\n\n\n<p><strong>Step 1 \u2013&nbsp;<\/strong>First, you need to purchase and install <strong><a href=\"https:\/\/pwa-for-wp.com\/extensions\/pwa-to-apk-plugin\/\">PWA to APK Plugin<\/a><\/strong>&nbsp;plugin.<\/p>\n\n\n\n<p>For more details on how to download an extension for this<strong>&nbsp;<a href=\"https:\/\/pwa-for-wp.com\/docs\/article\/how-to-download-an-extension\/\">Click Here<\/a><\/strong><br><\/p>\n\n\n\n<p><strong>Step 2 \u2013<\/strong> You must have to active before to use this plugin after Activate this plugin click on the Settings option like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"213\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/2-1024x213.png\" alt=\"\" class=\"wp-image-1049\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/2-1024x213.png 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/2-300x62.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/2-768x160.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/2-50x10.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/2-60x12.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/2-100x21.png 100w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/2.png 1269w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 3 \u2013<\/strong>&nbsp;Once you click on settings links it will redirect to Features option here enable \u201c<strong>PWA to Android APP (APK)&nbsp;<\/strong>\u201d option. Click on the \u201c<strong>gear<\/strong>\u201d icon like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"410\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/16-1024x410.png\" alt=\"\" class=\"wp-image-1167\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/16-1024x410.png 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/16-300x120.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/16-768x308.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/16-50x20.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/16-60x24.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/16-100x40.png 100w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/16.png 1215w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 4 \u2013&nbsp;<\/strong>Once you click on the gear icon you can see&nbsp;<strong>PWA to Android APP (APK) <\/strong>page. <\/p>\n\n\n\n<p id=\"package-id\"><strong>Package Id:<\/strong> All Android apps have a package name. The package name uniquely identifies the app on the device; it is also unique in the Google Play store. This means that once you have published an app with this package name, you can never change it; doing so would cause your app to be treated as a brand new app, and existing users of your app will not see the newly packaged app as an update.<\/p>\n\n\n\n<p><strong>Conditions to set package name:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>It must have at least two segments (one or more dots).<\/li><li>Each segment must start with a letter.<\/li><li>All characters must be alphanumeric or underscore [a-z A-Z 0-9_].<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-1024x476.png\" alt=\"\" class=\"wp-image-1168\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-1024x476.png 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-300x139.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-768x357.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-50x23.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-60x28.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-100x46.png 100w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17.png 1291w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 5: <\/strong>In this Generate APK type option, you will see two options &#8220;<strong>Create first time<\/strong>&#8221; and &#8221;<strong>Create new version of APK<\/strong> &#8221;. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Option 1 &#8211;  <strong>Create first time<\/strong>  <\/h4>\n\n\n\n<p>Use this option if you have not generated APK previously, this option will generate for you some necessary files\/data like APK file, signing.keystore, and from signing-key-info.txt (Key password, Key store password) like below the image <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-1-1024x476.png\" alt=\"\" class=\"wp-image-1170\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-1-1024x476.png 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-1-300x139.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-1-768x357.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-1-50x23.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-1-60x28.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-1-100x46.png 100w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/17-1.png 1291w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Option 2- Create new version of APK<\/strong><\/h4>\n\n\n\n<p>Use this option when you generated the apk previously or published in the google play store, user your previous signature information and version code with apk versions help you to generate your APK with the same signature as previous like below the image.  <\/p>\n\n\n\n<p>To generate new version<br>Last App version: Enter your APK version last accepted by google console<br>Last App version code: Enter APK version last accepted by google play store<br>Key file: Upload .keystore file from last generated zip<br>Key password: Enter key-password from last generated zip<br>Key store password: Enter key-password from last generated zip<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"466\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/18-1024x466.png\" alt=\"\" class=\"wp-image-1171\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/18-1024x466.png 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/18-300x136.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/18-768x349.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/18-50x23.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/18-60x27.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/18-100x45.png 100w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/08\/18.png 1267w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>NOTICE:<\/strong> After change in any option required to &#8220;<strong>Save Changes<\/strong>&#8221; so these changes will reflect in APK<\/p>\n\n\n\n<p class=\"has-text-align-left\"><strong>Step 6 &#8211; <\/strong> Once you click on the &#8220;<strong>Download APK<\/strong>&#8221; button it might take several minutes to download the zip file and then click on the &#8220;<strong>Submit<\/strong>&#8221; button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"498\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/09\/pwa3-1024x498.jpg\" alt=\"\" class=\"wp-image-1189\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/09\/pwa3-1024x498.jpg 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/09\/pwa3-300x146.jpg 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/09\/pwa3-768x373.jpg 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/09\/pwa3-50x24.jpg 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/09\/pwa3-60x29.jpg 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/09\/pwa3-100x49.jpg 100w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/09\/pwa3.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Note:<\/strong> For the upcoming update of \u201c<strong>PWA to APK<\/strong>\u201d plugin then you need to enter the license key for this you need to go <strong>WordPress Dashboard<\/strong>&nbsp;-&gt;&nbsp;<strong>PWA<\/strong>-&gt;&nbsp;<strong>Premium Features<\/strong>&nbsp;-&gt; In \u201c<strong>PWA to APK Plugin<\/strong>\u201d option enter the License key and click on \u201c<strong>Activate<\/strong>\u201d button. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"655\" height=\"1024\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/7-655x1024.png\" alt=\"\" class=\"wp-image-1055\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/7-655x1024.png 655w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/7-192x300.png 192w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/7-768x1201.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/7-32x50.png 32w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/7-38x60.png 38w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/7-64x100.png 64w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2020\/04\/7.png 1039w\" sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><\/figure>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope we\u2019ve clear your doubts in case If you have any feedback or questions, Just contact us&nbsp;<strong>here and<\/strong>&nbsp;we are always available for you.<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p><br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This addon will allow your user to,&nbsp; generate the APK of your current PWA website. In just one click you can get the APK. APK Version always generate apk with different versions, it helps users get an update. Step 1 \u2013&nbsp;First, you need to purchase and install PWA to APK&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[9],"ht-kb-tag":[],"class_list":["post-1048","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-extension"],"_links":{"self":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/comments?post=1048"}],"version-history":[{"count":17,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1048\/revisions"}],"predecessor-version":[{"id":1275,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1048\/revisions\/1275"}],"wp:attachment":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=1048"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=1048"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=1048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}