Error "tried calling SplashScreen.hide, but the SplashScreen plugin is not...
Hi, on an Ionic4 app, I have a problem with the splash screen, that doesn’t close. In debug mode I can see this error: vendor.js:77445 Native: tried calling SplashScreen.hide, but the SplashScreen...
View ArticleDark Mode not working for ionic 5
Ahh, so the example you have doesn’t do anything with the dark class you add to the body. It relies on the @media (prefers-color-scheme: dark) setting only. If you want both, you need to listen for...
View ArticleError "tried calling SplashScreen.hide, but the SplashScreen plugin is not...
Do you have the project up on GitHub? Or can you replicate this in a demo project? Can’t really tell what the issue is from this.
View ArticleIonic preact, ion-button or IonButton?
From the stencil docs: The largest deficiencies that React currently has when it comes to working with standard HTML Custom Elements is that properties that contain non-scalar data (that is, data that...
View Article@param and its use
This is just standard js-doc syntax for documenting code. https://jsdoc.app/tags-param.html It’s not actual code, but just docs to help while you write code. In this case, your editor will be able o...
View ArticleBackground Geolocation documentation missing /ngx
Ionic Docs Background Geolocation - Ionic Documentation Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards...
View ArticleIonic Braintree Tutorial
I’d highly suggest looking at the main repo for the plugin GitHub Taracque/cordova-plugin-braintree :credit_card: A Cordova plugin for the Braintree mobile payment processing SDK. -...
View ArticleChanging Ionic core files doesn't work
You should not be modifying files in node_modules. These are compiled files that are split up into different versions for different environments. An edit in one file does not mean it is handled...
View ArticleBackground Geolocation documentation missing /ngx
Thanks! Can you open an issue on the ionic-native repo? We’ll take a look and give the docs a nice review.
View ArticleIonic preact, ion-button or IonButton?
Wrapping the web component in a custom react element is not possible in my case. I would like to use the web component to have custom elements in dynamic html markup. That’s not possible with react,...
View ArticleHow to set Ionic 4 ion-select backdropDismiss to false
@peterjc how did you do this in ionic 3?
View ArticleDark Mode not working for ionic 5
@mhartington this is very confusing that the docs show to just add the dark class, but doesn’t mention that the media query comes standard, but you need to add the class to the css. Both should be...
View ArticleError: spawn /Users/{name}/Library/Android/sdk/platform-tools/adb ENOENT
When I look in the android sdk folder there are now 2 nested folders like “platform-tools/platforms-tools/” which is where the adb file is now located. That’s weird. On my machine it’s just...
View ArticleIon-datetime default
Hello, I have a datetime object and I’d like to setup a default value when the user chooses the date. But I don’t want this value to get displayed. Let me explain why : I have a max value defined to...
View Article[ng] ERROR in Cannot read property 'map' of undefined
Hello. I am a university student writing a dissertation about Ionic framework. I currently in the process of producing my final application but while generating the production release I encountered...
View ArticleDark Mode not working for ionic 5
Mmm yeah, I’d agree. Could you open an issue on the ionic-docs repo? I’ll take a look in the coming days to revamp those.
View ArticleChanging Ionic core files doesn't work
To build on @mhartington’s excellent advice above, local modifications to files under node_modules won’t survive across times you update other dependencies, and won’t replicate when you rebuild the...
View ArticleDark Mode not working for ionic 5
mhartington: ionic-docs github.com/ionic-team/ionic-docs Dark Mode page doesn't make it clear for manual toggle for Dark Mode settings opened 05:11PM - 27 Mar 20 UTC billygerhard URL...
View ArticleA question about conditionals
export class HomePage { variable1 = 0; variable2 = 0; } <ion-list> <ion-item> <ion-label>variable 1</ion-label> <ion-input [ngModel]="variable1" (ngModelChange)="variable1 =...
View Article