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
27
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
•
Recently a client handed me code that runs an app through iOS and Android....
Andrew Fletcher
•
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
•
This article works through the steps to update dependencies in package.json...
Andrew Fletcher
•
Android Studio error
Installation did not succeed.
The application could not be...
Andrew Fletcher
•
Android Studio error
error: package android.support.v4.content does not existThis is a problem with plugins using old Android support dependencies instead of the AndroidX equivalent. As it's a dependency issue, to resolve add jetifier. I know yet another package...
npm install jetifier
npx jetify
npx cap sync
Tools
Ionic CLI : 6.20.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.2.0
...
Andrew Fletcher
•
Android Studio build errors
Build failed error: cannot find symbol if...
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
•
Goal: Restrict content access through username and password entry.
1: Apache...
Andrew Fletcher
•
Approaches to resolving “Module not specified” Error in Android Studio
When attempting to run or debug the application on Android Studio you can come across the error “Module not specified” in the Android Studio. This article will outline approaches I took to get a resolution to this issue.
Tools
Tool
Version
Android Studio
Chipmunk | 2021.2.1
OS
OSX - Big Sur 11.6.7
Ionic
CLI 6.20.1
Node
18.0.0
Cordova
cli: 11.0.0
Method 1 - Synchronise the project
Let's...
Andrew Fletcher
•
Working in Android Studio when attempting to run a project I had the following...
Andrew Fletcher
•
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
•
In Xcode and executing a run command, the response error was:
{
"name":...
Andrew Fletcher
•
ERROR Error: Uncaught (in promise): TypeError: undefined is not an object...