• About Us
  • Contact Us
  • Privacy Policy
NSR-TECH
No Result
View All Result
  • Login
No Result
View All Result
NSR-TECH
No Result
View All Result
Home Mobile Development

How to sign quasar cordova app

nsr by nsr
September 24, 2020
in Mobile Development, Quasar, Quasar
2
How to sign quasar cordova app

How to sign quasar cordova app

0
SHARES
109
VIEWS
Share on FacebookShare on Twitter

Sign using keystore for your quasar cordova app

Hi friends! in this article i am going to show how to sign the quasar cordova app with simple steps. Most of people have been troubled to sign there mobile app in order to publish to the store. So the signing part is pretty much easy. Follow these steps

First of all you need to have JDK installed. if you have JDK its fine. Or else go to following link and download JDK

READ ALSO

Enable CORS on Lumen API

Quasar multiple file upload with laravel API

https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

After that you have to set the environment variable for the JDK path. So follow below steps to do that

  • Right click on My PC
  • Go to properties
  • Click on Advanced system settings
  • Click environment variables
  • Select Path and click edit
  • Create new path for your JDK bin folder
cordova3

Now create new folder to save your project keystore files. And open with CMD and type following commands. Keep those keystore files generated in a safe place. because those may need later on.

keytool -genkey -v -keystore quasar-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias quasar-release
keytool -importkeystore -srckeystore quasar-release-key.jks -destkeystore quasar-release-key.jks -deststoretype pkcs12
keytool -genkey -v -keystore quasar-debug-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias quasar-debug
keytool -importkeystore -srckeystore quasar-debug-key.jks -destkeystore quasar-debug-key.jks -deststoretype pkcs12

Now go to your quasar cordova project. If you havent created a project yet follow this link to get start with quasar cordova.

Quasar cordova mobile app development

So now copy and paste the generated keystore files called (ex:- quasar-debug-key.jks and quasar-release-key.jks) in to your root directory of quasar (Not src-cordova)

And you have to remember to add those files to .gitignore

Now in the same quasar root directory create a json file called build.cordova.json and type following codes to identify the keystore files by quasar.

{
    "android": {
        "debug": {
            "keystore": "../quasar-debug-key.jks",
            "storePassword": "your-password",
            "alias": "quasar-debug",
            "password" : "your-password",
            "keystoreType": "jks"
        },
        "release": {
            "keystore": "../quasar-release-key.jks",
            "storePassword": "your-password",
            "alias": "quasar-release",
            "password" : "your-password",
            "keystoreType": "jks"
        }
    }
}

So as the final step, you have to modify the package.json file with following codes

{
  "scripts": {
    "lint": "eslint --ext .js,.vue src",
    "test": "echo \"No test specified\" && exit 0",
    "cordova:dev": "quasar dev -m cordova -T android -- --buildConfig=\"../build.cordova.json\"",
    "cordova:build": "quasar build -m cordova -T android -- --buildConfig=\"../build.cordova.json\""
  }
}

Then you have to run the project using yarn cordova:dev to sign the app on run

Thats it!! . If you have any question please comment below. If you want to see latest articles go to following link

Check the latest posts

Related Posts

Enable CORS on Lumen API
Laravel

Enable CORS on Lumen API

February 6, 2021
Quasar multiple file upload with laravel API
Laravel

Quasar multiple file upload with laravel API

January 21, 2021
how to seo vue.js site
Quasar

how to SEO vue.js site

January 10, 2021
quasar google maps
Mobile Development

Quasar Google maps with places

October 7, 2020
Cordova sign APK for production
Mobile Development

Cordova sign APK for production

September 29, 2020
quasar-file-upload-img
Laravel

Quasar file upload process with laravel API

January 21, 2021
Next Post
increase intel hd graphcs

Increase intel hd graphics

Comments 2

  1. TechDev says:
    5 months ago

    Nice article

    Reply
  2. Pingback: Cordova sign APK for production - By NSR-Tech ....

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

POPULAR POSTS

quasar-file-upload-img

Quasar file upload process with laravel API

January 21, 2021
lumen framework tutorial

Lumen framework tutorial for beginners

October 24, 2020

Run cordova without android studio

September 12, 2020
quasar google maps

Quasar Google maps with places

October 7, 2020
MySQL you do not have the super privilege issue fix

MySQL you do not have the super privilege issue fix

January 19, 2021

EDITOR'S PICK

Website creation methods

Website creation methods

November 24, 2020
Quasar cordova mobile app

Quasar cordova mobile app development

September 11, 2020
website technologies

Website Technologies

November 24, 2020
Enable CORS on Lumen API

Enable CORS on Lumen API

February 6, 2021

About

Nsrtech is a blog which brings you high quality and valuable articles to your life. All articles will be on different categories which all peoples can solve their issues in a single blog site.

Follow us

Categories

  • Laravel
  • Mobile Development
  • Networking Lessons
  • Others
  • Quasar
  • Quasar
  • Software Guides
  • Theories
  • Tricks
  • Vue
  • Web Development
  • Web Development Lessons

Recent Posts

  • Upgrade PHP from 7.2 to 7.3 on Ubuntu OS
  • Enable CORS on Lumen API
  • Quasar multiple file upload with laravel API
  • Git branch not showing in Visual Studio Code fix
  • Home
  • About Us
  • Contact Us
  • Privacy Policy

© 2020 NSR-TECH Blog .

No Result
View All Result
  • Homepages
    • Home Page 1
    • Home Page 2

© 2020 NSR-TECH Blog .

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In