Showing posts with label Ionic. Show all posts
Showing posts with label Ionic. Show all posts

Thursday, October 21, 2021

Install/Setup Angular and Ionic CLI

Angular and Ionic have a command line interface to create and run apps. So we need to install both CLI’s. Before installing CLI’s, make sure your computer has installed NodeJS. Install Angular CLI :Run below command from Command prompt,npm install -g @angular/cliNote : -g options mean install globally....

Monday, October 18, 2021

Ionic OCR Plugin : Scan Text from Image using Capacitor with Example

I started this directly from the OCR native plugin installation. I assume you already have Angular and Ionic setup’s in your project. Checkout here to complete the installation setup.Install OCR Native Pluginnpm install cordova-plugin-mobile-ocrnpm install @ionic-native/ocrionic cap syncInstall Camera Native PluginWe need any one plugin to choose the image from the storage to perform a scan. Here...

Saturday, October 9, 2021

Ionic Cordova & Capacitor : How to Display Native Camera Plugin FILE URI path in Image tag

Here steps for display the camera plugin FILE URI image path inside image tag for both Ionic cordova and capacitors.  Cordova :Ionic 3 :Step 1: getPicture(sourceType: PictureSourceType) {    this.camera.getPicture({      quality: 50,      destinationType: this.camera.DestinationType.FILE_URI,      encodingType: this.camera.EncodingType.JPEG, ...

Friday, September 24, 2021

Implement Local Notifications in Ionic with Capacitor and Example

I started this topic directly from local notification installation. I assume already have angular and ionic setup on your project. Checkout here to complete installation setup.#Installnpm install @capacitor/local-notifications npx cap sync#Basic ConfigurationLocal Notifications needs to be configured with the following options: SmallIcon, IconColor and sound for capactior.#ExampleAdd this below json...