- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was trying to make an app which has a function reading the local txt file. I added the cordova-plugin-file v3.0 through XDK.
I can see the plugin in the plugin management view . (I think it is correctly installed. right? )
My app framework is ionic with ngCordova . I just copy the ngCordova sample code to my app for simple test.
but when I change to Emulate view and click the button which will active the function $cordovaFile.readFileAsText, the XDK came up with an error
said that :
Unimplemented API Emulation: File.resolveLocalFileSystemURI]
your app has called a Cordova plugin whose native code is not known to the emulator. Because the emulator cannot execute native code ...
Is this means that emulator is not support the simulation of this cordova-plugin-file plugin? or am I miss some settings of the plugin?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will need to test the app on device. The emulator has its limitations and this happens to be one of them.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page