Skip to main content
37
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
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
Regular commands for brew   Brew update This updates Homebrew itself....
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
  Using the Drupal Poll module and passing via RESTful API -  How do...
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 documentation.  Also see the Query - user screen. Login a member POST: {domain}/user/login?_format=hal_json Content-type: application/hal_json Accept: application/hal+json { "name": "username", "pass": "password" }Example: { "name": "jacque", "pass": "nOtmYp1ssWorD" }Example response { "current_user": { "uid": "200", "name": "jacque" }, "csrf_token":...
Andrew Fletcher
How to use the Drupal REST API to trigger I've forgot (need to change) my...
Andrew Fletcher
To get the X-CSRF token, first, you need to login as a member.  Follow the...
Andrew Fletcher
In retrieving an image, the primary element required is: File id or...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...