Skip to content

Commit

Permalink
chore(deps): install capacitor plugin package
Browse files Browse the repository at this point in the history
- install package @capacitor/[email protected]
- migrate capacitor storage
  • Loading branch information
SimonGolms committed Jan 26, 2021
1 parent 18f41ec commit 36819b2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@capacitor/android": "^3.0.0-beta.1",
"@capacitor/core": "^3.0.0-beta.1",
"@capacitor/ios": "^3.0.0-beta.1",
"@capacitor/storage": "^0.3.0",
"@ionic/react": "^5.5.2",
"@ionic/react-router": "^5.5.2",
"@ionic/storage": "^2.3.1",
Expand Down
4 changes: 1 addition & 3 deletions src/utils/capacitorStorage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { Plugins } from '@capacitor/core';

const { Storage } = Plugins;
import { Storage } from '@capacitor/storage';

const createCapacitorStorage = () => {
return {
Expand Down

0 comments on commit 36819b2

Please sign in to comment.