INTRODUCTION:
This tutorial is about how to use your downloaded Hybapps ionic3 theme in your Ionic3 app .
Why Ionic ?
Ionic is the easiest way for web developers to build, grow, and scale cross-platform mobile apps. From our popular open source Framework, to our cloud Platform, our goal is to enable more people and organizations to create better apps, faster.
For more information on ionic and Hybrid mobile app.
Check here
INSTALLATION INSTRUCTIONS:
1- update your ionic 3 version to latest
Please on cmd run :
npm install -g ionic@latest
2- unzip the theme package
3- create a new Ionic3 app
Please on cmd run :
4- Move to your new app. folder
cd NewApp
5- Run your app to be sure that it created properly
ionic serve
5- Replace the src and package.json for the new app with those from this theme from the unzipped folder
6- Back to cmd then Run these lines:
npm install
ionic serve
7- Add the platform you want to work with
ionic platform add android/ios
8-Build your app.
ionic build android/ios –prod
SOME PLUGIN INCLUDING INSTRUCTIONS
IMPORTANT : Not all plugins are included in every theme .
It depends on the requirements of every theme . so one may be included in a theme
And 10 may be included in the other . we only support importing the ones that are already included .
ANIMATION PLUGIN :
- In most cases we just use scss animation no plugin required but in rare cases we may use this plugin so
Only in case it shows error on animation plugin you will need to install it by yourself
Please run
npm install @angular/animations@4.0.0 –save
- In normal case we only use style animation in this file
src/app/myAnimation.scss
For more details in style animation usage here
- To control the animation in the Theme
- There’s a checkbox in the setting to on/off the animations in the app.
- In some of our first themes there is no checkbox you will need to go to “app-config.ts“
Change true to false in this line .
export const APP_CONFIG = {
ALLOW_ANIMATION:true
};
CAMERA PLUGIN :
This plugin defines a global navigator.camera object, which provides an API for taking pictures and for choosing images from the system’s image library.
If camera plug in didn’t include automatically from package with (npm install)
You will need to run this :
ionic cordova plugin add cordova-plugin-camera
npm install –save @ionic-native/camera@4
For more details in camera plugin here
TRANSLATION PLUGIN :
This plugin only needed with multi language themes .
Please run this
npm install @ngx-translate/core@9 @ngx-translate/http-loader@2 –save
For more details in translation plugin here
JQUERY LIBRARY :
jQuery is a fast, small, and feature-rich JavaScript library.
Please run :
npm i jquery
For more details in translation plugin here
INTERNATIONAL TELEPHONE INPUT PLUGIN
A JavaScript plugin for entering and validating international telephone numbers. It adds a flag dropdown to any input, detects the user’s country, displays a relevant placeholder and provides formatting/validation methods.
Please run :
npm i intl-tel-input
For more details in translation plugin here
IMAGE VIEWER FOR IONIC 2+
Ionic 2 plugin providing a Twitter inspired experience to visualize pictures.
Please run :
npm i ionic-img-viewer
For more details in translation plugin here
IONIC 2 CALENDER
Ionic 2 plugin providing a calendar to your theme .it supports multi Date
Please run :
npm i ion2-calendar
For more details in translation plugin here
IONIC AUDIO
An audio player plugin for Ionic that works out of the box in the browser and device using an underlying audio provider depending on the environment
Please run :
npm install –save ionic-audio
For more details in translation plugin here
IONIC 2 RATING
An Angular2 component to visualize a star rating bar, built for Ionic 2.
Please run :
npm install –save ionic2-rating
For more details in translation plugin here
SOCIAL SHARING
Share text, files, images, and links via social networks, sms, and email.
Please run :
ionic cordova plugin add cordova-plugin-x-socialsharing
npm install –save @ionic-native/social-sharing @4
For more details in translation plugin here
CAMERA PREVIEW
Showing camera preview in HTML
Please run :
ionic cordova plugin add cordova-plugin-camera-preview
npm install –save @ionic-native/camera-preview @4
For more details in translation plugin here
KEYBOARD PLUGIN
Keyboard plugin for Cordova.
Please run :
ionic cordova plugin add cordova-plugin-ionic-keyboard
npm install –save @ionic-native/keyboard @4
For more details in translation plugin here
ADDING MAP TO YOUR APP.
Step by Step Tutorial of Ionic 3, Angular 4 and Google Maps Directions Service
From here
THEME FEATURES :
- complete ,clear,Simple design.
- Responsive Theme so it fits to all devices .
- the Theme uses Ionic 3 , Cordova ,Typescript .
- Changeable color using color map .
- Can be used and tested for both IOS and Android mobile .
- Free for life Updates .
- Theme only (Html/Typescript files) no functional code or backend .
HOW TO CHANGE THEME COLORS?
Colors are variables in color map at
src/theme/variables.scss
FOR SUPPORT AND ISSUES :
Our support is available 24/7
We support the theme itself but not the app. Created with the theme .
You can chat with our support throw our website
Or send to sales@hybapps.com