developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
14
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
•
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
Updating to PHP 8.1, I found this interesting code stop...
Deprecated function:...
Andrew Fletcher
•
Creating a message log using Drupal watchdog.
Simple log
// Logs a...
Andrew Fletcher
•
A bug bear that I have had for a while with Drupal content is how come the author of an article is actually their username. I have an array of reasons to vent my dislike for this strategy... however, instead I will show you how to change it. Albeit, programmatically! Don't stress there actually isn't a huge amount of code to add. In time I'll create a module so no coding is required.
Setting up account fields in the admin area
To begin let's add new fields for...
Andrew Fletcher
•
Localization is the process of showing other languages in your app and is...
Andrew Fletcher
•
Adding a pem file to secure ejabbered on the server for chat connection.
Getting...
Andrew Fletcher
•
To create a .pem file, is quick once you have your .p12 certificate. I...
Andrew Fletcher
•
I had the issue where I needed to filter an array list by a specific column....
Andrew Fletcher
•
A handy resource list of fonts for iOS:
iOS Font List - https://iosfontlist.com/#availability=10.0&preinstalled
LearnUI - https://learnui.design/blog/ios-font-size-guidelines.html
Andrew Fletcher
•
https://github.com/kylebrowning/waterwheel.swift
After a short amount searching...
Andrew Fletcher
•
Ha you have read it before, one of those throw away lines that is written "just...
Andrew Fletcher
•
After coding for 16 years... I have decided to have a go at building apps in...