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 ArticleAngular 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 ArticleCapacitor 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 ArticleHow 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 ArticleUnrelated 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 ArticleAngular 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 ArticleHow 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 ArticleAngular 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 ArticleAngular 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 ArticleReact + 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 ArticlebeforeRouteUpdate 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 ArticleIonic-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 ArticleUpdating 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 ArticleNo 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 ArticleReact + Ionic 5 and routing
UPDATE: just realized that when removing IonRouterOutlet everything works as expected (of course without animations)
View ArticlebeforeRouteUpdate 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 ArticlebeforeRouteUpdate 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@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