Questions tagged ionic5

Explore the latest questions and answers asked by our top developers.

Erro ao realizar o build do Ionic 5

Ao realizar o build tanto para desenvolvimento quanto para produção aparece o seguinte erro. FAILURE: Build failed with an exception. What went wrong: Execution failed for task ‘:app:processDebugResources’. Could not resolve all files for configuration ‘:app:debugCompileClasspath’. Could not resolve com.google.android.gms:play-services-location:16.+. Required by: project :app > Failed to list versions for com.google.android.gms:play-services-location. > Unable to load […]

Ionic5 IOSFilePicker convert uri to blob

I use this method: getFiles(){ this.filePicker.pickFile().then(uri => { console.log(‘uri ‘+uri); }) .catch(err => console.log(‘Error’, err)); } And I want convert uri to blob because I need to upload it. I tried several methods that I found on the forums but none of them work. Source: Angular Questions

By R da Youssoufi
Published
Categorized as angular, cordova, filepicker, ionic5 Tagged , , ,

How to avoid hiding of last item behind ion-tab-bar in Ionic?

I have designed a custom tab bar and placed it at the bottom of the page. When I am scrolling my content, the last item is getting partially hidden behind the ionic tab bar and I am unable to scroll further. I want the last item to be completely visible after I scroll to the […]

By fawad mohammed
Published
Categorized as angular, ionic-framework, ionic5 Tagged , ,

Push notification firebase not working on ios

We’re working on an Ionic 5 application with my team using Ionic Push Notification 5.36.0 In the app.module.ts we have import { Push } from ‘@ionic-native/push/ngx’; providers: [ InAppBrowser, StatusBar, SplashScreen, {provide: APP_CONFIG, useValue: BaseAppConfig}, {provide: RouteReuseStrategy, useClass: IonicRouteStrategy}, ConfigService, Push, In the app.components.ts We imported what’s necessary Import {Push, PushObject, PushOptions} from ‘@ionic-native/push/ngx’; And […]

By Abdelghank Fadil
Published
Categorized as android, angular, firebase, ionic5, ios Tagged , , , ,

Unable to print arabic EscPosEncoder ionic

const encoder = new EscPosEncoder(); let result = encoder.initialize(); result .codepage(‘cp864’) .align(‘center’) .newline() .text(‘السلام عليكم’) .newline() .cut(‘partial’) const resultByte = result.encode(‘utf-8’); this.print2.sendToBluetoothPrinter(this.selectedPrinter, resultByte) Source: Angular Questions

By Mohammed Abdullah
Published
Categorized as angular, ionic-framework, ionic5 Tagged , ,

How to pass storage (User session) data to side menu ionic 5 angular?

My code perfect working but got some issue …Issue is i used this code but still i am facing issue in checklogin method first time when i land on sign in subscribe value is false console.log(value) right after susbcsribe, after login it shows true only once even after success login storage_xxx res is null why […]

Ionic datepicker – Display specific year

I want to display the ionic date picker[ion-datepicker] in angular framework with default year as current year minus 65 years when I open the datepicker. Please suggest a solution. Source: Angular Questions

By Apsara Mohanan
Published
Categorized as angular, ionic-framework, ionic4, ionic5 Tagged , , ,

Angular 12 + Ionic 5: Resolver does not wait for the Storage and HTTP calls to finish

SITUATION: This question is regarding a SPA that I am building using Angular 12 and Ionic 5. When I am on the Home page, I can click the "Order History" link in the Side Menu and this routes me to the Order History page. I am using a Resolver in order to procure the Order […]

error NG6002: Appears in the NgModule.imports of AppModule, but itself has errors AppRoutingModule

When I make: ionic cap build android –prod –release , I have this error : Error: src/app/app-routing.module.ts:60:14 – error NG6002: Appears in the NgModule.imports of AppModule, but itself has errors export class AppRoutingModule {} https://i.stack.imgur.com/9SBcF.png I don’t have this error when I just do : ionic cap build android. I try different proposition on forums […]

By Mattuys
Published
Categorized as angular, ionic-framework, ionic4, ionic5 Tagged , , ,

Toast message does not show up when I call it from app.components.ts

I’m trying to display toast message when the app receives FCM push notifications while the app in foreground but the toast message does not show up, I placed alert(data.message) and the alert show up without issue but toast messages does not. BTW the toast message works fine in other pages in the app but not […]

1 28

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq