Cordova common plug-in instructions

cordova-plugin-file-transfer temporarily useless

Cordova provides a fileTransfer plug-in, through which we can easily implement file transfer operations (upload, download).

cordova-plugin-file-transfer If the plugin reports an error

cordova plugin add GitHub - apache/cordova-plugin-file-transfer: Apache Cordova Plugin file-transfer

Just reinstall the master version, the version is not compatible

cordova-plugin-file-opener2 temporarily useless

No need to actively add, it will be added automatically after cordova-plugin-file-transfer is added

Cordova opens the use of the file system plugin: 

com.cordova.plugins.cookiemaster 1.0.0 "CookieMaster"

The webview on the Android and iOS platforms does not support general usage of documents. This plugin allows you to get and set cookie values ​​from your WebView through a simple interface.

cordova-plugin-splashscreen 5.0.3 "Splashscreen"

welcome page added

cordova-plugin-GetIntentData 1.0.0 "GetIntentData Plugin"

A plug-in for custom jump activity, receiving other application jumps and parsing Intent data

phonegap-plugin-barcodescanner 8.1.0 "BarcodeScanner"

Add QR code scanning and automatically apply for permissions dynamically

com.jlc.customtoast 1.0.0 "MyToast"

Custom Toast plug-in, native x-toast is dynamically applied for pop-up box, custom use

cordova-plugin-android-permissions 1.1.4 "Permissions"

Check and apply for permission to use

The latest version of the android system, it can only check permissions, and cannot dynamically apply for permissions

cordova-plugin-dialogs 2.0.2 "Notification"

alert popup,

Ordinary prompt box, a button navigator.notification.alert(message, alertCallback, [title], [buttonName])

navigator.notification.confirm selects the prompt box, the prompt box prompt with input, let the phone make a sound beep

Detailed explanation of cordova-plugin-dialogs - Programmer Sought

cordova-plugin-inappbrowser 3.2.0 "InAppBrowser"

The app's built-in browser opens a URL, you can set the loading URL to add parameters, monitor loading stop and errors, and load out method monitoring

cordova-plugin-inappbrowser - npm

cordova-plugin-device 2.0.3 "Device"

Use the attributes of the global device object to obtain device information, and simply obtain device information

console.info print information

device.model //device.model returns the model or product name of the device. This value is set by the device manufacturer and may be different in different versions of the same product.

device.uuid //Get the universally unique identifier uuid of the device, for example: '78ca1fe2c1d3b584'

device.platform //Get the operating system name, for example: 'Android'

cordova-plugin-app-version 0.1.9 "AppVersion"

This plugin is used to get the version number of the development software

cordova-plugin-networkinterface 2.0.0 "NetworkInterface"

get wifi ip address

cordova-plugin-wechat 3.0.0 "Wechat" Login with WeChat is useless and needs to be cleaned up

Access WeChat login

cordova-plugin-cache-clear 1.3.7 "Cordova Cache Clear" No use for cleaning

Clear cache stored in android application using cordova webview , to use this plugin just call window.CacheClear(success,error)  

cordova-plugin-network-information 2.0.2 "Network Information" useless cleanup

Monitor network type changes

cordova-plugin-wkwebview-engine 1.2.2 "Cordova WKWebView Engine" is currently useless to clean up

This plugin makes Cordova use the WKWebView component instead of the default UIWebView component, and can only be installed on iOS9.0SDK systems.

In iOS9, Apple has fixed the problem in iOS8, that is, you cannot use file:/// to load locale files, you must use a local web server. However, if CORS is not enabled on the server, you still cannot use XHR from the file:// protocol

cordova-plugin-statusbar 2.4.3 "StatusBar" is currently useless to clean up

Realize the operation on the status bar of the mobile phone. The official document provides the operation of changing color, transparency, display and hiding, etc., which may be related to ios

cordova-plugin-x-toast 2.7.2 "Toast"

The local prompt floating box is intermittently invalid, and the pop-up box that dynamically applies for permissions will be interrupted. Useless cleaning

Guess you like

Origin blog.csdn.net/ly_xiamu/article/details/131635305