Skip to main content
46
results
Andrew Fletcher
If the Android app icon is not changing from the default icon (in my situation this was the Capacitor icon), here are some steps to troubleshoot and resolve the issue:   Check the Icon Files Ensure that you have provided the correct icon files in the appropriate directory. In a Capacitor project, the Android app icon should be placed in the res directory under various density-specific folders (e.g., mipmap-hdpi, mipmap-mdpi, mipmap-xhdpi, etc.).   Verify File Names Check that the icon...
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
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...
Andrew Fletcher
Android Studio build errors Build failed error: cannot find symbol if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R)or cannot find symbol Build.VERSION.SDK_INT >= Build.VERSION_CODES.S &&  To resolve - upgrade the compileSdkVersion and targetSdkVersion to 31 in your grade file.  Note, this setting could be in one of the following files android/app/build.gradle android/variables.gradle   Also note - Build.VERSION_CODES.R only exists in API 30. The...
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
  JSON structure Outlining the structure of the elements common attributes:...
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus...
Andrew Fletcher
  Using the Drupal Poll module and passing via RESTful API -  How do you get it working?   The initial set-up POST: {domain}/mhc_custom/poll?_format=json Content-type: application/json Accept: application/json { "choice": "1" }  If you run the above credentials, you will find the following response { "message": "The 'restful post mhc_custom_poll_submit' permission is required." }  Let's have a look at the backend path: Admin > Configuration > Web services...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
How to use the Drupal REST API to trigger I've forgot (need to change) my...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...