Skip to main content
34
results
Andrew Fletcher
The viewport meta tag in a website's HTML is used to control how the webpage is displayed on a mobile device or in a web browser.  It defines the viewport's behaviour and dimensions.  The viewport meta tag helps create a responsive and mobile-friendly design by adjusting the layout and scaling to fit various screen sizes and orientations, particularly on mobile devices.  It helps ensure that text is displayed at a readable and consistent size across different devices and screen...
Andrew Fletcher
If the Android app icon is not changing from the default icon (in my situation...
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...
Andrew Fletcher
Initialise your Capacitor config​ To initialise Capacitor use the CLI questionnaire: npx cap initOn executing the above command, you will be prompted to answer a few questions for your app such as your app's name and the package ID. [?] What is the name of your app? This should be a human-friendly app name, like what you'd see in the App Store. ✔ Name … {App name} [?] What should be the Package ID for your app? Package IDs (aka Bundle ID in iOS and Application ID in Android) are...
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...
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...