mibrito707 / cordova-plugin-secure-storage-echo

Secure storage plugin for Apache Cordova
MIT License
73 stars 73 forks source link

Ionic Tap-Page + Angular = NullInjectorError: R3InjectorError #67

Open sharpSteff opened 3 years ago

sharpSteff commented 3 years ago

I'm trying to get this plugin run on my Ionic Tap-Page app. Unfortunately I always receive NullInjectorError: R3InjectorError when trying to inject the SecureStorageEcho.

I tried following:

import { SecureStorageEcho, SecureStorageEchoObject } from '@ionic-native/secure-storage-echo/ngx';

constructor(private secureStorage: SecureStorageEcho) { }

I tried to inject into the app.component.ts as well as into some tap.component.ts Do I miss something here?