Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49167

Failing to use Ionic Native with Ionic 1

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 49167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>