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
19
results
Andrew Fletcher
•
Recently a client handed me code that runs an app through iOS and Android. No details about whether native or otherwise. Once I had the opportunity to crawl through the code, definitely not native. Typescript, Angular, Cordova... etc.
Glancing at the modification dates, the last time something had been tweaked on the app as June 2021. Which immediately raises a flag that there are potentially a lot of issues with the code. At this stage my concern wasn't with how...
Andrew Fletcher
•
Only a month ago, running an app through the Android Studio emulator was running...
Andrew Fletcher
•
Warning from Google Play Store when uploading an App
You must complete the...
Andrew Fletcher
•
Uploading a new version of an Android app to Google Play and I'm seeing this...
Andrew Fletcher
•
Whilst uploading a new version of our Android app, I had the following error...
Andrew Fletcher
•
If you have a situation where either you have forgotten a Keystore password or change of developers and the password wasn't sent across.... what to do? However, your app lives on and needs to be updated!
Possible solutions
grade.properties
This is a great starting point. Have a look in your android/gradle.properties file. Unfortunately, the android/ directory didn't exist and I had to run the command prompt to generate. So no password!
signingConfigs {
release...
Andrew Fletcher
•
Initialise your Capacitor config
To initialise Capacitor use the CLI...
Andrew Fletcher
•
Run the NPX commands to update the app
npm run build && npx cap syncRun...
Andrew Fletcher
•
Approaches to resolving “Module not specified” Error in Android Studio
When...
Andrew Fletcher
•
Working in Android Studio when attempting to run a project I had the following...
Andrew Fletcher
•
How do you exclude the current node from a list view?
In some situations, for example a block listing nodes related to the node being viewed, you might wish to exclude the current node from a list view.
Steps:
Click on the advanced tab;
Click on add under contextual filters;
Choose Content datasource: ID;
Under "when the filter variable is not available, choose provide default value;
From the drop down menu select content id from url;
Scroll down to the bottom of the window and click on...
Andrew Fletcher
•
You would have come across a URL string that appears...
Andrew Fletcher
•
Creating a message log using Drupal watchdog.
Simple log
// Logs a...
Andrew Fletcher
•
How to apply a gradient tint over a background image?
Set the background...
Andrew Fletcher
•
Working on formatting the date in Xcode, and you come across the situation where...