Questions tagged [ionic6]

278 questions
0
votes
0 answers

How can I redirect users to a page after choosing payment methods ionic6

Please, is there anyone who can help me fix the I am having with my code? IMt is for a school project. My skills are not advanced yet. I have uploaded in github. Please check the following link: https://github.com/benwallace2023/wtl-app I need this…
0
votes
1 answer

How do you update a URL in angular 13+ but not trigger navigation

We have an library.page.html. On the left side of the HTMl there is a list, where you can select a book. When the page renders there is just this list, and when I select a book I want to update the URL to /books/123, but don't trigger the navigation…
0
votes
1 answer

How can I configure multiple ports for a multiapp Ionic 6/VueJs 3 project in a config file?

I have an Ionic 6/VueJs 3 multi app project and I would like to be able to open each project in a different, permanent port during development... Here is a config... { "defaultProject": "app1", "projects": { "app1": { "name": "app1", …
Esteban
  • 1,496
  • 17
  • 22
0
votes
1 answer

Ionic foreground and background - store state of application

I have an issue with the app and background working. Can anybody help me? I made an app for the clinic and all works well while they are in-app but when for example pick up the phone or want to reply to a message looks the state of the app lose and…
mrakodol
  • 1,143
  • 3
  • 12
  • 41
0
votes
1 answer

How to enable Overscroll effect in android ionic 6 react

Sorry for my title; I’m not really familiar with the effect in question. But here the simple thing is how to make my Ionic 6 react page have an effect like this picture. Like android native I’ve tried several ways to modify the style and CSS, but it…
0
votes
2 answers

I'm trying to highlight specific dates in ion-datetime. But for some reason, it is not getting reflected in calendar

I have used ion-datetime for my Ionic-react project. I have added all the property that they have asked in documentation. Instead of coloured dates, I'm getting simple calendar.
0
votes
0 answers

Fit ion-grid width to content and all cells in the same column should have the same width

I have an ion-grid with multiple columns. I would like to make the columns fit to the content but the same column should have the same width (all cols having the width of the cell with the longest content). I know by setting size="auto", the column…
0
votes
1 answer

Ionic DateTime Sensitivity

I am using Ionic 6 with Angular 14. Is there a way to make the Ionic Time Picker less sensitive? The wheel scrolls very fast and makes it very difficult to stop on the correct hour/minute. https://ionicframework.com/docs/api/datetime The iOS mode…
0
votes
0 answers

Default route as per condition not working in ionic react

I am learning React in Ionic. I have a basic project which has login and tabs pages in page folder. In component folder I added 2 components home and profile which are for bottom tabs. Navigation is like I'm checking for a stored boolean isLoggedin.…
Somnath Pal
  • 1,570
  • 4
  • 23
  • 42
0
votes
0 answers

TS1005 error after installing @capacitor/preferences plugin in ionic project

After installing @capacitor/preferences plugin in my ionic6 project , I keep getting the following TS1005 errors [ng] ERROR in node_modules/@capacitor/preferences/dist/esm/index.d.ts:1:13 - error TS1005: '=' expected. [ng] 1 import type {…
0
votes
2 answers

Custom Barcode Live Scanner on Ionic 6

I'm developing an app in ionic 6 with Angular and I'm trying to combine the camera-preview plugin with a js library capable of recognizing a Barcode in real time. Unfortunately, while trying some libraries, the yield is not the desired one (out of…
0
votes
0 answers

How to integrate ionic 6 components with an existing Angular 15 Project

I have an angular 15 project that includes Angular Material, some custom CSS Styles and I'm looking to add some Ionic Components. I tried ng add @ionic/angular I got the components but not working correctly. Mainly I want to use the Sheet Modal but…
galalem
  • 389
  • 11
0
votes
0 answers

Can't overlap image on card in Ionic 6

I've been trying for days now to overlap an image on top of a card in Ionic 6 but I've had no luck so far. I'd want to achieve something like this, if possible I have tried several methods that semeed to have worked with people that had the same…
Guppy
  • 1
  • 1
0
votes
1 answer

In Ionic Angular app IonContent's scroll element's scrollTop value is wrong, when queried on navigation end. What can cause this issue?

My goal is to scroll the ion-content component to top, when navigating to the page from some other selected pages. To achive this I am subscribing to the router's NavigationEnd events, and try to scroll to top inside the function provided to the…
Viktor
  • 1
  • 3
0
votes
0 answers

How should I resolve this issue "package android.content does not exist"?

enter image description here We were trying to make apk from ionic-react using capacitor. These are the commands that we have followed: npm install @capacitor/android npx cap add android npx cap open android ionic capacitor sync android