Some Android devices gives me the following error when trying to access my backend server: CORS Access to XMLHttpRequest at ‘XXXXXX’ from origin ‘ionic://’ has been blocked by CORS policy: The ‘Access-Control-Allow-Origin’ header has a value ‘ionic://’ that is not equal to the supplied origin. As you can see above, the origin is ‘ionic://’ and ..
Category : angular
I’m trying to access my web server hosted on http://localhost:8080 on an Angular App built with Cordova. I can access the server with a navigator on my emulator but I never receive any request from the application itself it’s just failed with the following error: [objectProgressEvent]. My request is like this and works if I ..
Can’t able to install any ionic-native plugins into the app. Error: ./node_modules/@ionic-native/market/ivy_ngcc/ngx/index.js 10:54-61 "export ‘cordova’ was not found in ‘@ionic-native/core’ My package.json "dependencies": { "@angular/common": "~11.2.0", "@angular/core": "~11.2.0", "@angular/fire": "^6.1.4", "@angular/forms": "~11.2.0", "@angular/platform-browser": "~11.2.0", "@angular/platform-browser-dynamic": "~11.2.0", "@angular/router": "~11.2.0", "@capacitor/android": "^2.4.6", "@capacitor/core": "2.4.6", "@ionic-native/core": "^4.20.0", "@ionic-native/device": "^5.31.1", "@ionic-native/firebase-authentication": "^5.31.1", "@ionic-native/market": "^5.31.1", "@ionic-native/splash-screen": "^5.31.1", "@ionic-native/status-bar": "^5.31.1", "@ionic/angular": ..
I’ve build a PWA using PWABuilder from Microsoft, and created some webpages to show those within the PWA. On one of those pages the user should be able to upload images/files, within the browser it works fine, but inside my "app" nothing happens if the user clicks on "upload file". Actually I am using Gravityforms ..
if i go to my webapplication on a android device, the keyboard hides the inputfields of my form. Is there a way to avoid that? It is possible to scroll to focused input field, but only on mobile devices? For the webapplication i used angular and primeng. Here is my manifest.xml <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" ..
I am trying to build a simple functionality using Ionic and background mode plugin, when the application is sent to background after N seconds to bring the application back to foreground. npm i cordova-plugin-background-mode npm install @ionic-native/background-mode app.modules.ts import { IonicModule, IonicRouteStrategy } from ‘@ionic/angular’; import { AppComponent } from ‘./app.component’; import { AppRoutingModule } ..
guys. I’m currently finding so much trouble trying to print a freshly generated PDF with jsPDF tools. First and foremost, I must clarify that I’m not trying to print automatically or autonomously. I’m building an Angular-based website from which certain users must be able to press a printer button and directly print. This website and ..
I have a parent page which defines the tab bar. I have 2 child pages to this tab bar. I want to capture the scroll events from the child and hide the tab bar while scrolling. How do I pass the ion-content scroll events or any data from the child page to the parent page ..
We have noticed the HTTP requests in our Angular app are being queued for a lot longer when on mobile data. Could anyone advise as to why? We are using Angular HttpClient to send a single GET request. Please see the network resource timing comparison below: WiFi: Mobile Data: As you can see, the same ..
We have a public screen(interface) in a transport station that contient a mobile application in order to buying a ticket. And near this screen there is a qr code. When the client or the passenger scan the qr code the same mobile application will be launch in the user smartphone and he can proceede the ..
Recent Comments