Questions tagged [ionic6]

278 questions
2
votes
1 answer

Ionic how to upload a file as binary using httpclient getting 599 status

Hi i am sending blob file to with httpclient and getting 599 status code please help this.http.post("url",blobfile,{headers:'content-type':'image/jpeg'}).subscribe(r=>{ console.log(r) }) getting 599 error this works fine on webview but doesn't work…
sai kiran
  • 389
  • 2
  • 10
2
votes
1 answer

How to write AuthGuard in Ionic/Angular with AngularFire7 that works on iOS?

I'm running into an odd problem with my Ionic/angular app. I'm using "@angular/core": "~13.2.2" "@capacitor/core": "3.4.0" "@capacitor/ios": "3.4.0" "@angular/fire": "^7.2.0" "firebase": "^9.6.6", It works well on the web-version and Android, but…
2
votes
0 answers

Use Ionic Portal inside Ionic Framework React Native Apps? (Webview inside Ionic App without covering up IonTabBar)

I have a use case where I would like to leverage some existing pages from a Shopify powered store inside an Ionic Framework v6 React iOS / Android App (on web we will simply redirect to the appropriate subdomain). Unfortunately, Shopify has their…
2
votes
0 answers

Ionic with Angular: Can't import the named export from non EcmaScript module (only default export is available)

I've come across several solutions to the above error, but none relating to Ionic, which makes solving it really difficult for me. The error comes up when I use the Angular component ng-recaptcha on my Ionic 6 project. Immediately the component is…
Cedric Ipkiss
  • 5,662
  • 2
  • 43
  • 72
2
votes
0 answers

Ionic 6-React custom font does not change on android

I'm trying to change the entire app font to a custom font like so Bringing it to my variables like so Applying to global.css like this Does not change on android, it still uses Roboto font. But, it works in the browser. The Browser version
AbdulAzeez Olanrewaju
  • 976
  • 1
  • 13
  • 32
2
votes
1 answer

How to hide / not draw bars with 0 / null / undefined values?

How to hide values that are false ? ( 0, null or undefined) I have tried to do something like new Chart(this.barCanvas.nativeElement, { ... data: { datasets: [{ data: [ value <…
crg
  • 4,284
  • 2
  • 29
  • 57
1
vote
0 answers

Blank screen in ionic 6 for webview veriosns older than 60

I have a application with ionic 6. I get negative feedback from my client about blank screen in old versions of webview . I checked my debug version and saw in inspect section doesn't exist any html code inside app-root tag. How can I fix this…
1
vote
2 answers

Conflicting peer dependency: @angular/compiler@15.0.0

I'm trying to add android to my Ionic proyect, but when I run the code, I have this issue: Error: npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @angular-devkit/build-angular@15.2.6 npm ERR! Found:…
1
vote
2 answers

Programatically open and close ion-datetime

Is there a way to open an ion-datetime programatically? in Ionic 6 the ion-datetime is open all the time, but it can be hidden using an ion-modal and ion-datetime-button like this
Craig
  • 8,093
  • 8
  • 42
  • 74
1
vote
1 answer

Read Text File on Ionic - Android 12

Good evening, the problem that I can't solve concerns reading text files in Ionic 6 and Android 12 (method readAsText). Using the FilePath, FileChooser and File libraries, the results exist but I can't extract the text (null is returned). Has anyone…
1
vote
2 answers

Nullinjectorerror: no provider for httpclient! without app.module.ts

I'm trying to read a JSON in Ionic Angular with HttpClient, but I get this error "nullinjectorerror: no provider for httpclient!". The issue is that the lastest version of angular doesn't generate app.module.ts. My code: import { Component, OnInit }…
1
vote
0 answers

PWA not showing A2HS prompt when manifest created dynamically

Everything was working fine until i had to update the app to have different name according to customers Below is what i have done so far generateManifest() { return new Promise((resolve, reject) => { const urlParams = new…
1
vote
0 answers

How to set targetSdkVersion 33 in ionic application?

I have created an ionic application using ionic 6 and it works fine. I would like to upload this app to the Google Play Store. I added targetSdkVersion version 33 to the config.xml file based on the Play Store documents.
1
vote
0 answers

Ionic capacitor local notifications

I have ionic capacitor application and used @ionic-native/local-notifications to add local notifications. After updating the capacitor to the latest version (v4) I also updated my notifications and now I use @capacitor/local-notifications. Now If I…
tesw axs
  • 11
  • 1
1
vote
0 answers

Firebase Auth error on Ionic 6 when launching on IOS

I'm experiencing an issue using firebase on ionic. This issue only pops up when I try to launch the app on IOS (device or emulators). As soon as I press the button that should be triggering my auth subscribers, it throw this error: ERROR Error:…
1 2
3
18 19