Failed to find ‘ANDROID_HOME’ environment variable

You may want to confirm that your development environment has been set correctly. Quoting from spring.io: Set up the Android development environment Before you can build Android applications, you must install the Android SDK. Installing the Android SDK also installs the AVD Manager, a graphical user interface for creating and managing Android Virtual Devices (AVDs). … Read more

Ionic 4 Events not working in device but working on browser

To update Data from one page to other we used Events library. but events are no longer available in ionic 5. blow is the solution. run command: ionic generate service events // this will create events provider copy paste blow code. import { Injectable } from ‘@angular/core’; import {Subject} from ‘rxjs’; @Injectable({ providedIn: ‘root’ }) … Read more

Read video stored on android native storage in my Ionic app

I’ve been searching for a solution. I resolve this issue as follows. After platform.ready() function I created a directory as follows. this.file.createDir(this.file.externalDataDirectory , ‘Videos’, false).then(() => { // console.log(‘Directory created successfully’); }).catch(() => { // console.log(‘Failed to create directory’); }); To download videos inside the created directory import { FileTransfer, FileTransferObject } from ‘@ionic-native/file-transfer’; import … Read more

Ionic Framework: $scope is undefined in simple alert

Short Answer The root cause of this issue is, ion-content does create a prototypically inherited child scope, that’s why goaltitle(primitive type) of controller scope is different than the goaltitle you are using on ng-model Ideally practice is to follow dot rule while defining view model. So that prototypal inheritance rule will get followed with scope … Read more