Socket
Book a DemoInstallSign in
Socket

generator-ios-jhi

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-ios-jhi

Scaffolds an iOS app that uses an Jhipster generated api

0.0.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

generator-ios-jhi NPM version Build Status Dependency Status

Scaffolds an iOS app that uses an Jhipster generated api

Installation

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

npm install -g yo
npm install -g generator-ios-jhi

Usage

Create a folder and go inside

mkdir my-ios-project && cd my-ios-project

then generate the code:

yo ios-jhi

install cocoa pods (skip if already installed)

sudo gem install cocoapods

install dependencies

pod install

open the xcworkspace file with XCode

Set the url where you have your jhipster app running in the app delegate. Then run the app. You should be able to sign in.

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: You will need 2 Credentials. The web credential that uses the server and a iOS credential for the app.

Copy the Client ID from your iOS credential and replace YOUR_GOOGLE_CLIENT_ID in AppDelegate and Plist.info Copy the Reversed Client ID from your iOS credential and replace YOUR_GOOGLE_REVERSED_CLIENT_ID and in YOUR_GOOGLE_URL_SCHEME Plist.info Copy the Client ID from the credential that uses the server and replace YOUR_GOOGLE_SERVER_CLIENT_ID in the AppDelegate

You should be able to sign in with Google

For Facebook:

Copy your App identifier (only numbers) and replace YOUR_FACEBOOK_ID in Plist.info then replace YOUR_FACEBOOK_URL_SCHEME with "fb" concatenated with yout facebook id

You should be able to sign in with Facebook

Configure Firebase push notifications

Create an iOS App in your Firebase console, download the GoggleService-Info.plist and replace the existing in project

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

jhipster-generator

FAQs

Package last updated on 10 Jul 2018

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.