Questions tagged [ionic6]

278 questions
8
votes
2 answers

How to change icon and splash screen in ionic 6

I am currently using the latest version of Ionic( Ionic 6 ). After finishing the program in Ionic, I noticed a problem. The app icon and splash screen are capacitor defaults. How to change them in Ionic 6. According to Capacitor Docs, I should use…
AmirHossein
  • 409
  • 1
  • 2
  • 13
7
votes
3 answers

Ionic6 Capacitor: After adding "cordova-plugin-advanced-http", app build in studio start giving error cannot find symbol CordovaPluginPathHandler

Please help resolving this issue. I was able to build app in android studio after command "ionic capacitor build android". Android works fine until I added the plugin cordova-plugin-advanced-http, the error stated as…
6
votes
4 answers

Use Ionic 5 date picker in Ionic 6

Hi i am using ionic 5 for my project and recently migrated to ionic 6 everything looks great but one thing concerns me is the datetime picker i want that in old style this way please help!
sai kiran
  • 389
  • 2
  • 10
5
votes
1 answer

Relative paths in ionic 6 apps

paths definition in tsconfig.json file. "baseUrl": ".", "paths": { "@assets*": ["src/assets*"], "@components*": ["src/components*"], "@pages*": ["src/pages*"], "@theme*": ["src/theme*"], "@methods*": ["src/methods*"], …
AbdulAzeez Olanrewaju
  • 976
  • 1
  • 13
  • 32
5
votes
4 answers

ionic 6 : Modal Controller not scrolling

I Have a ionic modal controller which is displayed on click of a button. For me the modal is not scrolling if the ion-item in the modal component is having dettails from an object array. I am not able to see rest of the list whic is not displayed…
4
votes
2 answers

Ionic v6 Ion-accordion open first item by default

We upgraded our app from v5 to v6, we have a page where we are displaying expandable items and we thought we would make use of the newly introduced ion-accordion, the problem is on page load all the items are collapsed, I want the first item…
Luther
  • 149
  • 2
  • 8
4
votes
3 answers

Execution Failed capacitor-cordova-android-plugins:compileDebugJavaWithJavac in Ionic 6

I am using Cordova plugin to use fileOpener in the capacitor ionic project. Before this, everything was working fine as I install following packages: npm install @ionic-native/file npm install cordova-plugin-file npm install…
Hassan bbits
  • 43
  • 1
  • 2
  • 5
4
votes
1 answer

Ionic select: pre selecte value is invisible until clicked once

I just created an ion-select in ionic version 6. My problem is that i have successfully pre selected a value when the page loads, but this pre select value does not get shown in the UI?! It just appears after I have clicked the select, but before it…
user17619725
3
votes
4 answers

(Ionic / Angular) Swiper.js Autoplay is not running

—— Issue —— Hello, I dont understand why swiper is not starting like autoplay must be. When I look into the swiper instance from (swiper) event, I got this results : swiper.params.autoplay: {delay: 1000, enabled: true} swiper.autoplay: { running:…
3
votes
3 answers

Ionic 6 - Only half the header showing

I am using Ionic 6 / Angular and have this html in a component: Tab 1
keszok
  • 67
  • 5
3
votes
1 answer

How to pass postMessage data to my Ionic 6 app using InAppBrowser?

I have an Ionic 6 application that opens a url using InAppBrowser and I need to capture a token that this website generates. Searching the internet I found the window.postMessage, I put this function on my website to send the token to my…
Vinicius Aquino
  • 697
  • 13
  • 27
3
votes
1 answer

Ionic Android is always showing dark mode error

I've been creating a very small app with a menu some chips and a searchbar. But the problem is that I have forced MD theme in all app as you can see here: @NgModule({ declarations: [AppComponent], entryComponents: [], imports: [ …
Ravekon
  • 68
  • 6
3
votes
1 answer

How to add event listener on month change event in an ion-datetime object?

If I use an ion-datetime object and select a date. I can retrieve the value of the selected date with the event: ionChange. var element = document.getElementById('My-ION-DATETIME'); element.addEventListener('ionChange', function (event) { …
Alban
  • 31
  • 1
3
votes
2 answers

"TypeError: element['animate'] is not a function" error on ios device, after upgrading to angular v13

We decided to upgrade our ionic app to angular v13.2.3 and to @ionic/angular v6.0.8. After the upgrade, the app was running without any problems in the browser and on android. As we tested it on ios the app was starting, but wasn't showing any…
Derivaz Luca
  • 141
  • 1
  • 9
3
votes
0 answers

Ionic serve keeps recompiling without changes

After updating to Ionic 6.0.5 / Angular 13.2.2 I have a problem to which I can't find a solution. In the development environment with ionic serve, a recompile is started periodically without anything having changed. In the browser console it…
Sebiworld
  • 101
  • 1
  • 4
1
2 3
18 19