Ionic components ion-item-divider ion-item-group ion-item-sliding ion-label ion-note

1 ion-item-divider Item dividers are block elements that can be used to separate items in a list. They are similar to list headers, but instead of just being placed at the top of the list, they should be placed between the items. <ion-list> <ion-item-group> <ion-item-divider> <ion-label> Section A</ion-label> </ion-item-divider> <ion-item> <ion-label>A1</ion-label> </ion-item> <ion-item> <ion-label>A2</ion-label> </ion-item> […]

Upgrade from node 6.9.1 to node 8.16.2+ ionic 3.19.0 + cordova7.1.0 environment configuration

node 8.16.2 + ionic 3.19.0 + cordova7.1.0 environment configuration background implement (1) Install ionic (2) Install cordova (3) Run the project ionic serve 1. Follow the prompts to reconstruct node-sass for node 8. 2. An error occurs 3. Follow the prompts to install vcbuild: run as administrator and open the command line tool. Run in […]

Use ionic + cordova + vue3 to select albums, take pictures, upload and preview pictures

Table of Contents 1. Upload component upload.vue 1.1 Template planning 1.2 Click the Add button 1.2.1 Implement inquiry pop-up box 1.2.2 Realize taking pictures 1.2.3 Implement album selection 1.2.4 Implement file upload 1.2.5 Verify image type and upload 1.2.6 Get image list 1.2.7 Add image attachments within the component 2. Image enlargement component enlarge-image.vue 2.1 […]

Dealing with breaking changes in Ionic 5: Events are removed, how to implement custom Events in ionic 5+ version for an alternative to older versions?

Did you upgrade your Ionic app to v5 and your app was using Events and it no longer works? If the above is true, then you are in the right place. Tell a little story first– A few days ago I saw a tweet from the ionic team that Ionic 5 was released, and 10 […]

APP-App (using ionic+cordova) created

Article directory my-app Introduction create new project add platform Add necessary plugins Steps for usage plug-in Common commands configuration report error Packaging appears ANDROID_SDK_ROOT=undefined (recommended setting) No usable Android build tools found. Highest 30.x installed version is 30.0.0-preview; Recommended version is 30.0.3 Parsing error: Cannot read file ‘d:\studyspace\app\tsconfig.json’. UnhandledPromiseRejectionWarning: Error: The target entry-point “@ionic-native/nfc” has […]

[Solved] ionic Execution failed for task ‘:processDebugResources’.

Execution failed for task ‘:processDebugResources’. background analyze solve 1. Add network_security_config.xml to the project name\platforms\android\res\xml 2. Add the application tag in \project name\platforms\android\AndroidManifest.xml, see below Background Execute ionic cordova run android Analysis Check line by line the error message where the last error was reported during the compilation process: Error: cmd: Command failed with exit […]

[Solved] GPG error: https://download.docker.com/linux/ubuntu bionic InRelease: The following signatures could

question: sudo apt update Error: GPG error: https://download.docker.com/linux/ubuntu bionic InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8 Generally, if you encounter NO_PUBKEY, you only need to add this key: sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 7EA0A9C3F273FCD8 But not for this docker key. Solution First, add key to […]