All Projects → AmitXShukla → Angular-Cordova-Google-PlayStore-Publish

AmitXShukla / Angular-Cordova-Google-PlayStore-Publish

Licence: other
How to publish Angular app to Google Play Store using Cordova

Projects that are alternatives of or similar to Angular-Cordova-Google-PlayStore-Publish

Apk Dependency Graph Plugin
Displays dependencies between classes as fancy graph.
Stars: ✭ 36 (+44%)
Mutual labels:  apk, android-studio
Android Yolo
Real-time object detection on Android using the YOLO network with TensorFlow
Stars: ✭ 604 (+2316%)
Mutual labels:  apk, android-studio
Little-Ruler
A game engine that can be built for Android and Windows.
Stars: ✭ 16 (-36%)
Mutual labels:  apk, android-studio
myplanet
🌕 myPlanet android app reads data from 🌎 for offline use as well as it collect usage data and sends them back to the Planet.
Stars: ✭ 17 (-32%)
Mutual labels:  apk, android-studio
nest-angular
Full-stack with nest js & angular 8
Stars: ✭ 32 (+28%)
Mutual labels:  cordova, angular7
Fastdex
🚀 加快 apk 的编译速度 🚀
Stars: ✭ 1,457 (+5728%)
Mutual labels:  apk, android-studio
Injuredandroid
A vulnerable Android application that shows simple examples of vulnerabilities in a ctf style.
Stars: ✭ 317 (+1168%)
Mutual labels:  apk, android-studio
cordova-plugin-apkupdater
This plugin allows your Android app to download and install compressed updates without the Google Play Store.
Stars: ✭ 46 (+84%)
Mutual labels:  cordova, apk
ionic4-image-crop-upload
Ionic 4, Angular 7 and Cordova Crop and Upload Image
Stars: ✭ 16 (-36%)
Mutual labels:  cordova, angular7
ionic4-angular7-example
Ionic 4, Angular 7 and Cordova Tutorial: Build CRUD Mobile Apps
Stars: ✭ 57 (+128%)
Mutual labels:  cordova, angular7
coin-map-android
Easily find places to spend sats anywhere on the planet
Stars: ✭ 23 (-8%)
Mutual labels:  apk
phonegap
PushBots' official module for Phonegap
Stars: ✭ 21 (-16%)
Mutual labels:  cordova
JetStory
JetStory is an open source android app made to help you spend your waiting time reading stories that have similar length to your available time.
Stars: ✭ 20 (-20%)
Mutual labels:  android-studio
cordova-common
Apache Cordova Common Tooling Library
Stars: ✭ 30 (+20%)
Mutual labels:  cordova
cAndroid
cAndroid is tool for control your PC by Android phone
Stars: ✭ 23 (-8%)
Mutual labels:  android-studio
android-studio-docker
Docker image with GUI with preinstalled Android Studio 3.0
Stars: ✭ 33 (+32%)
Mutual labels:  android-studio
android-bootstrap
Bootstrap your Lobe machine learning model with our Android project.
Stars: ✭ 54 (+116%)
Mutual labels:  android-studio
svg-non-stop
SVG import "Gradient has no stop info" fix
Stars: ✭ 65 (+160%)
Mutual labels:  android-studio
Biometric-Authentication-Android
A sample implementation of AndroidX biometrics API using Kotlin. Authenticate using biometrics or PIN/Password if biometrics isn't available on device. Fully implemented in Jetpack compose using Material 3 dynamic theming and also has a separate implementation in xml with MDC 3.
Stars: ✭ 29 (+16%)
Mutual labels:  android-studio
SMACK-API-Android-Demo
A demo XMMP android application using Android studio with SMACK Library
Stars: ✭ 41 (+64%)
Mutual labels:  android-studio
- If you like this project, please consider giving it a star (*) and follow me at GitHub & YouTube.

Angular-Cordova-Google-PlayStore-Publish

How to publish Angular app to Google Play Store using Cordova

click here for video tutorials!

Objective:

This github repository is a documentation on how to publish an Angular 6.0/react JS or any HTML, JavaScript app to Google play store using Apache Cordova Framework.

https://cordova.apache.org/docs/en/latest/

Development tasks

Before you start, if you don't already have, please download and Install android studio and configure sdk tools from https://developer.android.com/studio/

make sure android licenses are accepted

make sure android path/environment variables are setup properly

** for iOS development, you will need a mac machine with latest XCODE installed.

** Let's get started

$ cordova -v // check if 8.0.0 or latest cordova version is installed
if cordova is not installed or you have an older version
$ npm install -g cordova
$ cordova create mnjic com.elishconsulting.mnjic Mnjic

create a new cordova app
< cordova create appname com.domain.project appname >

$ cd mnjic // once app is created, browse into new app folder

$ cordova platform add browser // add platform browser

$ cordova platform add android // add platform android

$ cordova platform add ios // add platform ios

$ cordova plaform ls // list all platforms

install jdk and make sure JAVA_HOME is setup properly

Run these commands on your MACOS terminal window

On windows machine, please make sure SYSTEM > Env Variables JAVA_HOME and ANDROID_HOME are set properly

$ which java

$ java -version

$ export JAVA_HOME=/Library/Java/Home

$ echo $JAVA_HOME

$ echo $ANDROID_HOME

if ANDROID_HOME is not setup correctly,

$ export ANDROID_HOME=~/Library/Android/sdk

$ export PATH=${PATH}:/Library/Android/sdk/platform-tools:/Library/Android/sdk/tools

$ echo $ANDROID_HOME

$ echo $PATH

cordova requirements // check if cordova app is properly installed

$ cordova requirements

in some case, if may ask you to update Android SDK through Android Studio.

and install gradle.

$ java -version
java version "1.8.0_121"

install gradle https://gradle.org/install/

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

https://brew.sh/

$ install brew

$ brew install gradle

App Setting changes

config.xml changes (make sure < android > setting are changed)

please see this github repo for config.xml sample

apply following changes

favicon.ico www -> replace directory, (back up index.html)

res -> icons// replace icons

test your app

$ cordova run browser

$ cordova build android

cordova build will create an unsigned app-debug.apk, You can copy this apk file to any real android device and test your app.

/Users/amitshukla/documents/mnjic1/platforms/android/app/build/outputs/apk/debug/app-debug.apk

setup emulator for android

$ cordova run android

if emulator is slow for any reason, please skip this and generate android debug.apk file.

generate keytools file

keytool -genkey -v -keystore mnjic.keystore -alias mnjic -keyalg RSA -keysize 2048 -validity 10000

Sign app

cordova run android --release -- --keystore=mnjic.keystore --storePassword=abcd --alias=mnjic --password=abcd

this command above will generate same entries as below mentioned in build.json

review build.json

{ "android": { "debug": { "keystore": "../android.keystore", "storePassword": "android", "alias": "mykey1", "password" : "password", "keystoreType": "" }, "release": { "keystore": "../android.keystore", "storePassword": "", "alias": "mykey2", "password" : "password", "keystoreType": "" } } }

$ cordova build // this command will build a signed apk file

$ cordova build --release // this command will build final apk

// build with release flag will generate a final app file which can be submitted to Google Play Store.

/Users/amitshukla/documents/mnjic1/platforms/android/app/build/outputs/apk/debug/app-release.apk

Prepare Google PlayStore ScreenShot

Publish to Google Play Store

** In case, if you are releasing an updated release on your app.

Do NOT forget to change version code on next time your build your app (--release).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].