cordova-plugin-firebase-authentication icon indicating copy to clipboard operation
cordova-plugin-firebase-authentication copied to clipboard

How to import in ionic3's app.module.ts

Open uokivan opened this issue 5 years ago • 1 comments

How to import in ionic3's app.module.ts ? Thank's a lot

uokivan avatar Jan 28 '19 04:01 uokivan

I think you should refer to this resource: https://ionicframework.com/docs/native/firebase-authentication/

Steps for importing an Ionic Native plugin:

  1. Install the plugin via npm:
npm install --save @ionic-native/firebase-authentication
  1. Import the plugin in app.module.ts:
import { FirebaseAuthentication } from '@ionic-native/firebase-authentication';
  1. Add the plugin to providers array in app.module.ts:
providers: [
...
FirebaseAuthentication
]

ziyaddin avatar Jan 28 '19 09:01 ziyaddin