Socket
Socket
Sign inDemoInstall

generator-android-jhi

Package Overview
Dependencies
311
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generator-android-jhi

Scaffolds an Android Kotlin-Based App that consumes a scaffolded by JHipster Api


Version published
Weekly downloads
9
Maintainers
1
Install size
25.4 MB
Created
Weekly downloads
 

Readme

Source

generator-android-jhi NPM version Build Status Dependency Status

Scaffolds Android Kotlin-Based App that consumes an Api scaffolded with JHipster generator.

Currently this generator is in experimental fase and works with Monolithic Application, and JWT authentication. To use the social login you have to modify a little bit your Api project

Installation

First, install Yeoman and generator-android-jhi using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-android-jhi

Usage

Create a folder and go inside

mkdir my-android-project && cd my-android-project

then generate the code:

yo android-jhi

You can copy your .jhipster folder from the target Jhipster project and run:

yo android-jhi:entity

Then you can choose which entities do you want to consume with your mobile App. CRUD operations will be scaffolded

Finally import the project with Android Studio

Configure Social Login

On your web/api project use the jhipster-social-login-api to add the extra controllers that you need and follow the instructions

For google, run

./gradlew signingReport

And generate as many Android credentials as you need (one for packageName-keystoreSHA1 pair)

then copy the Client-id from YOUR WEB CREDENTIAL (don't use the client-id from the Android credentials) and replace the value of the "default_web_client_id" string resource

For facebook replace the two string resources for de values in your credential

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

Apache-2.0 © Green grow apps

Keywords

FAQs

Last updated on 04 Jul 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc