Quantcast
Channel: Ionic Forum - Latest posts
Browsing all 230568 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Name of the app

Simple bro! Add import {Title} from ‘@angular/platform-browser’; Add (private titleService: Title) in constructor And in code use (this.titleService.setTitle({APP TITLE}) You Are Welcome in Advance!...

View Article


Angular ngFor not iterating through array on Android

Before we get too far down this road, IMHO pages should not be interacting with the network, period. That should all be isolated to services. And it would be fantastic if even services didn’t have...

View Article


Capacitor tab page is not reloading on tab change and if come back on that page

I’m not entirely sure what your definition of “page reloading” is, but I would suggest designing your app so that its data layer is not reliant on presentation layer lifecycle events. See this post...

View Article

How to update property of singleton for display in template?

How do you ONLY reference SharedService in one component and then it’s available in all the other components? This is not processing with me. In order to use the SharedService in other components...

View Article

Unrelated view is mounted

Do you have an IonPage component in both components? Otherwise, we might need to see the code in the Account and Invoice components. On a related note, you may want to read how Ionic handles the Vue...

View Article


Angular ngFor not iterating through array on Android

Apologies, I should’ve stated this, but it was already architected that way. Selection service does the calls, and uses httpclient by default and passes no parameters. The only reason you’re seeing...

View Article

Image may be NSFW.
Clik here to view.

How to update property of singleton for display in template?

snolan760: How do you ONLY reference SharedService in one component and then it’s available in all the other components? The first thing to remember is that the syntax in this thread is five years...

View Article

Image may be NSFW.
Clik here to view.

Angular ngFor not iterating through array on Android

abdeezy: almost all posts I’ve seen on the topic say to use HTTP for mobile devices instead of angular’s httpClient. Am I mistaken in believing this? I won’t say “mistaken”, but I for one have about...

View Article


Image may be NSFW.
Clik here to view.

Angular ngFor not iterating through array on Android

Thank you for your responses, coming from developing solely on angular for the web for the past 2 years, I will say I’ve only ever used httpClient and NEVER had any issues. It’s surely my preference...

View Article


React + Ionic 5 and routing

Hey guys, I’m working on an app that contains a set of routes: One is the “home” page, a page with 2 buttons that navigate the user to /login or /register. The other is the “dashboard” (user) page,...

View Article

Ionic 4 - Scrollable List - Needed

that works for my xD

View Article

beforeRouteUpdate and beforeRouteLeave never called

Thanks! This looks like a bug in Ionic Vue. I have prepared a fix for this. Can you try the following dev build, and let me know if it resolves the issue? npm install...

View Article

Image may be NSFW.
Clik here to view.

Ionic-image-loader alternative to preload images

I have found this one and it works well. GitHub GitHub - alexowson/ionic-image-loader-v5: ionic-image-loader for ionic v5 ionic-image-loader for ionic v5. Contribute to alexowson/ionic-image-loader-v5...

View Article


Updating the state of the Home page component from an IonModal

How would I do that on this code? sorry, I’m a bit new to React and Ionic.

View Article

No podspec found for `package` when adding iOS project to existing Ionic 5...

I built a Capacitor plugin for Ionic and Capacitor and published it to NPM - call it test1. I then use it in my Ionic 5 project and successfully add a new Android project via: ionic build ionic cap...

View Article


React + Ionic 5 and routing

UPDATE: just realized that when removing IonRouterOutlet everything works as expected (of course without animations)

View Article

Image may be NSFW.
Clik here to view.

beforeRouteUpdate and beforeRouteLeave never called

Thanks a lot! This seems to work great! Finally can finish that form I’ve been working on. Is it safe to use your build for production or shall I wait for an “official” update?

View Article


Search bar in header - not vertically centered on iOS

(topic deleted by author)

View Article

beforeRouteUpdate and beforeRouteLeave never called

Not sure is this expected behavior. But I noticed that this in beforeRouteLeave seems to be, wrong? I cannot access any methods or properties of the component. console.log(this); beforeRouteEnter: ƒ...

View Article

Image may be NSFW.
Clik here to view.

@ionic-native/clipboard constructor breaks app

I am trying to use the @ionic-native/clipboard to copy some text in my app. However, once I add private clipboard: Clipboard to my constructor, my app screen turns black in the Ionic Lab with the...

View Article
Browsing all 230568 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>