Generate Nativescript Android Certificate Production / how to upload android app to play store nativescript

To use keytool to generate a keystore for code signing, take the following command, replace tj-vantoll with your name or company’s name, and replace NameOfYourApp with the name of your app.

keytool -genkey -v -keystore tj-vantoll.jks -keyalg RSA
-keysize 2048 -validity 10000 -alias NameOfYourApp

The keytool utility will ask you a number of questions, several of which are optional (name of organization, as well as the names of your city/state/country), but the most important ones are the passwords for both the keystore and the alias (more on that momentarily). Here’s what the keytool process looks like when I generate the keystore I used for Pokémon Types

nativescript-modal-datetimepicker for angular

I just installed this plugin by the command tns plugin add nativescript-modal-datetimepicker and use it in my Angular NS.


import * as ModalPicker from ‘nativescript-modal-datetimepicker’;

pickDate() {
const picker = new ModalPicker.ModalDatetimepicker();
title: ‘Please enter your birthday’,
theme: ‘dark’,
maxDate: new Date(),
is24HourView: false
}).then((result) => {
this.birthday = result[‘year’] + ‘-‘ + result[‘month’] + ‘-‘ + result[‘day’];
}).catch((error) => {
console.log(‘Error: ‘ + error);