I added Ionic native sim plugin to newly created app. After it is installed (
ionic cordova run android --device), it works fine and gives the following console log.
Then I close the app and started it again. Then it gives the following error.
I checked the plugin list of my app and it listed following.
C:\My\myApp>cordova plugin list cordova-plugin-device 2.0.2 "Device" cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 1.1.19 "cordova-plugin-ionic-webview" cordova-plugin-sim 1.3.3 "SIM" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-whitelist 1.3.3 "Whitelist"
What is the reason? Please hep me.
There are similar problems regarding this. But they did not resolve my problem.