I am using ionic2. I found my device IP address using Cordova plugin add cordova-plugin-networkinterface. Here is my IP address 192.168.1.104 How can I find a location using device IPAddress? Kindly advice me, ThanksOnly an external IP address has a
I am using Ionic with Typescript. I need to access the following api: load(key, successCallback/*(value)*/, failCallback) In Typescript I do the following: cordova.plugins.icloudkv.load('key').then((data) => { console.log(data); alert('load key: ' +
I am no Java developer, but I am trying to add some more data to a Cordova plugin for Android. I don't understand why this is not permitted? Here I am trying to set the value of asu witht he method. int asu = getSignalStrength(); The method below: in
I have an Ionic 2 app, and I need to know if there is internet connection (in general, any type) and it's not working. If I do: if (Network.connection) { this.af.auth.subscribe(user => { if (user) { this.hasSession = true; } else { this.hasSession =
I'm trying to use the Cordova file plugin to read an image saved in a mobile device so I can then get the base64 encoding of it, which I need to store remotely. The problem is that the resolveLocalFilesystemUrl() method, which is supposed to provide
I'm using ngCordova File Transfer plugin in an ionic project to download set of images from urls. Here is the code i'm using for that. // Save a image file in a given directory $scope.saveImage = function(dir,imgUrl,imageName) { var url = imgUrl; var
Created Ionic 2 Native map following Josh Morony tutorial: http://www.joshmorony.com/integrating-native-google-maps-into-an-ionic-2-application/ . Everything works well. Here's the problem: My view have a side menu, when I click on side menu, it togg
I've inherited a mobile project where I work which is using Ionic to build a hybrid mobile app. In iOS, I'm using the WKWebView instead of the native one, and accordingly a local webserver needs to run on the device in order to access local files. Th
I am trying to parse an API data that i receive via ajax. I have no control over the api json structure. When i try to parse it using this code i get this error: json.parse:unexpected character and no data output on divs.I spend past 2 days couldn't
In my Ionic2 app I managed to successfully use certain methods of the File plugin such as: checkDir createDir createFile Now I want to use readAsText (as specified in the docs) but I can't figure out how to get a fileEntry without creating a new file
I am new to cordova so wanted to know if it is possible or not. I have a functionality to implement, which I think I will be more comfortable in android native activity. So can I call the native android from an html page or through jquery and the vic
I am developing ionic application which works fine in browser as well in android 5 versions but when i try to install my same apk in andriod 4 versions it simply displays white screen doesnt show up anything. i had tried installing crosswalk, whiteli
When taking a photo via navigator.camera.getPicture and changing the device's orientation inside the photo interface, the webview's viewport doesn't resize upon returning. The blank space is not part of the HTML document, so internal resizing in the
When running cordova plugin add cordova-plugin-inappbrowser I always get the following errors: Fetching plugin "cordova-plugin-inappbrowser@~1.2.0" via npm Installing "cordova-plugin-inappbrowser" for ios Failed to install 'cordova-plu
I am working on VS2013 Cordova App . I want to make toast in my app as it in native android . I searched in plugins in config.xml and I didn't find the toast plugin . please advice .There is a plugin called: Cordova Push Notifications. This plugin im
I have to load multiple cordova apps based on user access in Native IOS app. I want to load the zip files dynamically on app launch and store them in Documents or Libraries folder and then unzip these files, then I'm trying to load cordova views dire
I've created my first phonegap app yesterday following the tutorials and using the PhoneGap Developer App. Now I'm trying to get plugins working, I'm not sure if I'm missing a step somewhere or doing it completely wrong. On OSX, I installed nodejs us
Using org.apache.cordova.file plugin I can selected the file and I get the native path of the file. After that I have to restrict the user to select the file according to there file size. But I can't get that file size. My problem is that I can't get
I'm looking into implementing audio into my Ionic Cordova/PhoneGap hybrid application. The app will retain about 3 hours of audio and is intended to be played "on-the-go" where the audio can play in the background with a locked screen regardless
Hi I have created a cordova plugin for Android. But it is not functioning properly. I want to debug it an IDE. How can I debug the cordova android plugin file when I launch the application in my mobile? What are the different and easiest ways to do i
I am developing a mobile application and I getting an error when the user try to change the picture profile, the error after do a lot of debugging is not in the camera is in the file transfer function when I try to send the image to the server, there
I'm trying to use EmailComposer plugin with Cordova 5.0.0 and JQueryMobile. I've installed the plugin (here) using CLI. I'm testing using Phonegap App. I have used the recommended syntax: $("#btSend").on('touchstart', function(event) { console.l
I am trying to open an app when a push notification is received. Code: public class GCMIntentService extends GCMBaseIntentService { public GCMIntentService() { super("GCMIntentService"); } @Override protected void onMessage(Context context, Inte
I'm tryng to build my cordova application, but from 2015, 3rd April, building gave me this error: Installing "cordova-plugin-media-capture" for android Running command: C:\wamp\www\HTML5Application\platforms\android\cordova\version.bat Command f
I am prototyping an A Hybrid Mobile app using Ionic + Angular + Apache Cordova 4.0 using Visual Studio 2003 update 4. I installed the SQLite plugin to access database. Recommended method to access this plugin is: var db = window.sqlitePlugin.openData
I've got a problem concerning cordova. This is a simple topic about the installation of cordova, the creation of a project and the addition of plugins. Actually I thought that everything was ok until I try to add plugins in my project. The methods as
I'm developing a Cordova project using this plugin: Cordova Plugin Background Geolocation to get GPS updates when my app is in background. I would like to stop getting updates after 3 minutes the app is on background. I don't have the Objective-C ski
I have to following situation: I have a already existing remote webpage and i want to develope an app which uses this page. So far, so good. When I start the app the local index.html is loaded and it redirects (window.open target: _self) to the exter
so I've been trying to add this plugin with command cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git which worked on MAC and Linux after npm update -g cordova but on windows I'm still getting cannot read prop
Is there a view of showing the live camera view inside html ( e.g. embedded in a div ) before we snap a picture using JavaScript? I have tried PhoneGap but it totally starts a new camera app and totally moves away from my html web app before returnin