Closed Drvanon closed 4 years ago
Created a fix for Ionic 5 framework, but unsure how to make it work for old and new version at the moment.
To get the fix for your local environment
git clone https://github.com/darkedges/capacitor-secure-storage-plugin.git
cd capacitor-secure-storage-plugin
npm run build
npm link
go to your project and issue
npm link capacitor-secure-storage-plugin
or edit package.json
and change the value of capacitor-secure-storage-plugin
to
"capacitor-secure-storage-plugin": "file:../capacitor-secure-storage-plugin"
Change to where you cloned the repository.
do an npx cap sync
and then reload your app in the studio.
Thank you for PR. I have created new version v0.4.0 based on Capacitor v2 plugin template, so for capacitor >=2 use version v0.4.0, for Capacitor <2 use 0.3.2.
Reproduction:
ionic start testApp
ionic build
ioinic cap add android
npm install capacitor-secure-storage-plugin
ionic cap sync
ionic cap open android
Error: