Reputation: 788
As written in the docs here, to import FileOpener you should place
import { FileOpener } from "@ionic-native/file-opener";
in you app.module.ts, but always get "Invalid provider in ngModule..."
Upvotes: 1
Views: 362
Reputation: 788
Apparently the right path to import FileOpener is
import { FileOpener } from "@ionic-native/file-opener/ngx";
That's looking in the plugin source file
Upvotes: 2