From 9f04f43d0e6351933e70a29c59ca4250284d6d71 Mon Sep 17 00:00:00 2001 From: ImpulseDeer <111496869+ImpulseDeer@users.noreply.github.com> Date: Mon, 29 Aug 2022 11:43:12 +0200 Subject: [PATCH] Use @capacitor/preferences in your-first-app @capacitor/storage has been renamed @capcitor/preferences with the relase of version 4. This is not update in this tutorial which will throw an ERR when trying to install the plugins. --- docs/react/your-first-app.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/react/your-first-app.md b/docs/react/your-first-app.md index 47fce5914fe..8364e516080 100644 --- a/docs/react/your-first-app.md +++ b/docs/react/your-first-app.md @@ -32,7 +32,7 @@ Highlights include: - One React-based codebase that runs on the web, iOS, and Android using Ionic Framework [UI components](https://ionicframework.com/docs/components). - Deployed as a native iOS and Android mobile app using [Capacitor](https://capacitor.ionicframework.com), Ionic's official native app runtime. -- Photo Gallery functionality powered by the Capacitor [Camera](https://capacitor.ionicframework.com/docs/apis/camera), [Filesystem](https://capacitor.ionicframework.com/docs/apis/filesystem), and [Storage](https://capacitor.ionicframework.com/docs/apis/storage) APIs. +- Photo Gallery functionality powered by the Capacitor [Camera](https://capacitor.ionicframework.com/docs/apis/camera), [Filesystem](https://capacitor.ionicframework.com/docs/apis/filesystem), and [Preferences](https://capacitor.ionicframework.com/docs/apis/preferences) APIs. Find the complete app code referenced in this guide [on GitHub](https://github.com/ionic-team/photo-gallery-capacitor-react). @@ -84,7 +84,7 @@ cd photo-gallery Next we'll need to install the necessary Capacitor plugins to make the app's native functionality work: ```shell -npm install @capacitor/camera @capacitor/storage @capacitor/filesystem +npm install @capacitor/camera @capacitor/preferences @capacitor/filesystem ``` ### PWA Elements