Quantcast
Channel: Ionic Framework - Ionic Forum
Browsing all 48986 articles
Browse latest View live

Structuring apps for re-use across projects

Is it possible to structure an ionic app to have one “core” project which is the main app developed (from here I will refer to this as the ‘product’) and then have many project repositories that...

View Article


No input element inside ion-input when testing

I have a simple form with two fields: username and email. My test looks like this: ... fit('should create', () => { console.log(fixture.debugElement.nativeElement.childNodes);...

View Article


Ionic 5 - vertical scroll not working for normal web page

I am making a web app with Ionic (at least some will be for web only). However I can’t seem to get the page to scroll vertically. The basic html example is below. This works fine in a raw Angular...

View Article

Image may be NSFW.
Clik here to view.

Ng model not working. (app.component.html - ionic v5)

ng model not working in app.component.html file. What should I do? Thanks in advance. <!-- Category Edit Form--> <ion-card class="ion-padding" *ngIf="EditForm"> <ion-label...

View Article

Image may be NSFW.
Clik here to view.

Ionic v5 React TSX File Transfer Plugin - Can't Understand Example

I’m new to React and TS so maybe I’m just an idiot but so far I’ve been doing fine building out my app but I need to use the file-transfer plugin and this is where everything breaks down....

View Article


Branch io redirection to fallback URL is not working

Has anyone been successful in implementing the fallback URL functionality of the deep linking functionality of branch io. My deep linking works when the app is installed. But, i want the link to...

View Article

Image may be NSFW.
Clik here to view.

How to use the Background Geolocation Plugin to return location every 10 mins

How do I use the Background Geolocation Plugin in such a way that it returns me the current location of the device every 10 mins even if the app is in the background or closed. Is there a variable...

View Article

Get an build-error Job name "..getProjectMetadata" does not exist

Hey! Since 2 days I have the problem that I cannot run an ng build (for docker). I get the following message every time: An unhandled exception occurred: Job name “…getProjectMetadata” does not exist....

View Article


Error: Uncaught (in promise): TypeError: this.l_drink is not iterable

Hi, Following this topic: https://forum.ionicframework.com/t/how-to-dynamically-feed-the-this-validations-form/187947/2 , I’m blocked now with this error message: Error: Uncaught (in promise):...

View Article


Image may be NSFW.
Clik here to view.

Scroll assist does not propagate events

Scroll assist prevents propagation of events on iOS which does not work well with a custom Gesture that implements long press event (onEnd never gets called so my timer runs out and triggers long...

View Article

Image may be NSFW.
Clik here to view.

Ionic iOS native date picker is not shown properly

let options = { date: "2020-5-6", mode: 'date' } console.log("picker started"); this.datePicker.show(options).then( date => { I hard coded 2020-5-6. but same error in new Date() as screen below....

View Article

Popover center horizontally, maintain vertical position

I am using a Select with Popover interface. I want to center the popover box horizontally. I found this css to center it in both directions: .popover-wrapper .popover-content{ position: relative...

View Article

Ionic 4 Any file view

I have a requirement where user can view the pdf or csv/xls file in the Application ( pwa - Web and Android app) and download it. I came across the cordova plugins such as ‘preview-any-file’ and...

View Article


UIWebView - Apple warning message of Deprecated API usage

Hi, I have been getting mails from Apple saying the UIWebView API is deprecated and must be using WKWebView When I have created a new workspace and didn’t add any plugins and also removed all the...

View Article

How to build a Ionic5/Capacitor app for release?

Hi, this is my first app with Capacitor and I have to build this app for Android. With Cordova I build an app with these commands: 1) ionic cordova build --prod --release android 2) cd...

View Article


CRUD operations

How to perform CRUD operations using capacitors HTTP or Angulars HttpClient without running into CORS errors. I am not getting CORS error while doing API calls from POSTMAN. 1 post - 1 participant...

View Article

How to hide tabs in sub pages?

im working on ionic v4 and i need to hide tabs in some pages . how to achieve this ? thanks in advance 1 post - 1 participant Read full topic

View Article


Image may be NSFW.
Clik here to view.

Ionic 5 Tab transition animations

Hi, I have an Ionic 5 React app with tab navigation. I want to implement transition animations when the user navigates to a new tab. How can I implement this? Upon googling this, everyone just says...

View Article

Issue with iontextarea

Import React, {useState}from ‘react’; . . . Const example:React.FC =() =>{ Const { text , setText }= useState (); Return( … <IonTextarea placeholder value={ text} onIonChange={e => setText (...

View Article

Ionic React - IonRouterOutlet - Animation Builder

Has anyone here tried to override the animation for navigation? Docs about AnimationBuilder was pretty vague i dont know where to look at, Main issue was the double rendering of IonPage for every...

View Article
Browsing all 48986 articles
Browse latest View live