martinkasa / capacitor-secure-storage-plugin

Capacitor plugin for storing string values securly on iOS and Android.
MIT License
153 stars 55 forks source link

How to Register Plugin in Android studio #6

Closed mcroni closed 4 years ago

mcroni commented 4 years ago

wondering how to add this plugin in android studio since the class needed isnt referenced in the readme, Thank you

martinkasa commented 4 years ago

Hi @mcroni,

there is a link in the README https://github.com/martinkasa/capacitor-secure-storage-plugin#android which get you to Ionic docs where they explain how ro register a plugin.

Android In Android you have to register plugins manually in MainActivity class of your app.

https://capacitor.ionicframework.com/docs/plugins/android/#export-to-capacitor