diff --git a/.prettierignore b/.prettierignore
index 885380d13..a2ecbec40 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -6,4 +6,5 @@ dist
CHANGELOG.md
.husky
.prettierignore
-LICENSE
\ No newline at end of file
+LICENSE
+docs/
diff --git a/docs/plugins/abbyy-rtr/README.md b/docs/plugins/abbyy-rtr/README.md
index 70588e6c2..3b4dfb3b8 100644
--- a/docs/plugins/abbyy-rtr/README.md
+++ b/docs/plugins/abbyy-rtr/README.md
@@ -20,3 +20,6 @@ ABBYY Real-Time Recognition SDK (RTR SDK) in apps.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/action-sheet/README.md b/docs/plugins/action-sheet/README.md
index 88c5e30e0..351361ee4 100644
--- a/docs/plugins/action-sheet/README.md
+++ b/docs/plugins/action-sheet/README.md
@@ -24,3 +24,6 @@ Requires Cordova plugin: `cordova-plugin-actionsheet`. For more info, please see
- iOS
- Windows
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/adjust/README.md b/docs/plugins/adjust/README.md
index 9c16df5af..2983b0db0 100644
--- a/docs/plugins/adjust/README.md
+++ b/docs/plugins/adjust/README.md
@@ -1,11 +1,10 @@
-
+
Improve this doc
-# Adjust
-
-```
-$ ionic cordova plugin add com.adjust.sdk
+# AdjustThirdPartySharing
+on
+ plugin add com.adjust.sdk
$ npm install @ionic-native/plugins/adjust
```
@@ -21,3 +20,6 @@ Requires Cordova plugin: `com.adjust.sdk`. For more info, please see the [Adjust
- Android
- iOS
+
+
+
diff --git a/docs/plugins/admob-plus/README.md b/docs/plugins/admob-plus/README.md
index e9d5472b0..1834d56de 100644
--- a/docs/plugins/admob-plus/README.md
+++ b/docs/plugins/admob-plus/README.md
@@ -13,10 +13,14 @@ $ npm install @ionic-native/plugins/admob-plus
Plugin Repo: [https://github.com/admob-plus/admob-plus](https://github.com/admob-plus/admob-plus)
+
+
## Supported platforms
- Android
- iOS
+
+
-admob-free, which provides a cleaner API and build with modern tools.
@@ -24,3 +28,6 @@ Plugin Repo: [https://github.com/admob-plus/admob-plus](https://github.com/admob
- Android
- iOS
+
+
+
diff --git a/docs/plugins/admob-pro/README.md b/docs/plugins/admob-pro/README.md
index 944ffb0cc..36a1870f1 100644
--- a/docs/plugins/admob-pro/README.md
+++ b/docs/plugins/admob-pro/README.md
@@ -22,3 +22,6 @@ IMPORTANT NOTICE: this plugin takes a percentage out of your earnings if you pro
- Android
- iOS
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/admob/README.md b/docs/plugins/admob/README.md
index 1bc9e00aa..830539545 100644
--- a/docs/plugins/admob/README.md
+++ b/docs/plugins/admob/README.md
@@ -16,8 +16,7 @@ Plugin Repo: [https://github.com/appfeel/admob-google-cordova](https://github.co
Most complete Admob plugin with support for [Tappx](http://www.tappx.com/?h=dec334d63287772de859bdb4e977fce6) ads.
Monetize your apps and games with AdMob ads, using latest Google AdMob SDK. With this plugin you can show AdMob ads easily!
-Supports:\*\*
-
+Supports:**
- Banner ads (top and bottom)
- Interstitial ads
- Rewarded ads
@@ -28,3 +27,6 @@ Supports:\*\*
- Android
- iOS
- Browser
+
+
+
diff --git a/docs/plugins/aes-256/README.md b/docs/plugins/aes-256/README.md
index b7e9659ad..403230132 100644
--- a/docs/plugins/aes-256/README.md
+++ b/docs/plugins/aes-256/README.md
@@ -21,3 +21,6 @@ The encryption and decryption are performed on the device native layer so that t
- Android
- iOS
+
+
+
diff --git a/docs/plugins/all-in-one-sdk/README.md b/docs/plugins/all-in-one-sdk/README.md
index d93b74d3f..b04faffba 100644
--- a/docs/plugins/all-in-one-sdk/README.md
+++ b/docs/plugins/all-in-one-sdk/README.md
@@ -22,3 +22,6 @@ For more information about Paytm All-in-One SDK, please visit https://developer.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/analytics-firebase/README.md b/docs/plugins/analytics-firebase/README.md
index 6a0af0a90..16b87be78 100644
--- a/docs/plugins/analytics-firebase/README.md
+++ b/docs/plugins/analytics-firebase/README.md
@@ -19,3 +19,6 @@ Google Analytics Firebase plugin for Ionic Native apps.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/android-exoplayer/README.md b/docs/plugins/android-exoplayer/README.md
index 7098a1a4a..bedadb21d 100644
--- a/docs/plugins/android-exoplayer/README.md
+++ b/docs/plugins/android-exoplayer/README.md
@@ -20,3 +20,6 @@ https://github.com/google/ExoPlayer
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/android-full-screen/README.md b/docs/plugins/android-full-screen/README.md
index 6b20203da..c0d033f21 100644
--- a/docs/plugins/android-full-screen/README.md
+++ b/docs/plugins/android-full-screen/README.md
@@ -20,3 +20,6 @@ In Android 4.4+, however, you can now enter true full screen, fully interactive
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/android-notch/README.md b/docs/plugins/android-notch/README.md
index 35c7b1bfb..269727e02 100644
--- a/docs/plugins/android-notch/README.md
+++ b/docs/plugins/android-notch/README.md
@@ -20,3 +20,6 @@ This plugin works on all android versions, but we can only detect notches starti
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/android-permissions/README.md b/docs/plugins/android-permissions/README.md
index 021835dbf..c57a56835 100644
--- a/docs/plugins/android-permissions/README.md
+++ b/docs/plugins/android-permissions/README.md
@@ -20,3 +20,6 @@ You can find all permissions here: https://developer.android.com/reference/andro
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/anyline/README.md b/docs/plugins/anyline/README.md
index f686602d3..1195a163e 100644
--- a/docs/plugins/anyline/README.md
+++ b/docs/plugins/anyline/README.md
@@ -19,3 +19,6 @@ Anyline provides an easy-to-use SDK for applications to enable Optical Character
- Android
- iOS
+
+
+
diff --git a/docs/plugins/app-availability/README.md b/docs/plugins/app-availability/README.md
index 811eee343..21a5b00c8 100644
--- a/docs/plugins/app-availability/README.md
+++ b/docs/plugins/app-availability/README.md
@@ -21,3 +21,6 @@ Requires Cordova plugin: cordova-plugin-appavailability. For more info, please s
- Android
- iOS
+
+
+
diff --git a/docs/plugins/app-center-analytics/README.md b/docs/plugins/app-center-analytics/README.md
index 4da7de2c3..ea660d15b 100644
--- a/docs/plugins/app-center-analytics/README.md
+++ b/docs/plugins/app-center-analytics/README.md
@@ -24,3 +24,6 @@ For more info, please see https://docs.microsoft.com/en-us/appcenter/sdk/analyti
- Android
- iOS
+
+
+
diff --git a/docs/plugins/app-center-crashes/README.md b/docs/plugins/app-center-crashes/README.md
index ccdbbc883..a6418168b 100644
--- a/docs/plugins/app-center-crashes/README.md
+++ b/docs/plugins/app-center-crashes/README.md
@@ -24,3 +24,6 @@ For more info, please see https://docs.microsoft.com/en-us/appcenter/sdk/crashes
- Android
- iOS
+
+
+
diff --git a/docs/plugins/app-center-low-memory/README.md b/docs/plugins/app-center-low-memory/README.md
index 3c73d5768..f06391087 100644
--- a/docs/plugins/app-center-low-memory/README.md
+++ b/docs/plugins/app-center-low-memory/README.md
@@ -20,3 +20,6 @@ For more info, please see: https://github.com/Microsoft/appcenter-sdk-cordova/tr
- Android
- iOS
+
+
+
diff --git a/docs/plugins/app-center-push/README.md b/docs/plugins/app-center-push/README.md
index a70772326..148388e2f 100644
--- a/docs/plugins/app-center-push/README.md
+++ b/docs/plugins/app-center-push/README.md
@@ -19,3 +19,6 @@ For more info, please see https://docs.microsoft.com/en-us/appcenter/sdk/push/co
- Android
- iOS
+
+
+
diff --git a/docs/plugins/app-center-shared/README.md b/docs/plugins/app-center-shared/README.md
index 10e7049c2..dc345a4d2 100644
--- a/docs/plugins/app-center-shared/README.md
+++ b/docs/plugins/app-center-shared/README.md
@@ -21,3 +21,6 @@ For more info, please see https://docs.microsoft.com/en-us/appcenter/sdk/other-a
- Android
- iOS
+
+
+
diff --git a/docs/plugins/app-preferences/README.md b/docs/plugins/app-preferences/README.md
index 4dbd0fe85..41f674f8b 100644
--- a/docs/plugins/app-preferences/README.md
+++ b/docs/plugins/app-preferences/README.md
@@ -24,3 +24,6 @@ This plugin allows you to read and write app preferences
- macOS
- Windows 8
- Windows Phone
+
+
+
diff --git a/docs/plugins/app-rate/README.md b/docs/plugins/app-rate/README.md
index af58cea4a..27a458c4e 100644
--- a/docs/plugins/app-rate/README.md
+++ b/docs/plugins/app-rate/README.md
@@ -23,3 +23,6 @@ Requires Cordova plugin: cordova-plugin-apprate. For more info, please see the [
- BlackBerry 10
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/app-version/README.md b/docs/plugins/app-version/README.md
index 220fe2df6..3de3ec083 100644
--- a/docs/plugins/app-version/README.md
+++ b/docs/plugins/app-version/README.md
@@ -22,3 +22,6 @@ Requires Cordova plugin: `cordova-plugin-app-version`. For more info, please see
- Android
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/apple-wallet/README.md b/docs/plugins/apple-wallet/README.md
index 370d86b76..71d6133d4 100644
--- a/docs/plugins/apple-wallet/README.md
+++ b/docs/plugins/apple-wallet/README.md
@@ -18,3 +18,6 @@ A Cordova plugin that enables users from Add Payment Cards to their Apple Wallet
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/approov-advanced-http/README.md b/docs/plugins/approov-advanced-http/README.md
index 5686f60c8..2a0bfb1a0 100644
--- a/docs/plugins/approov-advanced-http/README.md
+++ b/docs/plugins/approov-advanced-http/README.md
@@ -16,7 +16,6 @@ Plugin Repo: [https://github.com/approov/quickstart-ionic-advancedhttp](https://
Cordova / Phonegap plugin for communicating with HTTP servers. Supports iOS and Android.
Advantages over Javascript requests:
-
- SSL / TLS Pinning
- CORS restrictions do not apply
- Handling of HTTP code 401 - read more at [Issue CB-2415](https://issues.apache.org/jira/browse/CB-2415)
@@ -28,3 +27,6 @@ we have only added approov functionality on top of it. All credit goes to the ac
- Android
- iOS
+
+
+
diff --git a/docs/plugins/appsflyer/README.md b/docs/plugins/appsflyer/README.md
index ba2eee805..9adf7bd3d 100644
--- a/docs/plugins/appsflyer/README.md
+++ b/docs/plugins/appsflyer/README.md
@@ -19,3 +19,6 @@ Appsflyer Cordova SDK support for Attribution
- iOS
- Android
+
+
+
diff --git a/docs/plugins/background-fetch/README.md b/docs/plugins/background-fetch/README.md
index 0a760a562..744858d55 100644
--- a/docs/plugins/background-fetch/README.md
+++ b/docs/plugins/background-fetch/README.md
@@ -20,3 +20,6 @@ For more detail, please see https://github.com/transistorsoft/cordova-plugin-bac
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/background-geolocation/README.md b/docs/plugins/background-geolocation/README.md
index d3627819c..006b96c55 100644
--- a/docs/plugins/background-geolocation/README.md
+++ b/docs/plugins/background-geolocation/README.md
@@ -20,3 +20,6 @@ more detail, please see https://github.com/mauron85/cordova-plugin-background-ge
- Android
- iOS
+
+
+
diff --git a/docs/plugins/background-mode/README.md b/docs/plugins/background-mode/README.md
index 7e15a9ed9..061bc3f1c 100644
--- a/docs/plugins/background-mode/README.md
+++ b/docs/plugins/background-mode/README.md
@@ -23,3 +23,6 @@ Requires Cordova plugin: cordova-plugin-background-mode. For more info about plu
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/background-upload/README.md b/docs/plugins/background-upload/README.md
index 5f053ad48..0a11151f0 100644
--- a/docs/plugins/background-upload/README.md
+++ b/docs/plugins/background-upload/README.md
@@ -19,3 +19,6 @@ This plugin does something
- Android
- iOS
+
+
+
diff --git a/docs/plugins/badge/README.md b/docs/plugins/badge/README.md
index f3c888727..c508c094d 100644
--- a/docs/plugins/badge/README.md
+++ b/docs/plugins/badge/README.md
@@ -25,3 +25,6 @@ Android Note: Badges have historically only been a feature implemented by third
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/barcode-scanner/README.md b/docs/plugins/barcode-scanner/README.md
index ca1aeaca8..5e1707d1f 100644
--- a/docs/plugins/barcode-scanner/README.md
+++ b/docs/plugins/barcode-scanner/README.md
@@ -24,3 +24,6 @@ Requires Cordova plugin: `phonegap-plugin-barcodescanner`. For more info, please
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/battery-status/README.md b/docs/plugins/battery-status/README.md
index 3833c2762..bf4e6bcbc 100644
--- a/docs/plugins/battery-status/README.md
+++ b/docs/plugins/battery-status/README.md
@@ -21,3 +21,6 @@ Requires Cordova plugin: cordova-plugin-batterystatus. For more info, please see
- Android
- Windows
- Browser
+
+
+
diff --git a/docs/plugins/biocatch/README.md b/docs/plugins/biocatch/README.md
index b5455820e..19361eb17 100644
--- a/docs/plugins/biocatch/README.md
+++ b/docs/plugins/biocatch/README.md
@@ -19,3 +19,6 @@ BioCatch SDK Cordova support
- iOS
- Android
+
+
+
diff --git a/docs/plugins/biometric-wrapper/README.md b/docs/plugins/biometric-wrapper/README.md
index 81c7698bf..7a0f9b99f 100644
--- a/docs/plugins/biometric-wrapper/README.md
+++ b/docs/plugins/biometric-wrapper/README.md
@@ -19,3 +19,6 @@ May be used in Banking domain
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/ble/README.md b/docs/plugins/ble/README.md
index b82cbfd99..4d2e32dcb 100644
--- a/docs/plugins/ble/README.md
+++ b/docs/plugins/ble/README.md
@@ -31,3 +31,6 @@ Simultaneous connections to multiple peripherals are supported.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/blinkid/README.md b/docs/plugins/blinkid/README.md
index c99df493b..8f356d942 100644
--- a/docs/plugins/blinkid/README.md
+++ b/docs/plugins/blinkid/README.md
@@ -20,3 +20,6 @@ blinkid-phonegap repository for available recognizers and other settings
- iOS
- Android
+
+
+
diff --git a/docs/plugins/bluetooth-classic-serial-port/README.md b/docs/plugins/bluetooth-classic-serial-port/README.md
index 7616ad8e0..98c8bd597 100644
--- a/docs/plugins/bluetooth-classic-serial-port/README.md
+++ b/docs/plugins/bluetooth-classic-serial-port/README.md
@@ -20,3 +20,6 @@ This plugin is written using the iOS Accessory Framework (MFi) to support Classi
- Android
- iOS
- Browser
+
+
+
diff --git a/docs/plugins/bluetooth-le/README.md b/docs/plugins/bluetooth-le/README.md
index 25d828d61..447dc7157 100644
--- a/docs/plugins/bluetooth-le/README.md
+++ b/docs/plugins/bluetooth-le/README.md
@@ -21,3 +21,6 @@ It supports peripheral **and** central modes and covers most of the API methods
- Android
- iOS
+
+
+
diff --git a/docs/plugins/bluetooth-serial/README.md b/docs/plugins/bluetooth-serial/README.md
index 56fa73bbd..6027284a5 100644
--- a/docs/plugins/bluetooth-serial/README.md
+++ b/docs/plugins/bluetooth-serial/README.md
@@ -20,3 +20,6 @@ This plugin enables serial communication over Bluetooth. It was written for comm
- Android
- iOS
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/branch-io/README.md b/docs/plugins/branch-io/README.md
index cca55f17d..61f75bb63 100644
--- a/docs/plugins/branch-io/README.md
+++ b/docs/plugins/branch-io/README.md
@@ -19,3 +19,6 @@ Branch.io is an attribution service for deeplinking and invitation links
- iOS
- Android
+
+
+
diff --git a/docs/plugins/broadcaster/README.md b/docs/plugins/broadcaster/README.md
index 9607ea874..b8eeab666 100644
--- a/docs/plugins/broadcaster/README.md
+++ b/docs/plugins/broadcaster/README.md
@@ -20,3 +20,6 @@ This plugin adds exchanging events between native code and your app.
- Android
- iOS
- Browser
+
+
+
diff --git a/docs/plugins/build-info/README.md b/docs/plugins/build-info/README.md
index 3909ff2ed..4c17a3033 100644
--- a/docs/plugins/build-info/README.md
+++ b/docs/plugins/build-info/README.md
@@ -23,3 +23,6 @@ This plugin provides build information.
- macOS
- browser
- Electron
+
+
+
diff --git a/docs/plugins/calendar/README.md b/docs/plugins/calendar/README.md
index 37fd1f885..a3e78e4c1 100644
--- a/docs/plugins/calendar/README.md
+++ b/docs/plugins/calendar/README.md
@@ -21,3 +21,6 @@ Requires Cordova plugin: `cordova-plugin-calendar`. For more info, please see th
- Android
- iOS
+
+
+
diff --git a/docs/plugins/call-directory/README.md b/docs/plugins/call-directory/README.md
index 62fb7825b..d365bee0b 100644
--- a/docs/plugins/call-directory/README.md
+++ b/docs/plugins/call-directory/README.md
@@ -19,3 +19,6 @@ to process the changes in the call directory extension.
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/call-number/README.md b/docs/plugins/call-number/README.md
index 257433d85..30b49c3bc 100644
--- a/docs/plugins/call-number/README.md
+++ b/docs/plugins/call-number/README.md
@@ -14,9 +14,12 @@ $ npm install @ionic-native/plugins/call-number
Plugin Repo: [https://github.com/Rohfosho/CordovaCallNumberPlugin](https://github.com/Rohfosho/CordovaCallNumberPlugin)
Call a number directly from your Cordova/Ionic application.
-NOTE\*\*: The iOS Simulator (and maybe Android Simulators) do not provide access to the phone subsystem.
+NOTE**: The iOS Simulator (and maybe Android Simulators) do not provide access to the phone subsystem.
## Supported platforms
- Android
- iOS
+
+
+
diff --git a/docs/plugins/camera-preview/README.md b/docs/plugins/camera-preview/README.md
index 7009583bf..5a950d1e7 100644
--- a/docs/plugins/camera-preview/README.md
+++ b/docs/plugins/camera-preview/README.md
@@ -10,6 +10,7 @@
href="/issues">plugin repo.
+
```
$ ionic cordova plugin add cordova-plugin-camera-preview
$ npm install @ionic-native/plugins/camera-preview
@@ -27,3 +28,6 @@ Requires Cordova plugin: `https://github.com/cordova-plugin-camera-preview/cordo
- Android
- iOS
+
+
+
diff --git a/docs/plugins/camera/README.md b/docs/plugins/camera/README.md
index f47b7e62c..f61ac8672 100644
--- a/docs/plugins/camera/README.md
+++ b/docs/plugins/camera/README.md
@@ -18,13 +18,11 @@ Take a photo or capture video.
Requires the Cordova plugin: `cordova-plugin-camera`. For more info, please see the [Cordova Camera Plugin Docs](https://github.com/apache/cordova-plugin-camera).
[Warning] Since IOS 10 the camera requires permissions to be placed in your config.xml add
-
```xml
You can take photos
```
-
inside of the section
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/checkout/README.md b/docs/plugins/checkout/README.md
index e332d47e4..80d2d5ea3 100644
--- a/docs/plugins/checkout/README.md
+++ b/docs/plugins/checkout/README.md
@@ -19,3 +19,6 @@ Checkout.com cordova plugin
- Android
- iOS
+
+
+
diff --git a/docs/plugins/chooser/README.md b/docs/plugins/chooser/README.md
index f9476dbc7..68c0b639d 100644
--- a/docs/plugins/chooser/README.md
+++ b/docs/plugins/chooser/README.md
@@ -16,7 +16,6 @@ Plugin Repo: [https://github.com/cyph/cordova-plugin-chooser](https://github.com
File chooser plugin for Cordova.
The following must be added to config.xml to prevent crashing when selecting large files on Android:
-
```xml
```
@@ -52,17 +51,17 @@ Take note of the `id` for the next step:
You can also edit the `id` to whatever you'd like it to be.
#### iOS Install
-
Under 'Bundle ID', add the `id` from your `config.xml` file:
[](https://developers.facebook.com/apps/)
-#### Android Install
+#### Android Install
Under 'Google Play Package Name', add the `id` from your `config.xml` file:
[](https://developers.facebook.com/apps/)
+
And that's it! You can now make calls to Facebook using the plugin.
## Events
@@ -84,3 +83,6 @@ For tracking events, see `logEvent` and `logPurchase`.
- Android
- iOS
- Browser
+
+
+
diff --git a/docs/plugins/fcm/README.md b/docs/plugins/fcm/README.md
index 8284fadfe..b6d843294 100644
--- a/docs/plugins/fcm/README.md
+++ b/docs/plugins/fcm/README.md
@@ -19,3 +19,6 @@ Provides basic functionality for Firebase Cloud Messaging
- Android
- iOS
+
+
+
diff --git a/docs/plugins/file-opener/README.md b/docs/plugins/file-opener/README.md
index 6474e1b47..a1d0216d5 100644
--- a/docs/plugins/file-opener/README.md
+++ b/docs/plugins/file-opener/README.md
@@ -21,3 +21,6 @@ This plugin will open a file on your device file system with its default applica
- iOS
- Windows
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/file-path/README.md b/docs/plugins/file-path/README.md
index 75955cdcc..7a4acb278 100644
--- a/docs/plugins/file-path/README.md
+++ b/docs/plugins/file-path/README.md
@@ -18,3 +18,6 @@ This plugin allows you to resolve the native filesystem path for Android content
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/file-transfer/README.md b/docs/plugins/file-transfer/README.md
index c431dd155..93d263761 100644
--- a/docs/plugins/file-transfer/README.md
+++ b/docs/plugins/file-transfer/README.md
@@ -24,3 +24,6 @@ This plugin allows you to upload and download files.
- Ubuntu
- Windows
- Windows Phone
+
+
+
diff --git a/docs/plugins/file/README.md b/docs/plugins/file/README.md
index 0577a4cf6..9823c29e8 100644
--- a/docs/plugins/file/README.md
+++ b/docs/plugins/file/README.md
@@ -18,7 +18,6 @@ This plugin implements a File API allowing read/write access to files residing o
The File class implements static convenience functions to access files and directories.
Example:
-
```
import { File } from '@awesome-cordova-plugins/file/ngx';
@@ -31,11 +30,11 @@ this.file.checkDir(this.file.dataDirectory, 'mydir').then(_ => console.log('Dire
```
-This plugin is based on several specs, including : The HTML5 File API http: //www.w3.org/TR/FileAPI/
-The (now-defunct) Directories and System extensions Latest: http: //www.w3.org/TR/2012/WD-file-system-api-20120417/
-Although most of the plugin code was written when an earlier spec was current: http:
-//www.w3.org/TR/2011/WD-file-system-api-20110419/ It also implements the FileWriter spec : http:
-//dev.w3.org/2009/dap/file-system/file-writer.html
+ This plugin is based on several specs, including : The HTML5 File API http: //www.w3.org/TR/FileAPI/
+ The (now-defunct) Directories and System extensions Latest: http: //www.w3.org/TR/2012/WD-file-system-api-20120417/
+ Although most of the plugin code was written when an earlier spec was current: http:
+ //www.w3.org/TR/2011/WD-file-system-api-20110419/ It also implements the FileWriter spec : http:
+ //dev.w3.org/2009/dap/file-system/file-writer.html
## Supported platforms
@@ -44,3 +43,6 @@ Although most of the plugin code was written when an earlier spec was current: h
- iOS
- macOS
- Windows
+
+
+
diff --git a/docs/plugins/fingerprint-aio/README.md b/docs/plugins/fingerprint-aio/README.md
index 8c342e63a..f779d2c75 100644
--- a/docs/plugins/fingerprint-aio/README.md
+++ b/docs/plugins/fingerprint-aio/README.md
@@ -20,3 +20,6 @@ Requires Cordova plugin: cordova-plugin-fingerprint-aio. For more info about plu
- Android
- iOS
+
+
+
diff --git a/docs/plugins/firebase-analytics/README.md b/docs/plugins/firebase-analytics/README.md
index ce22a530a..077713a3a 100644
--- a/docs/plugins/firebase-analytics/README.md
+++ b/docs/plugins/firebase-analytics/README.md
@@ -10,6 +10,7 @@
href="/issues">plugin repo.
+
```
$ ionic cordova plugin add cordova-plugin-firebase-analytics
$ npm install @ionic-native/plugins/firebase-analytics
@@ -26,9 +27,7 @@ Go to firebase console and export google-services.json and GoogleService-Info.pl
NOTE: on iOS in order to collect demographic, age, gender data etc. you should additionally include AdSupport.framework into your project.
## Using capacitor?
-
-For Android you'll have to add in **android/app/src/main/AndroidManfiest.xml** under ``
-
+For Android you'll have to add in __android/app/src/main/AndroidManfiest.xml__ under ``
```
plugin repo.
+
```
$ ionic cordova plugin add cordova-plugin-firebase-config
$ npm install @ionic-native/plugins/firebase-config
@@ -25,3 +26,6 @@ Cordova plugin for Firebase Config
- Android
- iOS
+
+
+
diff --git a/docs/plugins/firebase-crash/README.md b/docs/plugins/firebase-crash/README.md
index 32ab26e9c..65858f24d 100644
--- a/docs/plugins/firebase-crash/README.md
+++ b/docs/plugins/firebase-crash/README.md
@@ -19,3 +19,6 @@ This plugin brings crash reporting from Google Firebase to your Cordova project!
- Android
- iOS
+
+
+
diff --git a/docs/plugins/firebase-crashlytics/README.md b/docs/plugins/firebase-crashlytics/README.md
index 9283b7b24..2bd6d0d76 100644
--- a/docs/plugins/firebase-crashlytics/README.md
+++ b/docs/plugins/firebase-crashlytics/README.md
@@ -19,3 +19,6 @@ A Google Firebase Crashlytics plugin to enable capture of crash reports.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/firebase-dynamic-links/README.md b/docs/plugins/firebase-dynamic-links/README.md
index bbda71e91..e09422476 100644
--- a/docs/plugins/firebase-dynamic-links/README.md
+++ b/docs/plugins/firebase-dynamic-links/README.md
@@ -10,6 +10,7 @@
href="/issues">plugin repo.
+
```
$ ionic cordova plugin add cordova-plugin-firebase-dynamiclinks --save --variable APP_DOMAIN="example.com" --variable APP_PATH="/"
$ npm install @ionic-native/plugins/firebase-dynamic-links
@@ -30,7 +31,6 @@ Preferences GoogleIOSClientId and GoogleAndroidClientId are used to setup dynami
You can find values at your GoogleService-Info.plist (key ANDROID_CLIENT_ID) and google-services.json (key client[0].oauth_client[0].client_id).
config.xml:
-
```xml
@@ -44,3 +44,6 @@ config.xml:
- Android
- iOS
+
+
+
diff --git a/docs/plugins/firebase-messaging/README.md b/docs/plugins/firebase-messaging/README.md
index f24239d5e..8eb8e08a7 100644
--- a/docs/plugins/firebase-messaging/README.md
+++ b/docs/plugins/firebase-messaging/README.md
@@ -10,6 +10,7 @@
href="/issues">plugin repo.
+
```
$ ionic cordova plugin add cordova-plugin-firebase-messaging
$ npm install @ionic-native/plugins/firebase-messaging
@@ -25,3 +26,6 @@ Cordova plugin for Firebase Messaging
- Android
- iOS
+
+
+
diff --git a/docs/plugins/firebase-vision/README.md b/docs/plugins/firebase-vision/README.md
index 6a7bc59ba..25aaa5796 100644
--- a/docs/plugins/firebase-vision/README.md
+++ b/docs/plugins/firebase-vision/README.md
@@ -19,3 +19,6 @@ Cordova plugin for Firebase MLKit Vision
- Android
- iOS
+
+
+
diff --git a/docs/plugins/firebase-x/README.md b/docs/plugins/firebase-x/README.md
index 9b73ac105..050ed1887 100644
--- a/docs/plugins/firebase-x/README.md
+++ b/docs/plugins/firebase-x/README.md
@@ -20,3 +20,6 @@ It is a maintained fork from unmaintained ionic-navite plugin called Firebase.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/firebase/README.md b/docs/plugins/firebase/README.md
index b628a0676..521cf0037 100644
--- a/docs/plugins/firebase/README.md
+++ b/docs/plugins/firebase/README.md
@@ -19,3 +19,6 @@ This plugin brings push notifications, analytics, event tracking, crash reportin
- Android
- iOS
+
+
+
diff --git a/docs/plugins/flashlight/README.md b/docs/plugins/flashlight/README.md
index c0ade7346..b226d3efc 100644
--- a/docs/plugins/flashlight/README.md
+++ b/docs/plugins/flashlight/README.md
@@ -22,3 +22,6 @@ Requires Cordova plugin: `cordova-plugin-flashlight`. For more info, please see
- Android
- iOS
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/foreground-service/README.md b/docs/plugins/foreground-service/README.md
index 01d686dbb..16e6b15b9 100644
--- a/docs/plugins/foreground-service/README.md
+++ b/docs/plugins/foreground-service/README.md
@@ -17,7 +17,7 @@ This plugin allows for android devices to continue running services in the backg
foreground ongoing notification. This is targeted towards use with plugins such as
'cordova-geolocation' that will not run while the app is in the background on android API 26+.
-For android API 28+, the following xml snippet should be inserted into `config.xml`:
+For android API 28+, the following xml snippet should be inserted into ```config.xml```:
```
...
@@ -31,3 +31,6 @@ For android API 28+, the following xml snippet should be inserted into `config.x
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/ftp/README.md b/docs/plugins/ftp/README.md
index 46d9c5539..6f825f74b 100644
--- a/docs/plugins/ftp/README.md
+++ b/docs/plugins/ftp/README.md
@@ -19,3 +19,6 @@ This cordova plugin is created to use ftp (client) in web/js.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/gao-de-location/README.md b/docs/plugins/gao-de-location/README.md
index e6a40dccf..0ffe0dd46 100644
--- a/docs/plugins/gao-de-location/README.md
+++ b/docs/plugins/gao-de-location/README.md
@@ -20,3 +20,6 @@ Gaode location can directly return address informationGaode location can directl
- Android
- iOS
+
+
+
diff --git a/docs/plugins/ge-tui-sdk-plugin/README.md b/docs/plugins/ge-tui-sdk-plugin/README.md
index 96dd5794b..e513812a4 100644
--- a/docs/plugins/ge-tui-sdk-plugin/README.md
+++ b/docs/plugins/ge-tui-sdk-plugin/README.md
@@ -19,3 +19,6 @@ This plugin does something
- Android
- iOS
+
+
+
diff --git a/docs/plugins/geolocation/README.md b/docs/plugins/geolocation/README.md
index b553a3bfa..882b2f89c 100644
--- a/docs/plugins/geolocation/README.md
+++ b/docs/plugins/geolocation/README.md
@@ -15,10 +15,9 @@ Plugin Repo: [https://github.com/apache/cordova-plugin-geolocation](https://gith
This plugin provides information about the device's location, such as latitude and longitude. Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs.
-This API is based on the W3C Geolocation API Specification, and only executes on devices that don't already provide an implementation.
+ This API is based on the W3C Geolocation API Specification, and only executes on devices that don't already provide an implementation.
For iOS you have to add this configuration to your configuration.xml file
-
```xml
We use your location for full functionality of certain app features.
@@ -32,3 +31,6 @@ For iOS you have to add this configuration to your configuration.xml file
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/globalization/README.md b/docs/plugins/globalization/README.md
index 175f4a5e2..ef27a45dd 100644
--- a/docs/plugins/globalization/README.md
+++ b/docs/plugins/globalization/README.md
@@ -22,3 +22,6 @@ This plugin obtains information and performs operations specific to the user's l
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/google-analytics/README.md b/docs/plugins/google-analytics/README.md
index 62711c726..702b60966 100644
--- a/docs/plugins/google-analytics/README.md
+++ b/docs/plugins/google-analytics/README.md
@@ -15,7 +15,6 @@ Plugin Repo: [https://github.com/danwilson/google-analytics-plugin](https://gith
This plugin connects to Google's native Universal Analytics SDK
Prerequisites:
-
- A Cordova 3.0+ project for iOS and/or Android
- A Mobile App property through the Google Analytics Admin Console
- (Android) Google Play Services SDK installed via [Android SDK Manager](https://developer.android.com/sdk/installing/adding-packages.html)
@@ -26,3 +25,6 @@ Prerequisites:
- Browser
- iOS
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/google-nearby/README.md b/docs/plugins/google-nearby/README.md
index ae8d4e8a8..f314f66ea 100644
--- a/docs/plugins/google-nearby/README.md
+++ b/docs/plugins/google-nearby/README.md
@@ -18,3 +18,6 @@ This plugin adds support for the Google Nearby Messages API.
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/google-plus/README.md b/docs/plugins/google-plus/README.md
index e08b0cc2a..42606b805 100644
--- a/docs/plugins/google-plus/README.md
+++ b/docs/plugins/google-plus/README.md
@@ -13,7 +13,12 @@ $ npm install @ionic-native/plugins/google-plus
Plugin Repo: [https://github.com/EddyVerbruggen/cordova-plugin-googleplus](https://github.com/EddyVerbruggen/cordova-plugin-googleplus)
+
+
## Supported platforms
- Android
- iOS
+
+
+
diff --git a/docs/plugins/header-color/README.md b/docs/plugins/header-color/README.md
index 506aa1a44..419331109 100644
--- a/docs/plugins/header-color/README.md
+++ b/docs/plugins/header-color/README.md
@@ -18,3 +18,6 @@ Cordova plugin to change color of header in Android Multitask View
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/health-kit/README.md b/docs/plugins/health-kit/README.md
index a0046ad34..834a8d3c3 100644
--- a/docs/plugins/health-kit/README.md
+++ b/docs/plugins/health-kit/README.md
@@ -19,3 +19,6 @@ Any data saved shows up in the iOS Health app and is available for other iOS app
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/health/README.md b/docs/plugins/health/README.md
index 79decc101..bb91716ed 100644
--- a/docs/plugins/health/README.md
+++ b/docs/plugins/health/README.md
@@ -19,3 +19,6 @@ A plugin that abstracts fitness and health repositories like Apple HealthKit or
- Android
- iOS
+
+
+
diff --git a/docs/plugins/http/README.md b/docs/plugins/http/README.md
index 4b1ecd652..0dc0bdc47 100644
--- a/docs/plugins/http/README.md
+++ b/docs/plugins/http/README.md
@@ -16,7 +16,6 @@ Plugin Repo: [https://github.com/silkimen/cordova-plugin-advanced-http](https://
Cordova / Phonegap plugin for communicating with HTTP servers. Supports iOS and Android.
Advantages over Javascript requests:
-
- SSL / TLS Pinning
- CORS restrictions do not apply
- Handling of HTTP code 401 - read more at [Issue CB-2415](https://issues.apache.org/jira/browse/CB-2415)
@@ -25,3 +24,6 @@ Advantages over Javascript requests:
- Android
- iOS
+
+
+
diff --git a/docs/plugins/hyper-track/README.md b/docs/plugins/hyper-track/README.md
index 855474d98..4e7249ce7 100644
--- a/docs/plugins/hyper-track/README.md
+++ b/docs/plugins/hyper-track/README.md
@@ -3,11 +3,9 @@
# Coordinates
-
alidationError
ic cordova plugin add cordova-plugin-hypertrack-v3
$ npm install @ionic-native/plugins/hyper-track
-
```
## [Usage Documentation](https://ionicframework.com/docs/native/hyper-track/)
@@ -19,7 +17,6 @@ Plugin Repo: [https://github.com/hypertrack/cordova-plugin-hypertrack.git](https
## Supported platforms
- Android, iOS
+
-
-```
diff --git a/docs/plugins/iamport-cordova/README.md b/docs/plugins/iamport-cordova/README.md
index de531107b..369413dc3 100644
--- a/docs/plugins/iamport-cordova/README.md
+++ b/docs/plugins/iamport-cordova/README.md
@@ -19,3 +19,6 @@ This plugin does something
- ios
- android
+
+
+
diff --git a/docs/plugins/ibeacon/README.md b/docs/plugins/ibeacon/README.md
index d8273d9dc..ddb19dfcd 100644
--- a/docs/plugins/ibeacon/README.md
+++ b/docs/plugins/ibeacon/README.md
@@ -15,9 +15,12 @@ Plugin Repo: [https://github.com/petermetz/cordova-plugin-ibeacon](https://githu
This plugin provides functions for working with iBeacons.
-The plugin's API closely mimics the one exposed through the [CLLocationManager](https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/index.html) introduced in iOS 7.
+ The plugin's API closely mimics the one exposed through the [CLLocationManager](https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/index.html) introduced in iOS 7.
## Supported platforms
- Android
- iOS
+
+
+
diff --git a/docs/plugins/image-picker/README.md b/docs/plugins/image-picker/README.md
index cebdd04b1..4fac4e91d 100644
--- a/docs/plugins/image-picker/README.md
+++ b/docs/plugins/image-picker/README.md
@@ -22,3 +22,6 @@ For more info, please see the https://github.com/Telerik-Verified-Plugins/ImageP
- Android
- iOS
+
+
+
diff --git a/docs/plugins/imap/README.md b/docs/plugins/imap/README.md
index afb02e1b6..0748d7811 100644
--- a/docs/plugins/imap/README.md
+++ b/docs/plugins/imap/README.md
@@ -21,3 +21,6 @@ Planned improvements and support for iOS.
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/in-app-browser/README.md b/docs/plugins/in-app-browser/README.md
index 5ca4801db..3879e1f80 100644
--- a/docs/plugins/in-app-browser/README.md
+++ b/docs/plugins/in-app-browser/README.md
@@ -23,3 +23,6 @@ Launches in app Browser
- iOS
- macOS
- Windows
+
+
+
diff --git a/docs/plugins/in-app-purchase-2/README.md b/docs/plugins/in-app-purchase-2/README.md
index 57445b7f3..846f28b22 100644
--- a/docs/plugins/in-app-purchase-2/README.md
+++ b/docs/plugins/in-app-purchase-2/README.md
@@ -17,29 +17,32 @@ In-App Purchase on iOS, Android, Windows, macOS and XBox.
## Features
-| | ios | android | win-8 | win-10/uwp | mac |
-| -------------------- | --- | ------- | ----- | ---------- | --- |
-| consumables | ✅ | ✅ | ✅ | ✅ | ✅ |
-| non consumables | ✅ | ✅ | ✅ | ✅ | ✅ |
-| subscriptions | ✅ | ✅ | ✅ | ✅ | ✅ |
-| restore purchases | ✅ | ✅ | ✅ | ✅ | ✅ |
-| receipt validations | ✅ | ✅ | | ✅ | ✅ |
-| downloadable content | ✅ | | | | ✅ |
-| introductory prices | ✅ | ✅ | | ✅ | ✅ |
+| | ios | android | win-8 | win-10/uwp | mac |
+|--|--|--|--|--|--|
+| consumables | ✅ | ✅ | ✅ | ✅ | ✅ |
+| non consumables | ✅ | ✅ | ✅ | ✅ | ✅ |
+| subscriptions | ✅ | ✅ | ✅ | ✅ | ✅ |
+| restore purchases | ✅ | ✅ | ✅ | ✅ | ✅ |
+| receipt validations | ✅ | ✅ | | ✅ | ✅ |
+| downloadable content | ✅ | | | | ✅ |
+| introductory prices | ✅ | ✅ | | ✅ | ✅ |
Supports:
-- **iOS** version 7.0 or higher.
-- **Android** version 2.2 (API level 8) or higher
- - with Google Play client version 3.9.16 or higher
-- **Windows** Store/Phone 8.1 or higher
-- **Windows 10 Mobile**
-- **macOS** version 10
-- **Xbox One**
- - (and any platform supporting Microsoft's UWP)
+ - **iOS** version 7.0 or higher.
+ - **Android** version 2.2 (API level 8) or higher
+ - with Google Play client version 3.9.16 or higher
+ - **Windows** Store/Phone 8.1 or higher
+ - **Windows 10 Mobile**
+ - **macOS** version 10
+ - **Xbox One**
+ - (and any platform supporting Microsoft's UWP)
## Supported platforms
- iOS
- Android
- Windows
+
+
+
diff --git a/docs/plugins/in-app-review/README.md b/docs/plugins/in-app-review/README.md
index 437ae81e7..333cd6036 100644
--- a/docs/plugins/in-app-review/README.md
+++ b/docs/plugins/in-app-review/README.md
@@ -20,3 +20,6 @@ This functionality only works on iOS devices
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/in-app-update/README.md b/docs/plugins/in-app-update/README.md
index d95eb48fa..821862351 100644
--- a/docs/plugins/in-app-update/README.md
+++ b/docs/plugins/in-app-update/README.md
@@ -18,3 +18,6 @@ This pluging enabels In app update For cordova.
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/insomnia/README.md b/docs/plugins/insomnia/README.md
index 3aead17a7..14e9d01b9 100644
--- a/docs/plugins/insomnia/README.md
+++ b/docs/plugins/insomnia/README.md
@@ -23,3 +23,6 @@ Prevent the screen of the mobile device from falling asleep.
- iOS
- Windows
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/instagram/README.md b/docs/plugins/instagram/README.md
index 2937298b1..ef1f7913b 100644
--- a/docs/plugins/instagram/README.md
+++ b/docs/plugins/instagram/README.md
@@ -19,3 +19,6 @@ Share a photo with the instagram app
- Android
- iOS
+
+
+
diff --git a/docs/plugins/intercom/README.md b/docs/plugins/intercom/README.md
index ee5fcb68d..1f5c8cd08 100644
--- a/docs/plugins/intercom/README.md
+++ b/docs/plugins/intercom/README.md
@@ -20,3 +20,6 @@ Follow the offical documentation to setup this plugin correctly: https://develop
- Android
- iOS
+
+
+
diff --git a/docs/plugins/ionic-webview/README.md b/docs/plugins/ionic-webview/README.md
index 61565358f..4ab6c1742 100644
--- a/docs/plugins/ionic-webview/README.md
+++ b/docs/plugins/ionic-webview/README.md
@@ -21,3 +21,6 @@ Requires the Cordova plugin: `cordova-plugin-ionic-webview` > 2.0. For more info
- Android
- iOS
+
+
+
diff --git a/docs/plugins/ios-aswebauthenticationsession-api/README.md b/docs/plugins/ios-aswebauthenticationsession-api/README.md
index 6faaac883..2f05f0d01 100644
--- a/docs/plugins/ios-aswebauthenticationsession-api/README.md
+++ b/docs/plugins/ios-aswebauthenticationsession-api/README.md
@@ -18,3 +18,6 @@ Plugin for iOS 12 ASWebAuthenticationSession API
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/is-debug/README.md b/docs/plugins/is-debug/README.md
index 1e2e06ec5..b1d38c51a 100644
--- a/docs/plugins/is-debug/README.md
+++ b/docs/plugins/is-debug/README.md
@@ -20,3 +20,6 @@ Debug mode is when the app is built and installed locally via xcode / eclipse /
- Android
- iOS
+
+
+
diff --git a/docs/plugins/keyboard/README.md b/docs/plugins/keyboard/README.md
index 266fd6a1e..5ba171312 100644
--- a/docs/plugins/keyboard/README.md
+++ b/docs/plugins/keyboard/README.md
@@ -21,3 +21,6 @@ Requires Cordova plugin: `cordova-plugin-ionic-keyboard`. For more info, please
- Android
- iOS
+
+
+
diff --git a/docs/plugins/keychain/README.md b/docs/plugins/keychain/README.md
index 04a3d5207..7b093f8c5 100644
--- a/docs/plugins/keychain/README.md
+++ b/docs/plugins/keychain/README.md
@@ -22,3 +22,6 @@ See also [Secure Storage](https://ionicframework.com/docs/native/secure-storage/
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/kommunicate/README.md b/docs/plugins/kommunicate/README.md
index 9333ddd21..fec79649c 100644
--- a/docs/plugins/kommunicate/README.md
+++ b/docs/plugins/kommunicate/README.md
@@ -23,3 +23,6 @@ For documentation: TODO: insert link
- Android
- Browser
- iOS
+
+
+
diff --git a/docs/plugins/launch-navigator/README.md b/docs/plugins/launch-navigator/README.md
index f31a284a3..fccadd437 100644
--- a/docs/plugins/launch-navigator/README.md
+++ b/docs/plugins/launch-navigator/README.md
@@ -21,3 +21,6 @@ Requires Cordova plugin: uk.co.workingedge.phonegap.plugin.launchnavigator. For
- iOS
- Windows
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/launch-review/README.md b/docs/plugins/launch-review/README.md
index b7eb80019..248a344df 100644
--- a/docs/plugins/launch-review/README.md
+++ b/docs/plugins/launch-review/README.md
@@ -14,7 +14,6 @@ $ npm install @ionic-native/plugins/launch-review
Plugin Repo: [https://github.com/dpa99c/cordova-launch-review](https://github.com/dpa99c/cordova-launch-review)
Assists in leaving user reviews/ratings in the App Stores.
-
- Launches the platform's App Store page for the current app in order for the user to leave a review.
- On iOS (10.3 and above) invokes the native in-app rating dialog which allows a user to rate your app without needing to open the App Store.
@@ -22,3 +21,6 @@ Assists in leaving user reviews/ratings in the App Stores.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/line-login/README.md b/docs/plugins/line-login/README.md
index 6edd6b62e..e582064b1 100644
--- a/docs/plugins/line-login/README.md
+++ b/docs/plugins/line-login/README.md
@@ -19,3 +19,6 @@ The function login, logs out, acquires, verifies, and refreshes the access token
- Android
- iOS
+
+
+
diff --git a/docs/plugins/local-backup/README.md b/docs/plugins/local-backup/README.md
index dd45aa502..269764123 100644
--- a/docs/plugins/local-backup/README.md
+++ b/docs/plugins/local-backup/README.md
@@ -19,3 +19,6 @@ This plugin to create local backup
- Android
- iOS
+
+
+
diff --git a/docs/plugins/local-notifications/README.md b/docs/plugins/local-notifications/README.md
index eeb5c17af..3779986b4 100644
--- a/docs/plugins/local-notifications/README.md
+++ b/docs/plugins/local-notifications/README.md
@@ -20,3 +20,6 @@ This plugin allows you to display local notifications on the device
- Android
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/location-accuracy/README.md b/docs/plugins/location-accuracy/README.md
index b1df15340..67a8b0a15 100644
--- a/docs/plugins/location-accuracy/README.md
+++ b/docs/plugins/location-accuracy/README.md
@@ -19,3 +19,6 @@ This Cordova/Phonegap plugin for Android and iOS to request enabling/changing of
- Android
- iOS
+
+
+
diff --git a/docs/plugins/lottie-splash-screen/README.md b/docs/plugins/lottie-splash-screen/README.md
index 818415e0f..efedb860e 100644
--- a/docs/plugins/lottie-splash-screen/README.md
+++ b/docs/plugins/lottie-splash-screen/README.md
@@ -19,3 +19,6 @@ Cordova plugin to show bodymovin/Lottie animations as the splash screen with Air
- Android
- iOS
+
+
+
diff --git a/docs/plugins/media-capture/README.md b/docs/plugins/media-capture/README.md
index b2ebcd350..9f727eb00 100644
--- a/docs/plugins/media-capture/README.md
+++ b/docs/plugins/media-capture/README.md
@@ -23,3 +23,6 @@ Requires Cordova plugin: `cordova-plugin-media-capture`. For more info, please s
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/media/README.md b/docs/plugins/media/README.md
index 91d2ec081..01b573a89 100644
--- a/docs/plugins/media/README.md
+++ b/docs/plugins/media/README.md
@@ -21,3 +21,6 @@ This plugin provides the ability to record and play back audio files on a device
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/metrix/README.md b/docs/plugins/metrix/README.md
index 8202d2d36..9b47a2c94 100644
--- a/docs/plugins/metrix/README.md
+++ b/docs/plugins/metrix/README.md
@@ -1,10 +1,9 @@
-
+
Improve this doc
-# Metrix
+# MetrixConfig
-```
$ ionic cordova plugin add ir.metrix.sdk
$ npm install @ionic-native/plugins/metrix
```
@@ -20,3 +19,6 @@ Requires Cordova plugin: `ir.metrix.sdk`. For more info, please see the [Metrix
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/mixpanel/README.md b/docs/plugins/mixpanel/README.md
index e914beaf1..c7837663f 100644
--- a/docs/plugins/mixpanel/README.md
+++ b/docs/plugins/mixpanel/README.md
@@ -20,3 +20,6 @@ Cordova Plugin that wraps Mixpanel SDK for Android and iOS
- Android
- Browser
- iOS
+
+
+
diff --git a/docs/plugins/mlkit-translate/README.md b/docs/plugins/mlkit-translate/README.md
index 1a723188e..c699225d2 100644
--- a/docs/plugins/mlkit-translate/README.md
+++ b/docs/plugins/mlkit-translate/README.md
@@ -19,3 +19,6 @@ Plugin that implements MLKit Translation and Language Identification features.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/mobile-messaging/README.md b/docs/plugins/mobile-messaging/README.md
index d6c52099d..067f9fc61 100644
--- a/docs/plugins/mobile-messaging/README.md
+++ b/docs/plugins/mobile-messaging/README.md
@@ -23,3 +23,6 @@ For more info see [Cordova plugin docs](https://github.com/infobip/mobile-messag
- Android
- iOS
+
+
+
diff --git a/docs/plugins/multiple-document-picker/README.md b/docs/plugins/multiple-document-picker/README.md
index eb52cb997..059c8e3a7 100644
--- a/docs/plugins/multiple-document-picker/README.md
+++ b/docs/plugins/multiple-document-picker/README.md
@@ -19,3 +19,6 @@ This plugin allows users to pick multiple documents/images at once
- Android
- iOS
+
+
+
diff --git a/docs/plugins/music-controls/README.md b/docs/plugins/music-controls/README.md
index 09ebc3336..3c1cbe09d 100644
--- a/docs/plugins/music-controls/README.md
+++ b/docs/plugins/music-controls/README.md
@@ -22,3 +22,6 @@ Handle also headset event (plug, unplug, headset button).
- Android
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/native-audio/README.md b/docs/plugins/native-audio/README.md
index 4912c5016..eb6704d18 100644
--- a/docs/plugins/native-audio/README.md
+++ b/docs/plugins/native-audio/README.md
@@ -20,3 +20,6 @@ Native Audio Playback
- Android
- Browser
- iOS
+
+
+
diff --git a/docs/plugins/native-geocoder/README.md b/docs/plugins/native-geocoder/README.md
index f88892e29..165230a56 100644
--- a/docs/plugins/native-geocoder/README.md
+++ b/docs/plugins/native-geocoder/README.md
@@ -19,3 +19,6 @@ Cordova plugin for native forward and reverse geocoding
- iOS
- Android
+
+
+
diff --git a/docs/plugins/native-keyboard/README.md b/docs/plugins/native-keyboard/README.md
index acf52698a..8242970c0 100644
--- a/docs/plugins/native-keyboard/README.md
+++ b/docs/plugins/native-keyboard/README.md
@@ -19,3 +19,6 @@ A cross platform WhatsApp / Messenger / Slack -style keyboard even. For your Cor
- Android
- iOS
+
+
+
diff --git a/docs/plugins/native-page-transitions/README.md b/docs/plugins/native-page-transitions/README.md
index 385b38744..4afdfa6c2 100644
--- a/docs/plugins/native-page-transitions/README.md
+++ b/docs/plugins/native-page-transitions/README.md
@@ -20,3 +20,6 @@ The Native Page Transitions plugin uses native hardware acceleration to animate
- Android
- iOS
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/native-storage/README.md b/docs/plugins/native-storage/README.md
index 2b4b217d5..b69c00701 100644
--- a/docs/plugins/native-storage/README.md
+++ b/docs/plugins/native-storage/README.md
@@ -22,3 +22,6 @@ Native storage of variables in Android and iOS
- iOS
- macOS
- Windows
+
+
+
diff --git a/docs/plugins/native-view/README.md b/docs/plugins/native-view/README.md
index 2c0c91189..59dd4817d 100644
--- a/docs/plugins/native-view/README.md
+++ b/docs/plugins/native-view/README.md
@@ -13,7 +13,12 @@ $ npm install @ionic-native/plugins/native-view
Plugin Repo: [https://github.com/mfdeveloper/cordova-plugin-nativeview](https://github.com/mfdeveloper/cordova-plugin-nativeview)
+
+
## Supported platforms
- Android
- iOS
+
+
+
diff --git a/docs/plugins/network-interface/README.md b/docs/plugins/network-interface/README.md
index 3b30810d9..49cf4c315 100644
--- a/docs/plugins/network-interface/README.md
+++ b/docs/plugins/network-interface/README.md
@@ -23,3 +23,6 @@ Network interface information plugin for Cordova/PhoneGap that supports Android,
- iOS
- Windows
- Windows Phone
+
+
+
diff --git a/docs/plugins/network/README.md b/docs/plugins/network/README.md
index 8eeffa956..a3b141992 100644
--- a/docs/plugins/network/README.md
+++ b/docs/plugins/network/README.md
@@ -22,3 +22,6 @@ Requires Cordova plugin: cordova-plugin-network-information. For more info, plea
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/nfc/README.md b/docs/plugins/nfc/README.md
index 6511d0e4d..95a7997fb 100644
--- a/docs/plugins/nfc/README.md
+++ b/docs/plugins/nfc/README.md
@@ -1,12 +1,11 @@
-
+
Improve this doc
-# TextHelper
+# UriHelper
onic cordova plugin add phonegap-nfc
$ npm install @ionic-native/plugins/nfc
-
```
## [Usage Documentation](https://ionicframework.com/docs/native/nfc/)
@@ -28,7 +27,6 @@ This plugin uses NDEF (NFC Data Exchange Format) for maximum compatibilty betwee
- Android
- iOS
- Windows
+
-
-```
diff --git a/docs/plugins/ocr/README.md b/docs/plugins/ocr/README.md
index 30f9b9522..ef744a6bc 100644
--- a/docs/plugins/ocr/README.md
+++ b/docs/plugins/ocr/README.md
@@ -22,3 +22,6 @@ For more info, please see the following Github issue [Google Mobile Vision relyi
- Android
- iOS
+
+
+
diff --git a/docs/plugins/onesignal/README.md b/docs/plugins/onesignal/README.md
index 9a65bff36..150dd7642 100644
--- a/docs/plugins/onesignal/README.md
+++ b/docs/plugins/onesignal/README.md
@@ -20,13 +20,11 @@ Please view the official [OneSignal Ionic SDK Installation](https://documentatio
for more information.
#### Icons
-
If you want to use generated icons with command `ionic cordova resources`:
1. Add a file to your `hooks` directory called `copy_android_notification_icons.js`
2. Configure the hook in your config.xml
-
```
@@ -81,7 +79,7 @@ module.exports = function(context) {
```
3. From the root of your project make the file executable:
- `$ chmod +x hooks/copy_android_notification_icons.js`
+`$ chmod +x hooks/copy_android_notification_icons.js`
## Supported platforms
@@ -89,3 +87,6 @@ module.exports = function(context) {
- Android
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/open-native-settings/README.md b/docs/plugins/open-native-settings/README.md
index 93d1b351a..88b25e640 100644
--- a/docs/plugins/open-native-settings/README.md
+++ b/docs/plugins/open-native-settings/README.md
@@ -19,3 +19,6 @@ Plugin to open native screens of iOS/android settings
- Android
- iOS
+
+
+
diff --git a/docs/plugins/openalpr/README.md b/docs/plugins/openalpr/README.md
index 8aaedc8f4..0046ff742 100644
--- a/docs/plugins/openalpr/README.md
+++ b/docs/plugins/openalpr/README.md
@@ -19,3 +19,6 @@ This Cordova plugin adds support for the OpenALPR (Automatic License Plate Recog
- Android
- iOS
+
+
+
diff --git a/docs/plugins/paytabs/README.md b/docs/plugins/paytabs/README.md
index f8bc8228f..36103acff 100644
--- a/docs/plugins/paytabs/README.md
+++ b/docs/plugins/paytabs/README.md
@@ -19,3 +19,6 @@ A plugin that allows you to use PayTabs's Native SDKs for Android and iOS.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/pdf-generator/README.md b/docs/plugins/pdf-generator/README.md
index 78a56941a..8b885d7fd 100644
--- a/docs/plugins/pdf-generator/README.md
+++ b/docs/plugins/pdf-generator/README.md
@@ -19,3 +19,6 @@ Simple plugin to generate (offline) pdf. The plugin transforms HTML to PDF and a
- Android
- iOS
+
+
+
diff --git a/docs/plugins/photo-library/README.md b/docs/plugins/photo-library/README.md
index a376dc8cc..8c41ee435 100644
--- a/docs/plugins/photo-library/README.md
+++ b/docs/plugins/photo-library/README.md
@@ -22,3 +22,6 @@ cdvphotolibrary urls should be trusted by Angular. See plugin homepage to learn
- Android
- Browser
- iOS
+
+
+
diff --git a/docs/plugins/photo-viewer/README.md b/docs/plugins/photo-viewer/README.md
index 6f1a5e17f..a6f765484 100644
--- a/docs/plugins/photo-viewer/README.md
+++ b/docs/plugins/photo-viewer/README.md
@@ -19,3 +19,6 @@ This plugin can display your image in full screen with the ability to pan, zoom,
- Android
- iOS
+
+
+
diff --git a/docs/plugins/play-install-referrer/README.md b/docs/plugins/play-install-referrer/README.md
index d44a7e305..87e9966d6 100644
--- a/docs/plugins/play-install-referrer/README.md
+++ b/docs/plugins/play-install-referrer/README.md
@@ -13,6 +13,11 @@ $ npm install @ionic-native/plugins/play-install-referrer
Plugin Repo: [https://github.com/swayangjit/cordova-plugin-play-installreferrer](https://github.com/swayangjit/cordova-plugin-play-installreferrer)
+
+
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/pollfish/README.md b/docs/plugins/pollfish/README.md
index 82a64cd6a..040e02608 100644
--- a/docs/plugins/pollfish/README.md
+++ b/docs/plugins/pollfish/README.md
@@ -19,3 +19,6 @@ Pollfish Ionic Native plugin wrapper
- Android
- iOS
+
+
+
diff --git a/docs/plugins/power-optimization/README.md b/docs/plugins/power-optimization/README.md
index 6d193d786..be13c368a 100644
--- a/docs/plugins/power-optimization/README.md
+++ b/docs/plugins/power-optimization/README.md
@@ -19,3 +19,6 @@ The Power Optimization plugin give you android PowerManager methods with cordova
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/preview-any-file/README.md b/docs/plugins/preview-any-file/README.md
index 213fb7b60..ba98c9e6d 100644
--- a/docs/plugins/preview-any-file/README.md
+++ b/docs/plugins/preview-any-file/README.md
@@ -13,7 +13,12 @@ $ npm install @ionic-native/plugins/preview-any-file
Plugin Repo: [https://github.com/mostafa-mansour1/previewAnyFile](https://github.com/mostafa-mansour1/previewAnyFile)
+
+
## Supported platforms
- Android
- iOS
+
+
+
diff --git a/docs/plugins/printer/README.md b/docs/plugins/printer/README.md
index 29a7158ac..d4226f69f 100644
--- a/docs/plugins/printer/README.md
+++ b/docs/plugins/printer/README.md
@@ -20,3 +20,6 @@ Prints documents or HTML rendered content
- Android
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/pspdfkit-cordova/README.md b/docs/plugins/pspdfkit-cordova/README.md
index 7fb38745f..177745f6b 100644
--- a/docs/plugins/pspdfkit-cordova/README.md
+++ b/docs/plugins/pspdfkit-cordova/README.md
@@ -19,3 +19,6 @@ The official plugin to use PSPDFKit with Cordova and Ionic.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/purchases/README.md b/docs/plugins/purchases/README.md
index c374703f8..9c08725fb 100644
--- a/docs/plugins/purchases/README.md
+++ b/docs/plugins/purchases/README.md
@@ -16,7 +16,6 @@ Plugin Repo: [https://github.com/RevenueCat/cordova-plugin-purchases](https://gi
Purchases is a cross platform solution for managing in-app subscriptions. A backend is also provided via [RevenueCat](https://www.revenuecat.com)
## Features
-
| | RevenueCat |
| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ✅ | Server-side receipt validation |
@@ -25,8 +24,8 @@ Purchases is a cross platform solution for managing in-app subscriptions. A back
| 📊 | Analytics - automatic calculation of metrics like conversion, mrr, and churn |
| 📝 | [Online documentation](https://docs.revenuecat.com/docs) up to date |
| 🔀 | [Integrations](https://www.revenuecat.com/integrations) - over a dozen integrations to easily send purchase data where you need it |
-| 💯 | Well maintained - [frequent releases](https://github.com/RevenueCat/cordova-plugin-purchases/releases) |
-| 📮 | Great support - [Help Center](https://revenuecat.zendesk.com) |
+| 💯 | Well maintained - [frequent releases](https://github.com/RevenueCat/cordova-plugin-purchases/releases) |
+| 📮 | Great support - [Help Center](https://revenuecat.zendesk.com) |
| 🤩 | Awesome [new features](https://trello.com/b/RZRnWRbI/revenuecat-product-roadmap) |
## Getting Started
@@ -37,3 +36,6 @@ For more detailed information, you can view our complete documentation at [docs.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/push/README.md b/docs/plugins/push/README.md
index c4950db7e..dcd23d03b 100644
--- a/docs/plugins/push/README.md
+++ b/docs/plugins/push/README.md
@@ -25,3 +25,6 @@ For TypeScript users, see the [Push plugin docs about using TypeScript for custo
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/pushape-push/README.md b/docs/plugins/pushape-push/README.md
index a7d91d0db..cda330c1b 100644
--- a/docs/plugins/pushape-push/README.md
+++ b/docs/plugins/pushape-push/README.md
@@ -27,3 +27,6 @@ For TypeScript users, see the [Pushape plugin docs about using TypeScript for cu
- Android
- Browser
- iOS
+
+
+
diff --git a/docs/plugins/safari-view-controller/README.md b/docs/plugins/safari-view-controller/README.md
index d2da666ef..e5414329d 100644
--- a/docs/plugins/safari-view-controller/README.md
+++ b/docs/plugins/safari-view-controller/README.md
@@ -21,3 +21,6 @@ Requires Cordova plugin: `cordova-plugin-safariviewcontroller`. For more info, p
- Android
- iOS
+
+
+
diff --git a/docs/plugins/screen-orientation/README.md b/docs/plugins/screen-orientation/README.md
index 7721c3a16..4d3269456 100644
--- a/docs/plugins/screen-orientation/README.md
+++ b/docs/plugins/screen-orientation/README.md
@@ -22,3 +22,6 @@ Requires Cordova plugin: `cordova-plugin-screen-orientation`. For more info, ple
- Android
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/secure-storage-echo/README.md b/docs/plugins/secure-storage-echo/README.md
index 64c199b18..26f02aa01 100644
--- a/docs/plugins/secure-storage-echo/README.md
+++ b/docs/plugins/secure-storage-echo/README.md
@@ -25,3 +25,6 @@ The browser platform is supported as a mock only. Key/values are stored unencryp
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/secure-storage/README.md b/docs/plugins/secure-storage/README.md
index de3ab2acf..7aa1b064f 100644
--- a/docs/plugins/secure-storage/README.md
+++ b/docs/plugins/secure-storage/README.md
@@ -25,3 +25,6 @@ The browser platform is supported as a mock only. Key/values are stored unencryp
- Browser
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/service-discovery/README.md b/docs/plugins/service-discovery/README.md
index 8b448148f..fdc02b847 100644
--- a/docs/plugins/service-discovery/README.md
+++ b/docs/plugins/service-discovery/README.md
@@ -19,3 +19,6 @@ Simple plugin to get any SSDP / UPnP / DLNA service on a local network
- Android
- iOS
+
+
+
diff --git a/docs/plugins/shake/README.md b/docs/plugins/shake/README.md
index 292ce786f..b6f49b8df 100644
--- a/docs/plugins/shake/README.md
+++ b/docs/plugins/shake/README.md
@@ -18,3 +18,6 @@ Handles shake gesture
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/sign-in-with-apple/README.md b/docs/plugins/sign-in-with-apple/README.md
index 4d3f1f4c7..2a23113cb 100644
--- a/docs/plugins/sign-in-with-apple/README.md
+++ b/docs/plugins/sign-in-with-apple/README.md
@@ -18,8 +18,11 @@ Instead of filling out forms, verifying email addresses, and choosing new passwo
they can use Sign in with Apple to set up an account and start using your app right away.
All accounts are protected with two-factor authentication for superior security,
and Apple will not track users’ activity in your app or website.
-Source:\* https://developer.apple.com/sign-in-with-apple/
+Source:* https://developer.apple.com/sign-in-with-apple/
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/smartlook/README.md b/docs/plugins/smartlook/README.md
index 45530a724..e65b355dc 100644
--- a/docs/plugins/smartlook/README.md
+++ b/docs/plugins/smartlook/README.md
@@ -1,12 +1,10 @@
-
+
Improve this doc
-# SmartlookGlobalEventPropertyKey
-
-lugin add https://github.com/smartlook/cordova-smartlook.git
+# SmartlookTimedCustomEventStart
+plugin add https://github.com/smartlook/cordova-smartlook.git
$ npm install @ionic-native/plugins/smartlook
-
```
## [Usage Documentation](https://ionicframework.com/docs/native/smartlook/)
@@ -20,7 +18,6 @@ Full documentation can be found here: https://smartlook.github.io/docs/sdk/ionic
- Android
- iOS
+
-
-```
diff --git a/docs/plugins/sms-retriever/README.md b/docs/plugins/sms-retriever/README.md
index 2ef2fa51c..d5915ea07 100644
--- a/docs/plugins/sms-retriever/README.md
+++ b/docs/plugins/sms-retriever/README.md
@@ -18,3 +18,6 @@ This plugin retrives the SMS which arrive without requiring READ permissions.
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/sms/README.md b/docs/plugins/sms/README.md
index c509ca7f4..f342a63ab 100644
--- a/docs/plugins/sms/README.md
+++ b/docs/plugins/sms/README.md
@@ -21,3 +21,6 @@ Requires Cordova plugin: cordova-sms-plugin. For more info, please see the [SMS
- iOS
- Windows
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/social-sharing/README.md b/docs/plugins/social-sharing/README.md
index fe5b0362c..5965818f4 100644
--- a/docs/plugins/social-sharing/README.md
+++ b/docs/plugins/social-sharing/README.md
@@ -24,3 +24,6 @@ For Browser usage check out the Web Share API docs: https://github.com/EddyVerbr
- iOS
- Windows
- Windows Phone
+
+
+
diff --git a/docs/plugins/speech-recognition/README.md b/docs/plugins/speech-recognition/README.md
index c1a679c39..ac0224c67 100644
--- a/docs/plugins/speech-recognition/README.md
+++ b/docs/plugins/speech-recognition/README.md
@@ -19,3 +19,6 @@ This plugin does speech recognition using cloud services
- Android
- iOS
+
+
+
diff --git a/docs/plugins/spinner-dialog/README.md b/docs/plugins/spinner-dialog/README.md
index 11abc82d9..da1d87a9e 100644
--- a/docs/plugins/spinner-dialog/README.md
+++ b/docs/plugins/spinner-dialog/README.md
@@ -23,3 +23,6 @@ Requires Cordova plugin: `cordova-plugin-native-spinner`. For more info, please
- iOS
- Windows Phone 8
- Windows
+
+
+
diff --git a/docs/plugins/splash-screen/README.md b/docs/plugins/splash-screen/README.md
index 411d2699a..66365e6ba 100644
--- a/docs/plugins/splash-screen/README.md
+++ b/docs/plugins/splash-screen/README.md
@@ -21,3 +21,6 @@ This plugin displays and hides a splash screen during application launch. The me
- Android
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/spotify-auth/README.md b/docs/plugins/spotify-auth/README.md
index f07f8000a..6756a76d1 100644
--- a/docs/plugins/spotify-auth/README.md
+++ b/docs/plugins/spotify-auth/README.md
@@ -14,10 +14,12 @@ $ npm install @ionic-native/plugins/spotify-auth
Plugin Repo: [https://github.com/Festify/cordova-spotify-oauth](https://github.com/Festify/cordova-spotify-oauth)
Cordova plugin for authenticating with Spotify
-
> https://github.com/Festify/cordova-spotify-oauth
## Supported platforms
- Android
- iOS
+
+
+
diff --git a/docs/plugins/sqlite-db-copy/README.md b/docs/plugins/sqlite-db-copy/README.md
index f88ff5436..649df6970 100644
--- a/docs/plugins/sqlite-db-copy/README.md
+++ b/docs/plugins/sqlite-db-copy/README.md
@@ -19,3 +19,6 @@ This plugin does something
- Android
- iOS
+
+
+
diff --git a/docs/plugins/sqlite-porter/README.md b/docs/plugins/sqlite-porter/README.md
index 21dd5df7b..c8c782045 100644
--- a/docs/plugins/sqlite-porter/README.md
+++ b/docs/plugins/sqlite-porter/README.md
@@ -25,3 +25,6 @@ This Cordova/Phonegap plugin can be used to import/export to/from a SQLite datab
- Tizen
- Windows
- Windows Phone
+
+
+
diff --git a/docs/plugins/sqlite/README.md b/docs/plugins/sqlite/README.md
index 4fc5cdd84..42b03ca44 100644
--- a/docs/plugins/sqlite/README.md
+++ b/docs/plugins/sqlite/README.md
@@ -21,3 +21,6 @@ Access SQLite databases on the device.
- iOS
- macOS
- Windows
+
+
+
diff --git a/docs/plugins/star-prnt/README.md b/docs/plugins/star-prnt/README.md
index 4b2baebcc..6b0a2abed 100644
--- a/docs/plugins/star-prnt/README.md
+++ b/docs/plugins/star-prnt/README.md
@@ -19,3 +19,6 @@ Ionic Native wrappers for the starprnt cordova plugin for Star Micronics Bluetoo
- Android
- iOS
+
+
+
diff --git a/docs/plugins/status-bar/README.md b/docs/plugins/status-bar/README.md
index 1ae6413d5..7440092ec 100644
--- a/docs/plugins/status-bar/README.md
+++ b/docs/plugins/status-bar/README.md
@@ -22,3 +22,6 @@ Requires Cordova plugin: `cordova-plugin-statusbar`. For more info, please see t
- Android
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/streaming-media/README.md b/docs/plugins/streaming-media/README.md
index 45b18b6cb..69e61bc78 100644
--- a/docs/plugins/streaming-media/README.md
+++ b/docs/plugins/streaming-media/README.md
@@ -20,3 +20,6 @@ This plugin allows you to stream audio and video in a fullscreen, native player
- Amazon Fire OS
- Android
- iOS
+
+
+
diff --git a/docs/plugins/stripe/README.md b/docs/plugins/stripe/README.md
index ffd401cec..71b5273ed 100644
--- a/docs/plugins/stripe/README.md
+++ b/docs/plugins/stripe/README.md
@@ -20,3 +20,6 @@ A plugin that allows you to use Stripe's Native SDKs for Android and iOS.
- Android
- Browser
- iOS
+
+
+
diff --git a/docs/plugins/sum-up/README.md b/docs/plugins/sum-up/README.md
index b8ae06d87..b6f430bce 100644
--- a/docs/plugins/sum-up/README.md
+++ b/docs/plugins/sum-up/README.md
@@ -19,3 +19,6 @@ Plugin to communicate with a SumUp payment terminal
- Android
- iOS
+
+
+
diff --git a/docs/plugins/system-alert-window-permission/README.md b/docs/plugins/system-alert-window-permission/README.md
index 12440dda4..a59d77824 100644
--- a/docs/plugins/system-alert-window-permission/README.md
+++ b/docs/plugins/system-alert-window-permission/README.md
@@ -18,3 +18,6 @@ This plugin does something
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/taptic-engine/README.md b/docs/plugins/taptic-engine/README.md
index a3da1cc9c..cd43835d1 100644
--- a/docs/plugins/taptic-engine/README.md
+++ b/docs/plugins/taptic-engine/README.md
@@ -18,3 +18,6 @@ An Ionic plugin to use Taptic Engine API on iPhone 7, 7 Plus or newer.
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/tealium-adidentifier/README.md b/docs/plugins/tealium-adidentifier/README.md
index d4938eb25..68661eb15 100644
--- a/docs/plugins/tealium-adidentifier/README.md
+++ b/docs/plugins/tealium-adidentifier/README.md
@@ -20,3 +20,6 @@ Makes the IDFA and Google Ad Identifier available in the Tealium data layer.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/tealium-installreferrer/README.md b/docs/plugins/tealium-installreferrer/README.md
index 6bb701cc7..dee46876d 100644
--- a/docs/plugins/tealium-installreferrer/README.md
+++ b/docs/plugins/tealium-installreferrer/README.md
@@ -19,3 +19,6 @@ Implements a Broadcast Receiver for the INSTALL_REFERRER intent.
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/tealium/README.md b/docs/plugins/tealium/README.md
index 4aa16c55d..d036998bf 100644
--- a/docs/plugins/tealium/README.md
+++ b/docs/plugins/tealium/README.md
@@ -21,3 +21,6 @@ For full documentation, see [https://community.tealiumiq.com/t5/Mobile-Libraries
- Android
- iOS
+
+
+
diff --git a/docs/plugins/text-to-speech-advanced/README.md b/docs/plugins/text-to-speech-advanced/README.md
index 788df3640..7550bf055 100644
--- a/docs/plugins/text-to-speech-advanced/README.md
+++ b/docs/plugins/text-to-speech-advanced/README.md
@@ -19,3 +19,6 @@ Text to Speech plugin
- Android
- iOS
+
+
+
diff --git a/docs/plugins/theme-detection/README.md b/docs/plugins/theme-detection/README.md
index a47bcfae6..c8c756c56 100644
--- a/docs/plugins/theme-detection/README.md
+++ b/docs/plugins/theme-detection/README.md
@@ -10,6 +10,7 @@
href="/issues">plugin repo.
+
```
$ cordova plugin add cordova-plugin-theme-detection
$ npm install @ionic-native/plugins/theme-detection
@@ -25,3 +26,6 @@ Cordova plugin to detect whether dark mode is enabled or not
- iOS
- Android
+
+
+
diff --git a/docs/plugins/three-dee-touch/README.md b/docs/plugins/three-dee-touch/README.md
index 19a3cdaed..fa1404a52 100644
--- a/docs/plugins/three-dee-touch/README.md
+++ b/docs/plugins/three-dee-touch/README.md
@@ -20,3 +20,6 @@ Requires Cordova plugin: `cordova-plugin-3dtouch`. For more info, please see the
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/toast/README.md b/docs/plugins/toast/README.md
index 503a25cbc..65f392ab7 100644
--- a/docs/plugins/toast/README.md
+++ b/docs/plugins/toast/README.md
@@ -24,3 +24,6 @@ Requires Cordova plugin: `cordova-plugin-x-toast`. For more info, please see the
- iOS
- Windows
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/touch-id/README.md b/docs/plugins/touch-id/README.md
index e5ea7b82c..d5ce4a1ab 100644
--- a/docs/plugins/touch-id/README.md
+++ b/docs/plugins/touch-id/README.md
@@ -20,3 +20,6 @@ Requires Cordova plugin: `cordova-plugin-touch-id`. For more info, please see th
## Supported platforms
- iOS
+
+
+
diff --git a/docs/plugins/unvired-cordova-sdk/README.md b/docs/plugins/unvired-cordova-sdk/README.md
index 1e56e3b1b..50892fb8c 100644
--- a/docs/plugins/unvired-cordova-sdk/README.md
+++ b/docs/plugins/unvired-cordova-sdk/README.md
@@ -1,12 +1,10 @@
-
+
Improve this doc
-# AuthenticateLocalResult
-
-$ ionic cordova plugin add @awesome-cordova-plugins/unvired-cordova-sdk
+# AuthenticateActivateResult
+ionic cordova plugin add @awesome-cordova-plugins/unvired-cordova-sdk
$ npm install @ionic-native/plugins/unvired-cordova-sdk
-
```
## [Usage Documentation](https://ionicframework.com/docs/native/unvired-cordova-sdk/)
@@ -19,21 +17,17 @@ iOS Requirements
-
Update your Cocoapods repo before you install the plugin.
```
-
$ pod repo update
-
```
-
Browser Requirements
-
After you install the plugin, for Ionic/Angular projects, please add a reference to the following JS files within section of index.html.
```
-
-
```
## Supported platforms
@@ -42,7 +36,6 @@ After you install the plugin, for Ionic/Angular projects, please add a reference
- Android
- Windows
- Browser
+
-
-```
diff --git a/docs/plugins/uptime/README.md b/docs/plugins/uptime/README.md
index 9bc41ad20..2dd8c03a0 100644
--- a/docs/plugins/uptime/README.md
+++ b/docs/plugins/uptime/README.md
@@ -19,3 +19,6 @@ This plugin provides the time spent in milliseconds since boot (uptime).
- Android
- iOS
+
+
+
diff --git a/docs/plugins/urbanairship/README.md b/docs/plugins/urbanairship/README.md
index bc75aa137..e44965de9 100644
--- a/docs/plugins/urbanairship/README.md
+++ b/docs/plugins/urbanairship/README.md
@@ -19,3 +19,6 @@ This plugin does something
- Android
- iOS
+
+
+
diff --git a/docs/plugins/usabilla-cordova-sdk/README.md b/docs/plugins/usabilla-cordova-sdk/README.md
index 59bfdaf1d..c812d0076 100644
--- a/docs/plugins/usabilla-cordova-sdk/README.md
+++ b/docs/plugins/usabilla-cordova-sdk/README.md
@@ -22,3 +22,6 @@ For more info see [Cordova plugin docs](https://github.com/usabilla/usabilla-u4a
- Android
- iOS
+
+
+
diff --git a/docs/plugins/vibes/README.md b/docs/plugins/vibes/README.md
index 735f89f60..61974b4af 100644
--- a/docs/plugins/vibes/README.md
+++ b/docs/plugins/vibes/README.md
@@ -19,3 +19,6 @@ This plugin enables integration with the Vibes Push SDK to your Cordova project
- Android
- iOS
+
+
+
diff --git a/docs/plugins/vibration/README.md b/docs/plugins/vibration/README.md
index 7a20c07c9..36ff0ceb1 100644
--- a/docs/plugins/vibration/README.md
+++ b/docs/plugins/vibration/README.md
@@ -20,3 +20,6 @@ Vibrates the device
- Android
- iOS
- Windows
+
+
+
diff --git a/docs/plugins/video-editor/README.md b/docs/plugins/video-editor/README.md
index ef25e6543..4923e54dd 100644
--- a/docs/plugins/video-editor/README.md
+++ b/docs/plugins/video-editor/README.md
@@ -21,3 +21,6 @@ Edit videos using native device APIs
- iOS
- Windows
- Windows Phone 8
+
+
+
diff --git a/docs/plugins/video-player/README.md b/docs/plugins/video-player/README.md
index 03f4849db..a9226c519 100644
--- a/docs/plugins/video-player/README.md
+++ b/docs/plugins/video-player/README.md
@@ -20,3 +20,6 @@ Requires Cordova plugin: `com.moust.cordova.videoplayer`. For more info, please
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/web-intent/README.md b/docs/plugins/web-intent/README.md
index 10eccf4b2..c9cc7abf8 100644
--- a/docs/plugins/web-intent/README.md
+++ b/docs/plugins/web-intent/README.md
@@ -18,3 +18,6 @@ This Plugin provides a general purpose shim layer for the Android intent mechani
## Supported platforms
- Android
+
+
+
diff --git a/docs/plugins/web-server/README.md b/docs/plugins/web-server/README.md
index e5ff918ec..79f315c34 100644
--- a/docs/plugins/web-server/README.md
+++ b/docs/plugins/web-server/README.md
@@ -19,3 +19,6 @@ This plugin allows you to start a local dynamic content web server for android a
- Android
- iOS
+
+
+
diff --git a/docs/plugins/web-socket-server/README.md b/docs/plugins/web-socket-server/README.md
index 070f33890..1abf914c8 100644
--- a/docs/plugins/web-socket-server/README.md
+++ b/docs/plugins/web-socket-server/README.md
@@ -19,3 +19,6 @@ This plugin allows you to run a single, lightweight, barebone WebSocket Server.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/webengage/README.md b/docs/plugins/webengage/README.md
index f9a7c99b9..410cf8890 100644
--- a/docs/plugins/webengage/README.md
+++ b/docs/plugins/webengage/README.md
@@ -19,3 +19,6 @@ Awesome Cordova Plugins wrapper that wraps Webengage Cordova plugin for Android
- Android
- iOS
+
+
+
diff --git a/docs/plugins/wechat/README.md b/docs/plugins/wechat/README.md
index a5599872d..719c87298 100644
--- a/docs/plugins/wechat/README.md
+++ b/docs/plugins/wechat/README.md
@@ -19,3 +19,6 @@ A cordova plugin, a JS version of Wechat SDK
- Android
- iOS
+
+
+
diff --git a/docs/plugins/wheel-selector/README.md b/docs/plugins/wheel-selector/README.md
index 5b5f0a621..d028624b9 100644
--- a/docs/plugins/wheel-selector/README.md
+++ b/docs/plugins/wheel-selector/README.md
@@ -10,6 +10,7 @@
href="/issues">plugin repo.
+
```
$ ionic cordova plugin add cordova-wheel-selector-plugin
$ npm install @ionic-native/plugins/wheel-selector
@@ -25,3 +26,6 @@ Native wheel selector for Cordova (Android/iOS).
- Android
- iOS
+
+
+
diff --git a/docs/plugins/wifi-wizard-2/README.md b/docs/plugins/wifi-wizard-2/README.md
index 2c89874a8..65a2875c1 100644
--- a/docs/plugins/wifi-wizard-2/README.md
+++ b/docs/plugins/wifi-wizard-2/README.md
@@ -21,3 +21,6 @@ This project is a fork of the WifiWizard plugin with fixes and updates, as well
- Android
- iOS
+
+
+
diff --git a/docs/plugins/wonderpush/README.md b/docs/plugins/wonderpush/README.md
index 631b5bef9..5d3966f5d 100644
--- a/docs/plugins/wonderpush/README.md
+++ b/docs/plugins/wonderpush/README.md
@@ -5,7 +5,7 @@
# Push Notifications - WonderPush
```
-$ ionic cordova plugin add wonderpush-cordova-sdk --variable CLIENT_ID=YOUR_CLIENT_ID --variable CLIENT_SECRET=YOUR_CLIENT_SECRET
+$ ionic cordova plugin add wonderpush-cordova-sdk --variable CLIENT_ID=YOUR_CLIENT_ID --variable CLIENT_SECRET=YOUR_CLIENT_SECRET
$ npm install @ionic-native/plugins/wonderpush
```
@@ -28,3 +28,6 @@ to retain your users and grow your audience while remaining fully GDPR compliant
- Android
- iOS
+
+
+
diff --git a/docs/plugins/youtube-video-player/README.md b/docs/plugins/youtube-video-player/README.md
index 7902f2467..4f6a28a11 100644
--- a/docs/plugins/youtube-video-player/README.md
+++ b/docs/plugins/youtube-video-player/README.md
@@ -19,3 +19,6 @@ Plays YouTube videos in Native YouTube App
- Android
- iOS
+
+
+
diff --git a/docs/plugins/zbar/README.md b/docs/plugins/zbar/README.md
index afa351299..0296a3c66 100644
--- a/docs/plugins/zbar/README.md
+++ b/docs/plugins/zbar/README.md
@@ -21,3 +21,6 @@ Requires Cordova plugin: `cordova-plugin-cszbar`. For more info, please see the
- Android
- iOS
+
+
+
diff --git a/docs/plugins/zeroconf/README.md b/docs/plugins/zeroconf/README.md
index de0cb1421..d53cb9864 100644
--- a/docs/plugins/zeroconf/README.md
+++ b/docs/plugins/zeroconf/README.md
@@ -19,3 +19,6 @@ This plugin allows you to browse and publish Zeroconf/Bonjour/mDNS services.
- Android
- iOS
+
+
+
diff --git a/docs/plugins/zoom/README.md b/docs/plugins/zoom/README.md
index 0ca26e997..23c8f484f 100644
--- a/docs/plugins/zoom/README.md
+++ b/docs/plugins/zoom/README.md
@@ -19,3 +19,6 @@ A Cordova plugin to use Zoom Video Conferencing services on Cordova applications
- Android
- iOS
+
+
+
diff --git a/scripts/docs/config.json b/scripts/docs/config.json
index 9ab67f05d..4949e63a5 100644
--- a/scripts/docs/config.json
+++ b/scripts/docs/config.json
@@ -1,6 +1,4 @@
{
- "sitePath": "../ionic-site",
"v2DocsDir": "docs/native",
- "docsDest": "../ionic-site/content/docs/native",
"pluginDir": "dist/@awesome-cordova-plugins/plugins"
}
diff --git a/scripts/docs/prepare.sh b/scripts/docs/prepare.sh
deleted file mode 100755
index d6382ff20..000000000
--- a/scripts/docs/prepare.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-echo "##### "
-echo "##### prepare.sh"
-echo "#####"
-
-
-function init {
- cd ..
- SITE_PATH=$(readJsonProp "config.json" "sitePath")
- cd ..
- export IONIC_DIR=$PWD
- SITE_DIR=$IONIC_DIR/$SITE_PATH
-}
-
-function run {
-
- if [ ! -d "$SITE_DIR" ]; then
- echo "checking out"
- cd ./scripts
- ./git/clone.sh --repository="ionic-site" \
- --directory="$SITE_DIR" \
- --branch="master"
- cd $SITE_DIR
- ls -al
- else
- echo "using existing"
- cd $SITE_DIR
- git reset --hard
- git pull origin master
- fi
-
- git rm -rf content/docs/native/*/ || true
-
-}
-
-source $(dirname $0)/utils.inc.sh
diff --git a/scripts/docs/update_docs.sh b/scripts/docs/update_docs.sh
deleted file mode 100755
index 7324aebca..000000000
--- a/scripts/docs/update_docs.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-
-echo "##### "
-echo "##### ci/update_docs.sh"
-echo "#####"
-
-
-function init {
- cd ..
- SITE_PATH=$(readJsonProp "config.json" "sitePath")
- cd ..
- export IONIC_DIR=$PWD
- SITE_DIR=$IONIC_DIR/$SITE_PATH
-}
-
-function run {
-
- VERSION=$(readJsonProp "package.json" "version")
-
- # process new docs
- ./node_modules/.bin/gulp docs
-
- # CD in to the site dir to commit updated docs
- cd $SITE_DIR
-
- # Add all files to git
- git add .
-
- # if no changes, don't commit
- CHANGED=$(git diff-index --name-only HEAD 2>/dev/null | wc -l)
- if [ $CHANGED -eq 0 ];
- then
- echo "-- No changes detected for the following commit, docs not updated."
- echo "https://github.com/ionic-team/$GITHUB_PROJECT_REPONAME/commit/$GITHUB_SHA1"
- else
- git config --global user.email "hi@ionicframework.com"
- git config --global user.name "Ionitron"
- git commit -am "Automated build of native docs ionic-team/$GITHUB_PROJECT_REPONAME@$GITHUB_SHA1"
- # in case a different commit was pushed to ionic-site during doc/demo gen,
- # try to rebase around it before pushing
- git fetch
- git rebase
-
- git push origin master || :
-
- echo "-- Updated docs for $VERSION_NAME succesfully!"
- fi
-}
-
-source $(dirname $0)/utils.inc.sh
diff --git a/scripts/docs/update_readmes.sh b/scripts/docs/update_readmes.sh
deleted file mode 100755
index b51ca3fee..000000000
--- a/scripts/docs/update_readmes.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-echo "##### "
-echo "##### ci/update_docs.sh"
-echo "#####"
-
-
-function init {
- cd ../..
-}
-
-function run {
- # process new docs
- ./node_modules/.bin/gulp readmes
-
- # if no changes, don't commit
- CHANGED=$(git diff-index --name-only HEAD --)
- if [ -z "$CHANGED" ];
- then
- echo "-- No changes detected for the following commit, docs not updated."
- echo "https://github.com/ionic-team/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1"
- else
- git config --global user.email "hi@ionicframework.com"
- git config --global user.name "Ionitron"
- git add -A
- git commit -am "Automated build of native readmes for ionic-team/$CIRCLE_PROJECT_REPONAME@$CIRCLE_SHA1"
- # in case a different commit was pushed to ionic-site during doc/demo gen,
- # try to rebase around it before pushing
- git fetch
- git rebase
-
- # git push origin master || :
-
- echo "-- Updated docs for $VERSION_NAME successfully!"
- fi
-}
-
-source $(dirname $0)/../utils.inc.sh
diff --git a/scripts/docs/utils.inc.sh b/scripts/docs/utils.inc.sh
deleted file mode 100644
index e91144bbd..000000000
--- a/scripts/docs/utils.inc.sh
+++ /dev/null
@@ -1,241 +0,0 @@
-# bash utils from angularjs
-# This file provides:
-# - a default control flow
-# * initializes the environment
-# * call a function in your script based on the arguments
-# - named argument parsing and automatic generation of the "usage" for your script
-# - utility functions
-#
-# Usage:
-# - define the variable ARGS_DEF (see below) with the arguments for your script
-# - include this file using `source utils.inc` at the end of your script.
-#
-# Default control flow:
-# 0. Set the current directory to the directory of the script. By this
-# the script can be called from anywhere.
-# 1. Parse the named arguments
-# 2. [Redacted]
-# 3. If the parameter "verbose" is set, the `-x` flag will be set in bash.
-# 4. The function "init" will be called if it exists
-# 5. If the parameter "action" is set, it will call the function with the name of that parameter.
-# Otherwise the function "run" will be called.
-#
-# Named Argument Parsing:
-# - The variable ARGS_DEF defines the valid command arguments
-# * Required args syntax: --paramName=paramRegex
-# * Optional args syntax: [--paramName=paramRegex]
-# * e.g. ARG_DEFS=("--required_param=(.+)" "[--optional_param=(.+)]")
-# - Checks that:
-# * all arguments match to an entry in ARGS_DEF
-# * all required arguments are present
-# * all arguments match their regex
-# - Afterwards, every paramter value will be stored in a variable
-# with the name of the parameter in upper case (with dash converted to underscore).
-#
-# Special arguments that are always available:
-# - "--action=.*": This parameter will be used to dispatch to a function with that name when the
-# script is started
-# - "--verbose=true": This will set the `-x` flag in bash so that all calls will be logged
-#
-# Utility functions:
-# - readJsonProp
-# - replaceJsonProp
-# - resolveDir
-# - getVar
-# - serVar
-# - isFunction
-# always stop on errors
-set -e
-
-function usage {
- echo "Usage: ${0} ${ARG_DEFS[@]}"
- exit 1
-}
-
-
-function parseArgs {
- local REQUIRED_ARG_NAMES=()
-
- # -- helper functions
- function varName {
- # everything to upper case and dash to underscore
- echo ${1//-/_} | tr '[:lower:]' '[:upper:]'
- }
-
- function readArgDefs {
- local ARG_DEF
- local AD_OPTIONAL
- local AD_NAME
- local AD_RE
-
- # -- helper functions
- function parseArgDef {
- local ARG_DEF_REGEX="(\[?)--([^=]+)=(.*)"
- if [[ ! $1 =~ $ARG_DEF_REGEX ]]; then
- echo "Internal error: arg def has wrong format: $ARG_DEF"
- exit 1
- fi
- AD_OPTIONAL="${BASH_REMATCH[1]}"
- AD_NAME="${BASH_REMATCH[2]}"
- AD_RE="${BASH_REMATCH[3]}"
- if [[ $AD_OPTIONAL ]]; then
- # Remove last bracket for optional args.
- # Can't put this into the ARG_DEF_REGEX somehow...
- AD_RE=${AD_RE%?}
- fi
- }
-
- # -- run
- for ARG_DEF in "${ARG_DEFS[@]}"
- do
- parseArgDef $ARG_DEF
-
- local AD_NAME_UPPER=$(varName $AD_NAME)
- setVar "${AD_NAME_UPPER}_OPTIONAL" "$AD_OPTIONAL"
- setVar "${AD_NAME_UPPER}_RE" "$AD_RE"
- if [[ ! $AD_OPTIONAL ]]; then
- REQUIRED_ARG_NAMES+=($AD_NAME)
- fi
- done
- }
-
- function readAndValidateArgs {
- local ARG_NAME
- local ARG_VALUE
- local ARG_NAME_UPPER
-
- # -- helper functions
- function parseArg {
- local ARG_REGEX="--([^=]+)=?(.*)"
-
- if [[ ! $1 =~ $ARG_REGEX ]]; then
- echo "Can't parse argument $i"
- usage
- fi
-
- ARG_NAME="${BASH_REMATCH[1]}"
- ARG_VALUE="${BASH_REMATCH[2]}"
- ARG_NAME_UPPER=$(varName $ARG_NAME)
- }
-
- function validateArg {
- local AD_RE=$(getVar ${ARG_NAME_UPPER}_RE)
-
- if [[ ! $AD_RE ]]; then
- echo "Unknown option: $ARG_NAME"
- usage
- fi
-
- if [[ ! $ARG_VALUE =~ ^${AD_RE}$ ]]; then
- echo "Wrong format: $ARG_NAME"
- usage;
- fi
-
- # validate that the "action" option points to a valid function
- if [[ $ARG_NAME == "action" ]] && ! isFunction $ARG_VALUE; then
- echo "No action $ARG_VALUE defined in this script"
- usage;
- fi
- }
-
- # -- run
- for i in "$@"
- do
- parseArg $i
- validateArg
- setVar "${ARG_NAME_UPPER}" "$ARG_VALUE"
- done
- }
-
- function checkMissingArgs {
- local ARG_NAME
- for ARG_NAME in "${REQUIRED_ARG_NAMES[@]}"
- do
- ARG_VALUE=$(getVar $(varName $ARG_NAME))
-
- if [[ ! $ARG_VALUE ]]; then
- echo "Missing: $ARG_NAME"
- usage;
- fi
- done
- }
-
- # -- run
- readArgDefs
- readAndValidateArgs "$@"
- checkMissingArgs
-
-}
-
-# getVar(varName)
-function getVar {
- echo ${!1}
-}
-
-# setVar(varName, varValue)
-function setVar {
- eval "$1=\"$2\""
-}
-
-# isFunction(name)
-# - to be used in an if, so return 0 if successful and 1 if not!
-function isFunction {
- if [[ $(type -t $1) == "function" ]]; then
- return 0
- else
- return 1
- fi
-}
-
-# readJsonProp(jsonFile, property)
-# - restriction: property needs to be on an own line!
-function readJsonProp {
- echo $(sed -En 's/.*"'$2'"[ ]*:[ ]*"(.*)".*/\1/p' $1)
-}
-
-# replaceJsonProp(jsonFile, property, newValue)
-# - note: propertyRegex will be automatically placed into a
-# capturing group! -> all other groups start at index 2!
-function replaceJsonProp {
- replaceInFile $1 "\"$2\": \".*?\"" "\"$2\": \"$3\""
-}
-
-# replaceInFile(file, findPattern, replacePattern)
-function replaceInFile {
- perl -pi -e "s/$2/$3/g;" $1
-}
-
-# resolveDir(relativeDir)
-# - resolves a directory relative to the current script
-function resolveDir {
- echo $(cd $SCRIPT_DIR; cd $1; pwd)
-}
-
-function main {
- # normalize the working dir to the directory of the script
- cd $(dirname $0);SCRIPT_DIR=$(pwd)
-
- ARG_DEFS+=("[--verbose=(true|false)]")
- parseArgs "$@"
-
-
- # --verbose argument
- if [[ $VERBOSE == "true" ]]; then
- set -x
- fi
-
- if isFunction init; then
- init "$@"
- fi
-
- # jump to the function denoted by the --action argument,
- # otherwise call the "run" function
- if [[ $ACTION ]]; then
- $ACTION "$@"
- else
- run "$@"
- fi
-}
-
-
-main "$@"