Open with capacitor
Closed this issue · 0 comments
rlesniak commented
Hey, I cannot use it with capacitor
Usage:
install:
npm install cordova-open-native-settings
npm install @ionic-native/open-native-settings
import { OpenNativeSettings } from '@ionic-native/open-native-settings';
...
document.addEventListener('deviceready', function () {
OpenNativeSettings.open('wifi');
});
...
Error
Native: tried calling OpenNativeSettings.open, but the OpenNativeSettings plugin is not installed.
Install the OpenNativeSettings plugin: 'ionic cordova plugin add cordova-open-native-settings'
Any ideas?