Skip to main content
27
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
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
Updating NPM packages using npm update and I'm seeing the following response npm...
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
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 password. POST: {domain}/user/password?_format=hal_json Content-type: application/hal_json Accept: application/hal+jsonOr if you are using hal_json then use POST: {domain}/user/password?_format=json Content-type: application/json Accept: application/jsonBody { "mail": "your@yoursite.email" }All going well there will be no response.   Other responses However, if you have sent an email that doesn't exist on the...
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...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...