Amazon EC2 Auto Scaling helps us ensure, that we have the proper number of Amazon EC2 instances available, to handle the load for our application.
[Read More]
Model's concept in angular2 to declare the data variable as global and those data variable coming from Http Request calls as are object and to declare those data variables in model class. Here, we are writing this model class for request calls and you declare variable with type the type of variable coming from server.
test.model.ts[Read More]
Push Notification (https://ionicframework.com/docs/native/push/)
1)Install plugin
a)ionic cordova plugin add phonegap-plugin-push --variable SENDER_ID=XXXXXXXXX(SENDER_ID from FireBase console)
b)npm install --save @ionic-native/push
2)Intialize Push
a)const options: PushOptions = {android: {senderID: 'XXXXXXXXX'},ios: {alert: 'true',badge: true,sound: 'false'},windows: {}};
 
Native Storage (https://ionicframework.com/docs/native/native-storage/)
1)Set storage value
this.storage.set('searchedArea', address);
2)Get storage value
this.storage.get('buyerId').then((val) => {if(val!=null){console.log(val);}else{}});
3)Get multiple values
this.storage.forEach( (value, key, index) => {console.log(key:value);}),
4)Error
a)DataCloneErro
Events (https://ionicframework.com/docs/api/util/Events/)
Events is a publish-subscribe style event system for sending and responding to application-level events across your app.
1)Import Event
import { Events } from 'ionic-angular';
2)Declare in constructor
public events: Events
3)Event publish responding application-level events
events.subscribe('user:created', (user, t
Google Maps
i)Get Gps location (https://ionicframework.com/docs/native/geolocation/)
1)Install Plugins
a)ionic cordova plugin add cordova-plugin-geolocation
b)npm install --save @ionic-native/geolocation
2)Get Current Location Latitude and lagintude like below
this.geolocation.g
step1: npm install -g @angular/cli step2: ng new PROJECT-NAME step3: cd PROJECT-NAME step4: npm start(or ng serve)
click on wamp icon -> MySql -> MySql Setting -> sql-mode -> user_mode
display:none !important;visibility:hidden;