@mmckeown Can you help me with an example? please.
Confusion using FCM as a push notification service for iOS and Android
Schema validation failed ".builders['app-shell']" should have required property 'class'
I can’t speak to this particular issue specifically, but in general I would suggest ignoring (especially old) recommendations that follow the pattern we see here:
- OP posts an error emanating from the depths of libraries referenced by builders or framework, seemingly totally unrelated to any app-level code
- Often accompanied by comments about “I just upgraded X and this started happening”
- People talk about different versions of dependencies
- You see excerpts of
package.json
- Somebody downgrades something and declares victory
Almost always these fall into three main categories, neither of which tend to age well at all:
A. There was a showstopper bug in a recently-released version of something upstream. These get fixed quickly, and so once they have been, you want the newer version instead.
B. OP went rogue and upgraded a dependency to something unsupported by the pillars of stuff that was current at the time. Also generally not relevant for long, as what was fresh and untested then becomes supported at some point.
C. OP has what I call a “frankenproject”, cobbled together from flotsam and jetsam of sketchy blog posts and the results of running things like npm update
without understanding what is going on. Whatever specific incantation they found that appeared to help is unlikely to generalize to other situations.
So, what to do instead?
- Update your tooling (e.g.
ionic
CLI and@angular/cli
) to the latest stable release - Spawn a new project with
ionic start
- See if the problem persists there
- Once you can build a new scratch project, start parachuting your app code into it and keep building from time to time
Trying to learn Ionic3/4 - can someone explain why the URL doesn't change with this project?
I have been using Ionic 1 for years and I am slowly trying to teach myself Ionic 3/4. I have very little experience with TypeScript, so I like to look at other peoples code and projects to try and follow the logic. I have been using this project lately for some self-paced learning and I have a question as to why the URL doesn’t change when the project is served through the browser.
Project:
Typically, as you move from tab to tab, or from view to view, you would see the URL change as you move through the app. In this project, the URL stays the same.
Is this something that is configurable, or did the author just take a different approach when designing the code?
Thanks for any info or pointers.
Live update of an app?
Yes its possible. But first you must check if that cordova plugin is compatible with capacitor. But It would be best if you use AppFlow.
Development and production workflow
Here’s a great video from the ionic dev team on building apps in appflow that use capacitor. I used this video to figure out my workflow, maybe it can help you as well. Good luck!
[AppFlow Capacitor] Permission denied - /builds/***/ionic-capacitor/android/gradlew
Have you tried to update gradle via Android studio? Once initial loading of files are configured, you’ll see a notification on bottom right hand corner stating to upgrade the gradle verison in the project. Also It says Permission denied in which you don’t have access to build signed APKs.
Ionic cordova build android throw an error
Logout from menu and re-login menu button not working
Please take a look into this.
Error after installation 'call number plugin'
I wrote projectname manually, because the real name of my project would not appear
Indoor Positioning System
Hi, i am developing an indoor navigation app. For now i am searching about indoor gps and routing, do you have any post about your solution? Or could you help me for how can i do it
Disable & enable tabs programmatically
Thanks a lot! Very useful.
Full screen slides / photo gallery
This works perfectly fine. But I want to close gallery if user clicks Hardware back button(Android device).
How can i do that?
Thanks,
Nirav
Ionic app white screen serviceworker error
Google Analytics: Tracker not started
UPDATE: With new changes of the library now works properly with 15.0.1 version of play services. They fixed the google play version on last versions of the package
Sign in with Apple ID => Ionic Support?
you can use the coding here:
Studio Apartment in gurgaon
We are a real estate consultancy firm working in Gurugram & Delhi/NCR, India with a global mindset, bringing together exciting real estate developments and investment opportunities under one roof.
Ionic 4 can't dismiss loading controller. Unhandled Promise rejection error
I want to show the loading controller until data is fetched from the server. But I can’t dismiss the loading controller. I am getting the following error
Unhandled Promise rejection: Cannot read property ‘dismiss’ of undefined ; Zone: ; Task: Promise.then ; Value: TypeError: Cannot read property ‘dismiss’ of undefined
.ts
import { LoadingController } from '@ionic/angular';
constructor(public loadingController : LoadingController ) { }
async ngOnInit() {
await this.presentLoading()
this.razorpay = new Razorpay({
key : 'XXXXXX',
key_secret: 'XXXXXXX'
})
this.razorpay.once('ready', async (response) => {
this.banks = response.methods.netbanking
console.log(this.banks)
this.display = true
await this.dismiss()
})
}
async presentLoading() {
const loading = await this.loadingController.create({
message: 'Hellooo',
});
await loading.present();
}
async dismiss() {
await this.loading.dismiss();
console.log('Loading dismissed!');
}
}
.html
<ion-list *ngIf="display">
<ion-item *ngFor="let bank of banks | keyvalue " (click)="selected_bank()">
<ion-label>
{{bank.value }}
</ion-label>
<ion-icon name="arrow-dropright" slot="end"></ion-icon>
</ion-item>
</ion-list>
Dynamic form field cause loose focus on input while typing text on Ionic Framework
Hi all guys… I’m facing right now a problem writing an application which has a form where is possible to add dynimcally some field
I wrote an article in stack overflow… Can you have a look and tell me if I’m doing something wrong or I missed something or maybe is a ionic bug.
Thank you all.
Dynamic form field cause loose focus on input while typing text on Ionic Framework
Ok I have fixed the problem right now…you can find solution on the “comment section - Stack overflow”
Need advice for sharing code between multiple projects
Greetings,
I’ve recently been given the task of creating “custom branded” variations of two Ionic apps. Unfortunately due to customer time constraints and my personal limited experience with Angular, I didn’t have time to do this correctly the first time round, so I ended up simply duplicating the project, updating the branding and app identifiers, and building the “new” apps. Now I’d like to try fix these apps properly to avoid relying on copy/paste coding.
Just for context: Each application connects to a proprietary device (the first via BLE, the second via TCP socket) and provides the means to read real time information from and update configuration on the connected device. Furthermore, the interfaces need to be translated into other languages, which I’m currently doing with ngx-translate
.
There may be some aspects that are common to all four apps, while some aspects are only for the BLE-comms or only the TCP-comms apps.
I’ve been working through a few different tutorials showing how to create configurable Angular libraries, how to include enough of Ionic to use it’s UI elements in the library’s components, etc… But I’m not seeing a clear path to a solution yet…
Could anyone provide some suggestions on how best to move forward with this?