From 22f7784755efcb323e89edfea2b997885bde442d Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Wed, 9 Apr 2025 10:25:08 +0200 Subject: [PATCH] docs: Use latest-6 for install instructions --- action-sheet/README.md | 2 +- app-launcher/README.md | 2 +- app/README.md | 2 +- browser/README.md | 2 +- camera/README.md | 2 +- clipboard/README.md | 2 +- device/README.md | 2 +- dialog/README.md | 2 +- filesystem/README.md | 2 +- geolocation/README.md | 2 +- haptics/README.md | 2 +- keyboard/README.md | 2 +- local-notifications/README.md | 2 +- motion/README.md | 2 +- network/README.md | 2 +- preferences/README.md | 2 +- push-notifications/README.md | 2 +- screen-orientation/README.md | 2 +- screen-reader/README.md | 2 +- share/README.md | 2 +- splash-screen/README.md | 2 +- status-bar/README.md | 2 +- text-zoom/README.md | 2 +- toast/README.md | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/action-sheet/README.md b/action-sheet/README.md index 2c9872ed1..99a9240ca 100644 --- a/action-sheet/README.md +++ b/action-sheet/README.md @@ -5,7 +5,7 @@ The Action Sheet API provides access to native Action Sheets, which come up from ## Install ```bash -npm install @capacitor/action-sheet +npm install @capacitor/action-sheet@latest-6 npx cap sync ``` diff --git a/app-launcher/README.md b/app-launcher/README.md index f454c550a..fc314b23c 100644 --- a/app-launcher/README.md +++ b/app-launcher/README.md @@ -18,7 +18,7 @@ Example: ## Install ```bash -npm install @capacitor/app-launcher +npm install @capacitor/app-launcher@latest-6 npx cap sync ``` diff --git a/app/README.md b/app/README.md index aa136f6ae..e102f9888 100644 --- a/app/README.md +++ b/app/README.md @@ -5,7 +5,7 @@ The App API handles high level App state and events. For example, this API emits ## Install ```bash -npm install @capacitor/app +npm install @capacitor/app@latest-6 npx cap sync ``` diff --git a/browser/README.md b/browser/README.md index 0c6a744d1..6b4f2a8db 100644 --- a/browser/README.md +++ b/browser/README.md @@ -7,7 +7,7 @@ On iOS, this uses `SFSafariViewController` and is compliant with leading OAuth s ## Install ```bash -npm install @capacitor/browser +npm install @capacitor/browser@latest-6 npx cap sync ``` diff --git a/camera/README.md b/camera/README.md index 49a48d096..588e6ee6b 100644 --- a/camera/README.md +++ b/camera/README.md @@ -5,7 +5,7 @@ The Camera API provides the ability to take a photo with the camera or choose an ## Install ```bash -npm install @capacitor/camera +npm install @capacitor/camera@latest-6 npx cap sync ``` diff --git a/clipboard/README.md b/clipboard/README.md index 136ffda24..212dcd6fd 100644 --- a/clipboard/README.md +++ b/clipboard/README.md @@ -5,7 +5,7 @@ The Clipboard API enables copy and pasting to/from the system clipboard. ## Install ```bash -npm install @capacitor/clipboard +npm install @capacitor/clipboard@latest-6 npx cap sync ``` diff --git a/device/README.md b/device/README.md index 56c7d3947..000c9a8f2 100644 --- a/device/README.md +++ b/device/README.md @@ -5,7 +5,7 @@ The Device API exposes internal information about the device, such as the model ## Install ```bash -npm install @capacitor/device +npm install @capacitor/device@latest-6 npx cap sync ``` diff --git a/dialog/README.md b/dialog/README.md index 49a1b3035..18228d7be 100644 --- a/dialog/README.md +++ b/dialog/README.md @@ -5,7 +5,7 @@ The Dialog API provides methods for triggering native dialog windows for alerts, ## Install ```bash -npm install @capacitor/dialog +npm install @capacitor/dialog@latest-6 npx cap sync ``` diff --git a/filesystem/README.md b/filesystem/README.md index 32c7ba2d9..a4b0989ec 100644 --- a/filesystem/README.md +++ b/filesystem/README.md @@ -5,7 +5,7 @@ The Filesystem API provides a NodeJS-like API for working with files on the devi ## Install ```bash -npm install @capacitor/filesystem +npm install @capacitor/filesystem@latest-6 npx cap sync ``` diff --git a/geolocation/README.md b/geolocation/README.md index 57113e7b7..b912d870a 100644 --- a/geolocation/README.md +++ b/geolocation/README.md @@ -5,7 +5,7 @@ The Geolocation API provides simple methods for getting and tracking the current ## Install ```bash -npm install @capacitor/geolocation +npm install @capacitor/geolocation@latest-6 npx cap sync ``` diff --git a/haptics/README.md b/haptics/README.md index fa9ffb729..5d1773475 100644 --- a/haptics/README.md +++ b/haptics/README.md @@ -7,7 +7,7 @@ On devices that don't have Taptic Engine or Vibrator, the API calls will resolve ## Install ```bash -npm install @capacitor/haptics +npm install @capacitor/haptics@latest-6 npx cap sync ``` diff --git a/keyboard/README.md b/keyboard/README.md index d359bdde7..e19d96d92 100644 --- a/keyboard/README.md +++ b/keyboard/README.md @@ -5,7 +5,7 @@ The Keyboard API provides keyboard display and visibility control, along with ev ## Install ```bash -npm install @capacitor/keyboard +npm install @capacitor/keyboard@latest-6 npx cap sync ``` diff --git a/local-notifications/README.md b/local-notifications/README.md index be9fd303d..1774219b1 100644 --- a/local-notifications/README.md +++ b/local-notifications/README.md @@ -5,7 +5,7 @@ The Local Notifications API provides a way to schedule device notifications loca ## Install ```bash -npm install @capacitor/local-notifications +npm install @capacitor/local-notifications@latest-6 npx cap sync ``` diff --git a/motion/README.md b/motion/README.md index f6c04f035..2677f7017 100644 --- a/motion/README.md +++ b/motion/README.md @@ -5,7 +5,7 @@ The Motion API tracks accelerometer and device orientation (compass heading, etc ## Install ```bash -npm install @capacitor/motion +npm install @capacitor/motion@latest-6 npx cap sync ``` diff --git a/network/README.md b/network/README.md index 48496869f..b693989c0 100644 --- a/network/README.md +++ b/network/README.md @@ -5,7 +5,7 @@ The Network API provides network and connectivity information. ## Install ```bash -npm install @capacitor/network +npm install @capacitor/network@latest-6 npx cap sync ``` diff --git a/preferences/README.md b/preferences/README.md index 94a64093e..3a1f90ee7 100644 --- a/preferences/README.md +++ b/preferences/README.md @@ -19,7 +19,7 @@ we recommend taking a look at a SQLite-based solution. One such solution is [Ion ## Install ```bash -npm install @capacitor/preferences +npm install @capacitor/preferences@latest-6 npx cap sync ``` diff --git a/push-notifications/README.md b/push-notifications/README.md index ad6b9ff18..b214ebe4a 100644 --- a/push-notifications/README.md +++ b/push-notifications/README.md @@ -5,7 +5,7 @@ The Push Notifications API provides access to native push notifications. ## Install ```bash -npm install @capacitor/push-notifications +npm install @capacitor/push-notifications@latest-6 npx cap sync ``` diff --git a/screen-orientation/README.md b/screen-orientation/README.md index d909a75a6..0e9fda299 100644 --- a/screen-orientation/README.md +++ b/screen-orientation/README.md @@ -5,7 +5,7 @@ The Screen Orientation API provides information and functionality related to the ## Install ```bash -npm install @capacitor/screen-orientation +npm install @capacitor/screen-orientation@latest-6 npx cap sync ``` diff --git a/screen-reader/README.md b/screen-reader/README.md index 7bd8d69ab..63542cf26 100644 --- a/screen-reader/README.md +++ b/screen-reader/README.md @@ -5,7 +5,7 @@ The Screen Reader API provides access to TalkBack/VoiceOver/etc. and provides si ## Install ```bash -npm install @capacitor/screen-reader +npm install @capacitor/screen-reader@latest-6 npx cap sync ``` diff --git a/share/README.md b/share/README.md index f85503aee..6a08ef5e1 100644 --- a/share/README.md +++ b/share/README.md @@ -8,7 +8,7 @@ API](https://web.dev/web-share/)), though web support is currently spotty. ## Install ```bash -npm install @capacitor/share +npm install @capacitor/share@latest-6 npx cap sync ``` ## Android diff --git a/splash-screen/README.md b/splash-screen/README.md index ebad66dca..b38d46ff2 100644 --- a/splash-screen/README.md +++ b/splash-screen/README.md @@ -5,7 +5,7 @@ The Splash Screen API provides methods for showing or hiding a Splash image. ## Install ```bash -npm install @capacitor/splash-screen +npm install @capacitor/splash-screen@latest-6 npx cap sync ``` diff --git a/status-bar/README.md b/status-bar/README.md index cd7ef29c8..19f1fda82 100644 --- a/status-bar/README.md +++ b/status-bar/README.md @@ -5,7 +5,7 @@ The StatusBar API Provides methods for configuring the style of the Status Bar, ## Install ```bash -npm install @capacitor/status-bar +npm install @capacitor/status-bar@latest-6 npx cap sync ``` diff --git a/text-zoom/README.md b/text-zoom/README.md index cfba1875f..e2f42da61 100644 --- a/text-zoom/README.md +++ b/text-zoom/README.md @@ -15,7 +15,7 @@ The Text Zoom API provides the ability to change Web View text size for visual a ## Install ```bash -npm install @capacitor/text-zoom +npm install @capacitor/text-zoom@latest-6 npx cap sync ``` diff --git a/toast/README.md b/toast/README.md index 4a0053dd0..622d4556b 100644 --- a/toast/README.md +++ b/toast/README.md @@ -5,7 +5,7 @@ The Toast API provides a notification pop up for displaying important informatio ## Install ```bash -npm install @capacitor/toast +npm install @capacitor/toast@latest-6 npx cap sync ```