@mobileAppDeveloper wrote:
After seeing the blog post about Ionic Native, I wanted to make use of it in my project. So I included
ionic.native.min.js
in my index.html and imported 'ionic.native' in my module. Before that, I was mainly using the direct way of accessing plugins, not ngCordova. Unfortunately, after transforming all of my calls to Ionic Native, I now get loads of messages like these:Native: tried calling e.device, but the e plugin is not installed. Install the e plugin: 'ionic plugin add cordova-plugin-device'
When I put a breakpoint at the place where the above happens, I can access the device in the direct way without problems, so the plugin is installed correctly. What could I be doing wrong?
Posts: 1
Participants: 1