Skip to main content
31
results
Andrew Fletcher
Loading the code in a platform - in this article, I'll be focusing on Android and iOS.  Ionic app shell prompts for iOS and Android devices.   Here's a breakdown of the commands: npm run build This command is used to build your web app. It's typically associated with web development frameworks like Angular, React, or Vue. It compiles your web app source code into production-ready files. npx cap sync This command is part of Capacitor. It synchronizes the web app's built files with the...
Andrew Fletcher
The challenge I was facing, I had written a script to scan barcodes and use...
Andrew Fletcher
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
This article references some of the common commands via CLI (command-line...
Andrew Fletcher
How can you find out if the Cordova plugins have been loaded? Begin by running...
Andrew Fletcher
Updating the Cordova plugins... there are two locations to manage the plugins config.xml package.json I was finding some Cordova functionality was not coming through... through further investigation the two files above had conflicting data.   Review the data package.json "cordova-browser": "6.0.0", "cordova-plugin-advanced-http": "3.3.1", "cordova-plugin-android-permissions": "^1.1.3", "cordova-plugin-device": "2.1.0", "cordova-plugin-file": "^7.0.0", ...
Andrew Fletcher
Whilst working through an edit person view in a SwiftUI project, I experienced...
Andrew Fletcher
When managing a navigation title in Swift, you will have trodden down the path....
Andrew Fletcher
Struggling to hide the SwiftUI separators in a List or Form?    The...
Andrew Fletcher
Core Data - customising our data model When you are using Core Data, and let's...
Andrew Fletcher
In SwiftUI, has made creating a list of item very easy.  If you have an array containing the names of customers, these names can be displayed through the following code: struct ContentView: View { let customers = ["Sarah","Vinodh","Dimitry","Lata"] var body: some View { List(customers){customer in Text(customer) } } }As you will have noticed, this is a static list.  Meaning that any changes to the customers array will not cause...
Andrew Fletcher
I attempted the run command and the response I had was succeeded, but then...
Andrew Fletcher
Working with buttons To begin, what is a button in SwiftUI? struct MainView:...
Andrew Fletcher
When those simple annoyances are too frustrating!  Yes we have all been...
Andrew Fletcher
The purple warning notification of annoyance recently came my way!  I...