Search Posts

Category: ionic3

I am getting the runtime error when install the prebuild theme in the ionic app

I have created an ionic app using npm as normally and following the readme.txt file to assign the theme in the app I have generated errors:- Error-1 C:/Users/cc/Eklavya1/src/app/app.module.ts import { IonicApp, IonicErrorHandler, IonicModule } from ‘ionic-angular’; import { Camera } from ‘@ionic-native/camera’; import { MyApp } from ‘./app.component’; import { BrowserModule } from ‘@angular/platform-browser’; import { ErrorHandler, NgModule } from ‘@angular/core’; import { IonicApp, IonicErrorHandler, IonicModule } from ‘ionic-angular’; import { Camera } from ‘@ionic-native/camera’; […]

How to use @output in ionic 3

this is parent page <div> <component></component> <div> this will redirect to this component where I have created a form now I want to get that data which I fill in the form here in my parent page at child page <h5> Type of house </h5> <ion-item> <ion-label stacked> </ion-label> <ion-select [(ngModel)]=”Type” placeholder=”type of house”> <ion-option value=”self”> a </ion-option> <ion-option value=”got” selected> b </ion-option> </ion-select> </ion-item> there’s a simple form I know how to pass data […]

Routing from a mean page to an ionic page

I am relatively new to development so I have been blindly following a mean tutorial. But now I need to integrate it with Ionic as well. So I am trying to integrate express.js and node.js code with ionic app. I am making an authentication page using passport. Both my ionic and mean are working separately fine. I have been checking my mean code on postman and ionic on chrome. So I started to watch a […]

Error ionic push notification xcode on build

Error during the xcode build, after installing the system of push notifications Ionic version 3 I followed this tutorial to implement the push system but I am not able to build he asks me to add void -> Image here 1 after i add void , he asks me to remove void -> Image here 2 – (void)application:(UIApplication *) application handleActionWithIdentifier: (NSString *) identifier forRemoteNotification: (NSDictionary *) notification completionHandler: (void (^)()) completionHandler { NSLog(@”Push […]

Ionic 3 – local notification at specific time intervals

I’m working on Inventory management app, I want to notify the customer every hour till next one week if the customer added any product to the cart but haven’t ordered yet in background. I want to notify the customer that you have something in your cart but you haven’t ordered yet, do you want to order? Here’s my cart.ts code: localNotify() { this.localNotifications.schedule({ id: 1, title: ‘Check cart’, text: ‘Local Notification’, data: ‘text’, firstAt: After_1_hour, […]

HTML get textfield and checkbox content/value

I got a little problem with my HTML, i can’t get datas from HTML to TS. I would like to save all the document and send it to my DB. I got something like (HTML): <h3>Part 1 : General Information</h3> <ion-list> <ion-item> <ion-label>Date</ion-label> <ion-datetime displayFormat=”MMM DD YYYY” [(ngModel)]=”date”></ion-datetime> </ion-item> <ion-item> <ion-label stacked>First Name</ion-label> <ion-input type=”text” aria-placeholder=”First Name” placeholder=”First Name”></ion-input> </ion-item> <ion-item> <ion-label stacked>Last Name</ion-label> <ion-input type=”text” aria-placeholder=”Last Name” placeholder=”Last Name”></ion-input> </ion-item> <ion-item> <ion-label>Birthdate</ion-label> <ion-datetime displayFormat=”MMM […]

Next Page »