I stuck for days trying to make it work “open-native-settings” on my ionic 3 project,.
So, following the documentation, https://ionicframework.com/docs/native/open-native-settings
add this on app.modules.ts:
import { OpenNativeSettings } from '@ionic-native/open-native-settings/ngx';
and add OpenNativeSettings in providers list.
Then en my .ts file:
import { OpenNativeSettings } from '@ionic-native/open-native-settings/ngx';
Adding on constructor:
constructor(private openNativeSettings: OpenNativeSettings) { }
but when trying call open() method I get:
(…) is not a function. (???)
this plugin work fine on Ionic 3??
I need try this on Ionic 3, not Ionic 4.
I know that /ngx is for Ionic 4. Then, I trying the normal method:
import { OpenNativeSettings } from ‘@ionic-native/open-native-settings’;
But doing this, I get this errors on the editor:
Error on source app.modules.ts
any suggestions??
Thanks.