Search This Blog

09 December 2019

Publishing Android App in Google PlayStore Ionic

Publishing Android Application In Google Playstore


first step release the build App  Open the  Command Prompt the change directory for your project directory and Switch your Ionic project App Directory 

second step you need to add android platform to add and run the command in command prompt it will take some times reason for download the repository the if you want to check if platform automatically added under project Directory 

$ionic cordova platform add android

third step you create  unsigned APK  or release apk  open command prompt run this command it will take some time

$Ionic Cordova build android –prod –release

fourth step You will  Create Keystore file --> open the command prompt 

Run this Command

$keytool -genkey -v –keystore your_keystore_name.keystore -alias alias_name -keyalg  RSA -keysize 2048 -validity 10000

Sign the unsigned apk with jarsigner tool  run this command prompt

$jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore your_keystore_name.keystore  platforms\android\app\build\outputs\apk\release\  app-release-unsigned.apk alias_name

Zip Align tool is used to optimize the APK

this zipalign tool is located your appdata/local/android  sdk build tools so exaple my 
directory path :

C:\Users\test\AppData\Local\Android\sdk\build-tools\27.0.1\Zipalign.exe  copy this zipalign.exe its a execute java file Then paste into your Ionic project  Directory
(or) another method is available for zipalign command copy this "C:\Users\test\AppData\Local\Android\sdk\build-tools\27.0.1\Zipalign.exe" path 
right click the computer select the properties open the window select advanced system setting open the popup select the tab for advanced then click the environment variables button select path --> edit paste it the path then okie save it then check run the command for zipalign its working fine this method is permanently 


$zipalign -v 4 platforms\android\app\build\outputs\apk\release\app-release-unsigned.apk your_app.apk


Google play console case $25 USD

Click Create Application   and Fill the Description of App and Providing Screen Shots and Additional Info then Upload the signed APK that was generated  and Publish the App

 


Jquery or Javascript Start Exam Time

 <script> function startTimer() {      var date = "<?php echo $date ?>"; // dynamic date      var time = "<?...