From 45682444a80d363f6038714c09aa08f5b5b54c01 Mon Sep 17 00:00:00 2001 From: Mayur <6332663+mayurjobanputra@users.noreply.github.com> Date: Sun, 11 Jun 2023 14:29:51 -0700 Subject: [PATCH 1/3] Update README.md Added detailed instructions to build the aab file etc --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index d60c6f9..7f28e78 100755 --- a/README.md +++ b/README.md @@ -31,3 +31,21 @@ If you want to create a local HTML5 android app ``` 2. put all your files (including your `index.html`) in the `assets` directory + +### Building your app for Play Store + +When you are ready to release your app and have test the app in Studio virtual simulator (In Android Studio, on the menu, click Run > Run app) + +1. Try to build the APK file. This is a raw APK file that you can install into your mobile for testing. +2. If the APK file gets built, then BEFORE loading the APK file into your mobile, test the APK file at virustotal.com to make sure it isn't flagged +3. Test the APK file again at MetaDefender https://metadefender.opswat.com/ +4. Let Google virus scan your file. Copy the APK file to your Google Drive. Within a few minutes, if there is a virus in the file, Google will send you an email. If not, you won't get an email. +5. If all the virus testing passes, then install the APK file into your phone by either emailing the file to yourself, or using a remote FTP connection into your phone. The File Manager app lets you do this. https://play.google.com/store/apps/details?id=com.alphainventor.filemanager +6. Test your app on your phone +7. If it works on your phone, then build the package for uploading to Google Play store +8. Locate the build.gradle (module.app) file on the left hand side in Android Studio +9. Change line 7 so that it does NOT say "example". Replace the word "example" with your custom app name. Ideally your domain name would be here. So for example, if your domain was JohnsApplePies.com, then line 7 for applicationID could be "com.johnsapplepies.app" +10. Generate your APK file again from step 1 to step 6 above and re-run all scans +11. In Android Studio, go to Build menu, and choose "Generate Signed Bundle / APK" +12. Follow VERY CLOSELY the instructions provided here to create a key, password, etc: https://developer.android.com/studio/publish +13. Visit https://play.google.com/console/ to setup your account, upload your release, verify your identity etc From 22133973ddc8c7863f1f5dac2b26b38a42ff4858 Mon Sep 17 00:00:00 2001 From: Mayur <6332663+mayurjobanputra@users.noreply.github.com> Date: Mon, 12 Jun 2023 10:56:26 -0700 Subject: [PATCH 2/3] Update README.md --- README.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 7f28e78..7415459 100755 --- a/README.md +++ b/README.md @@ -36,16 +36,17 @@ If you want to create a local HTML5 android app When you are ready to release your app and have test the app in Studio virtual simulator (In Android Studio, on the menu, click Run > Run app) -1. Try to build the APK file. This is a raw APK file that you can install into your mobile for testing. -2. If the APK file gets built, then BEFORE loading the APK file into your mobile, test the APK file at virustotal.com to make sure it isn't flagged -3. Test the APK file again at MetaDefender https://metadefender.opswat.com/ -4. Let Google virus scan your file. Copy the APK file to your Google Drive. Within a few minutes, if there is a virus in the file, Google will send you an email. If not, you won't get an email. -5. If all the virus testing passes, then install the APK file into your phone by either emailing the file to yourself, or using a remote FTP connection into your phone. The File Manager app lets you do this. https://play.google.com/store/apps/details?id=com.alphainventor.filemanager -6. Test your app on your phone -7. If it works on your phone, then build the package for uploading to Google Play store -8. Locate the build.gradle (module.app) file on the left hand side in Android Studio -9. Change line 7 so that it does NOT say "example". Replace the word "example" with your custom app name. Ideally your domain name would be here. So for example, if your domain was JohnsApplePies.com, then line 7 for applicationID could be "com.johnsapplepies.app" -10. Generate your APK file again from step 1 to step 6 above and re-run all scans -11. In Android Studio, go to Build menu, and choose "Generate Signed Bundle / APK" -12. Follow VERY CLOSELY the instructions provided here to create a key, password, etc: https://developer.android.com/studio/publish -13. Visit https://play.google.com/console/ to setup your account, upload your release, verify your identity etc +1. Change the app name in app > res > values > strings.xml. This name appears on user's desktops once the app is built and deployed. Optionally change the icons as well at res > mipmap > ic_launcher. +2. Try to build the APK file. This is a raw APK file that you can install into your mobile for testing. In Android studio, Build > Build Bundle APK > Build APK +3. If the APK file gets built, then BEFORE loading the APK file into your mobile, test the APK file at virustotal.com to make sure it isn't flagged. Many APK files across the web have viruses, so this should be good security practice. +4. Test the APK file again at MetaDefender https://metadefender.opswat.com/ +5. Let Google virus scan your file. Copy the APK file to your Google Drive. Within a few minutes, if there is a virus in the file, Google will send you an email. If not, you won't get an email. +6. If all the virus testing passes, then install the APK file into your phone by either emailing the file to yourself, or using a remote FTP connection into your phone. The File Manager app lets you do this. https://play.google.com/store/apps/details?id=com.alphainventor.filemanager +7. Test your app on your phone +8. If it works on your phone, then build the package for uploading to Google Play store +9. Locate the build.gradle (module.app) file on the left hand side in Android Studio +10. Change line 7 so that it does NOT say "example". Replace the word "example" with your custom app name. Ideally your domain name would be here. So for example, if your domain was JohnsApplePies.com, then line 7 for applicationID could be "com.johnsapplepies.app" +11. Generate your APK file again from step 1 to step 6 above and re-run all scans +12. In Android Studio, go to Build menu, and choose "Generate Signed Bundle / APK" +13. Follow VERY CLOSELY the instructions provided here to create a key, password, etc: https://developer.android.com/studio/publish +14. Visit https://play.google.com/console/ to setup your account, upload your release, verify your identity etc From 8506ede42b97d25c381b7bd55570ddba3675eef2 Mon Sep 17 00:00:00 2001 From: Mayur <6332663+mayurjobanputra@users.noreply.github.com> Date: Mon, 12 Jun 2023 10:57:49 -0700 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7415459..2512478 100755 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ When you are ready to release your app and have test the app in Studio virtual s 3. If the APK file gets built, then BEFORE loading the APK file into your mobile, test the APK file at virustotal.com to make sure it isn't flagged. Many APK files across the web have viruses, so this should be good security practice. 4. Test the APK file again at MetaDefender https://metadefender.opswat.com/ 5. Let Google virus scan your file. Copy the APK file to your Google Drive. Within a few minutes, if there is a virus in the file, Google will send you an email. If not, you won't get an email. -6. If all the virus testing passes, then install the APK file into your phone by either emailing the file to yourself, or using a remote FTP connection into your phone. The File Manager app lets you do this. https://play.google.com/store/apps/details?id=com.alphainventor.filemanager +6. If all the virus testing passes, then install the APK file into your phone by either emailing the file to yourself from your desktop and opening on mobile, or using a remote FTP connection into your phone. The File Manager app lets you do this by opening an FTP server on your phone. https://play.google.com/store/apps/details?id=com.alphainventor.filemanager 7. Test your app on your phone 8. If it works on your phone, then build the package for uploading to Google Play store 9. Locate the build.gradle (module.app) file on the left hand side in Android Studio