Best practice to update angular within running project
Hey guys, I really tried my best with google but gave up just now. I have upgraded my project to ionic cli to 6 MY ionic info looks like this Ionic: Ionic CLI : 6.12.1...
View ArticleApp initialization
Hi, I have a generic question regarding initializing my app. I see ppl using the app.component constructor to call a method like: initializeApp() { this.platform.ready().then(() => { // do some...
View ArticleThis.$router.push doesn't change page, workaround
I have a startup page that tests (in the router) if we know the server address… if not, let this component run, and when we get and save the server address, then go to the next page using...
View ArticleFunction with segment selected
Hello everyone, I have to detect which segment has been selected and show content based on that. For this purpose I use the event onIonChange and that it calls a “Seleccionado” function. This function...
View ArticleIonic 5 plain javascript inline events
can’t I just bind inline event on ionic component? like: <ion-button id="btn-focus" ionFocus="console.log(1)" > it works this way though: let focusbutton = document.querySelector("#btn-focus");...
View ArticleIonic build ios error: Cannot read property 'name' of undefined
I’m trying to build an ios application with ionic 5, but I’m getting the following feedback. I run the npm install and with the generated icons and splash features already I run the ios build command...
View ArticleTab vs Page OnInit?
How is a tab in my Ionic app different from a page? Why does the page reload (init) on every visit but a tab stays rendered (does not run onInit)? I’m missing some basic concept here. All the topics...
View ArticleApp Update in ionic4
Hi i want to show app is having update to user so how can i show this even i tried all the solution and its not working i am using ionic 4 let me know solution 1 post - 1 participant Read full topic
View ArticleKeyvalue pipe with ion-select
I was trying to use keyvalue pairs with ion-select-option. In my .ts file I have a map<string, any> categoryMap: Map<string, any> = new Map(); ngOnInit() { this.categoryMap["boys"] =...
View ArticleIonic-react history.replace() not navigating
I am working on an Ionic react application (v5.0.7). I have all my paths inside <IonRouterOutlet>. For the navigation stack management, setting root I am using history.replace() method, but it...
View ArticleSearching in ion-select
I have created a directive that adds input box inside ion-select for easy searching among hundreds of records. Screenshot_20201102-130506__01899×1269 88.5 KB You can install the npm package with...
View ArticleWhich is the beast way to use BehaviorSubject with Ionic4?
Hi, I’m using some BehaviorSubject in an Ionic4 app. I’ve defined them in a service: @Injectable({ providedIn: 'root' }) export class DeviceManager { public deviceSpeed: BehaviorSubject<number>;...
View ArticleOnly global apply styles
I’m trying to apply styles to pages but it’s not responding to any scss only global.scss applying my styles .postContent { line-height: 2 !important; font-size: 0.9em !important; -webkit-user-select:...
View ArticleBack to root page when navigate between pages
hi I need some help I want to navigate to the root page of the tab not subpages when I navigate between tab pages 1 post - 1 participant Read full topic
View ArticleImage handling ionic vue
I feel stupid to ask this but: How are images handled in an ionic vue project? I have an image in/src/assets/img/myimage.jpg And try to display with <ion-img...
View ArticleStrange behaviour when switching pages with angular router
so im using a bluetooth barcodescanner with my app, this is the code i use to read its values (works with every barcodescanner in text mode) i have a page named “list”...
View ArticleCompile error, works fine in ionic serve though. how to turn off error checking?
input3.firstChild.select(); ~~~~~~ src/app/monitorinputmulti2/monitorinputmulti2.page.ts:205:27 - error TS2339: Property 'select' does not exist on type 'ChildNode'. yes at compile time theres no...
View ArticleHow to store checkbox values in Firestore
Hello, I’m trying to change firestore values checking boxes on Ionic 5, but don’t know how to deal with it, i need help, thank you. That’s my code //TS isSubscribed($event, id) { console.log("Value...
View ArticleWhy do ion-refresher and ion-infinite-scroll cause a scroll to top?
I have an application in ionic 5, in the mnia page I have a list with an ion-refresher and an ion-infinite-scroll working simultaneously. After updating the list with the refresher, if I reach the...
View Article@ionic-native/printer pick method returns null
When I calll the pick method, the printer selection window does not appear and the method returns null. displayPicker() { this.printer.pick().then(pickSuccess => { console.log('Printer picked: ',...
View Article