Questions tagged [ngcordova]

ngCordova is a collection of 63+ AngularJS extensions on top of the Cordova API that make it easy to build, test, and deploy Cordova mobile apps with AngularJS.

ngCordova gives you simple AngularJS wrappers for the most popular Cordova and PhoneGap plugins available, where you can take a picture, scan a barcode, upload a file, turn on your flashlight, get your current location, and much more with just a few lines of code.

The successor to ngCordova is Ionic Native.

584 questions
0
votes
1 answer

Apptentive cordova plugin

Hello i have a need for a Apptentive cordova plugin that supports iOS and Android. I have found this https://github.com/mcfarljw/cordova-plugin-apptentive plugin but it only supports android. Does anyone know how can I go about implementing…
Oleksiy Kononenko
  • 757
  • 3
  • 14
  • 25
0
votes
1 answer

Ionic framework, the method not returning the value

I am developing the mobile hybrid app based on ionic framework and angular js and ngCordova. And I m new to it. I m using SQLite plugin for manipulating the database. I have following code service.js angular.module('imrapp.services',…
WatsMyName
  • 3,687
  • 3
  • 31
  • 58
-1
votes
1 answer

Cordova Plugin File Transfer using HTTPS

Here's my function which I used to transfer image to server. It was working with http url now it gives exception on https url. I think because cordova file transfer plugin supports only http and not https. Can any one help me get this working on…
-1
votes
1 answer

ionic cordova - white page when adding 'ngCordova'

When I adding 'ngCordova' to app.js I am getting a white page. code: angular.module('app', ['ionic', 'ngCordova','app.controllers', 'app.routes', 'app.directives','app.services']) I included the cordova.js in index.html:
Ron
  • 309
  • 2
  • 6
  • 20
-1
votes
2 answers

How to save pdf in Cordova Android from dataURL

I need to save dataURL pdf file in phone's directory in Android using Cordova with ngCordova.My code is Given below:- var…
Sabir
  • 225
  • 3
  • 15
-1
votes
1 answer

cordova build error Exit code 1

I have created referred - https://cordova.apache.org/docs/en/latest/guide/cli/index.html#installing-the-cordova-cli for creating first cordova android app. I was able t create project and add android platform, but could not build cordova, following…
Chaitanya
  • 67
  • 2
  • 8
-1
votes
1 answer

Cordova geolocation still works after geolocation plugin is removed

On Android, Cordova's geolocation plugin consistently takes about 6s to fix a location when other apps return a location instantly most of the time and almost never take more than 2s. I came across this post Phonegap geolocation sometimes not…
FuzzyTree
  • 30,038
  • 3
  • 46
  • 73
-1
votes
1 answer

Using $cordovaClipboard ng-cordova plugin in ionic for iOS

I am using $cordovaClipboard ng-cordova plugin in my ionic project. http://ngcordova.com/docs/plugins/clipboard/ The plugin works well on Android devices, but when building app for iOS this plugin does not work. Is there something i have missed out…
philxtian
  • 99
  • 8
-1
votes
1 answer

How to add a premium version plugin into the ionic app

I'm trying to add a premium version plugin into my IONIC app. I got the plugin, and I added it to the plugins directory, but while running command "cordova platform add android" it gave me error an of "no such file or directory, open…
-1
votes
2 answers

angular js variable not work

index.html
app.js app.controller('Ctrl', function($scope) { $scope.removeTask = function(taskId) { alert("Task Id is " + taskId); …
Antonis
  • 195
  • 1
  • 12
-1
votes
1 answer

Ionic - Upload file to FTP server

I am working on an Ionic application and I need to upload a file to a FTP server. Please note that I am new to mobile dev in general and Ionic in particular. The target is iOs. I found a lot of information regarding this cordova plugin but I am…
Julien Martelli
  • 63
  • 1
  • 1
  • 5
-1
votes
1 answer

Loading multiple views in cordova app

I want to be able to load multiple views in an cordova app using AngularJS. Could not find any samples for this. All what i found is pure AngularJS Apps that does not work when i load it an cordova app. For example: Main Page Tab1 --> load…
Mostafa
  • 3,270
  • 2
  • 19
  • 41
-1
votes
1 answer

Ionic : ngCordova not responding : Cannot read property 'file' of undefined

I'm trying to load cordova-plugin-file (from ngCordova). All of this doc has been done. Here is my code : .run(function($ionicPlatform, $cordovaFile) { $ionicPlatform.ready(function() { console.log(window.cordova.file); } } (the same with…
JoQuery
  • 61
  • 1
  • 8
-2
votes
1 answer

ngCordova-nfc (by using phonegap-nfc) example for angularjs project

Please help me about ngCordova-nfc (by using phonegap-nfc). I have a cordova project (no ionic/phonegap). I want to read NFC tag id by using this code. But I can't. Can you help me? angular.module('app') .controller('AppCtrl', ['$scope',…
1 2 3
38
39