MBProgressHud.h file not found

Issue I have download MBProgressHUD.m and MBProgressHUD.h file from github and Placed under a folder Classes->MBprogressHub->then both files Now i have include this file under Share Extension import "MBProgressHUD.h". When i an trying to build an app. it is giving

Continue reading

Angular ngx-translate inside service

Issue I am using ngx-translate and ngx-translate/http-loader for translating my ionic/angular project. I have this code inside app.module.ts imports: TranslateModule.forRoot({ loader: { provide: TranslateLoader, useFactory: (createTranslateLoader), deps: [HttpBackend] } }) and this loader function in the same file: export function

Continue reading

Displaying time in <ion-range>

Issue I’m new to Ionic, and I’m attempting to display the time as 24 hours from 00:00 to 23:00, with the user able to select a time period. <ion-range min="00:00" max="23:00" step="00:01" dualKnobs="true" pin="true" [(ngModel)] ="knobValues" > <ion-label slot="start">0:00</ion-label> <ion-label

Continue reading

Having an 'SyntaxError: Unexpected token 'export' Issue with my Electron-Ionic Application

Issue //Having this issue and I don’t know how to solve it: Uncaught C:\Users\Zac\ionic_projects\robot-backup-4\node_modules\@ionic\core\components\index.js:4 export { setAssetPath, setPlatformOptions } from ‘@stencil/core/internal/client’; ^^^^^^ SyntaxError: Unexpected token ‘export’ at new Script (vm.js:101:7) at createScript (vm.js:262:10) at Object.runInThisContext (vm.js:310:10) at wrapSafe (internal/modules/cjs/loader.js:979:15) at

Continue reading

Why ion-icon is not showing in ionic vue project?

Issue I am trying to add icon with ion-icon in my ionic vue project. I copied code from official page <ion-icon name="aperture-outline"></ion-icon> here is my template <template> <ion-content class="content"> <h1>Hello</h1> <ion-icon name="aperture-outline"></ion-icon> <h1>Hello2</h1> </ion-content> </template> <style scoped> .content { –color:

Continue reading

How to position a button at the bottom of a slide – Ionic

Issue I have the following slides of images: <ion-slides style="margin-top: 30px; margin-bottom: 30px" pager="true" [options]="slideOpts"> <ion-slide *ngFor="let image of imageURLs"> <div (click)="openZoomedImage(image.fullURL)"> <img [src]="image.fullURL" alt=”slide-1”/> </div> <ion-button size="small" color="danger" (click)="deleteImage(image.imageName)">Delete</ion-button> </ion-slide> </ion-slides> However I am wondering how I can make

Continue reading

I can't access the group attribute of FormBuilder on my reactive form

Issue Property ‘group’ does not exist on type ‘typeof FormBuilder’ here is the code  import { FormBuilder, FormGroup, Validators } from ‘@angular/forms’; export class LoginPageForm{ constructor(private formBuilder = FormBuilder){} createForm(): FormGroup{ return this.formBuilder.group({ email: [”, [Validators.required]], password: [”, [Validators.required]] }); } } Solution

Continue reading

Get parameters passed by url in ionic 5

Issue I have passed parameters in URL to my ionic application http://localhost:8100/welcompage/overview?brand=bmw I am using ActivatedRoute to retreive the data passed as parameters in the URL constructor(private route: ActivatedRoute) { } ngOnInit() { this.route.params.subscribe(params => { console.log(params[‘brand’]); }); } the

Continue reading

Ionic Video Mute Attribute Ignored

Issue I am having a weird issue where the mute tag on a video element is being ignored. <video #media playsinline webkit-playsinline loop muted [src]=”video_url” class=”videoPlayer” preload=”metadata” type=”video/mp4″> </video> The muted or muted=”true” is being overlooked and the video continues

Continue reading

Huawei HMS maps not working on Ionic Capacitor runtime

Issue I have followed this guide to add Huawei HMS maps to my IONIC capacitor runtime app. https://github.com/HMS-Core/hms-cordova-plugin/tree/master/cordova-plugin-hms-map/example/ionic This app has google-services.json and huawei agconnect-services.json. In project build.gradle I’m using […] classpath ‘com.huawei.agconnect:agcp:1.5.2.300’ capacitor.build.gradle dependencies { […] implementation "com.huawei.hms:base:5.2.0.300" implementation

Continue reading

Huawei HMS maps not working on Ionic Capacitor runtime

Issue I have followed this guide to add Huawei HMS maps to my IONIC capacitor runtime app. https://github.com/HMS-Core/hms-cordova-plugin/tree/master/cordova-plugin-hms-map/example/ionic This app has google-services.json and huawei agconnect-services.json. In project build.gradle I’m using […] classpath ‘com.huawei.agconnect:agcp:1.5.2.300’ capacitor.build.gradle dependencies { […] implementation "com.huawei.hms:base:5.2.0.300" implementation

Continue reading