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
37
votes
1 answer

Animated directional arrows "aroundMe" style using ngCordova

I wish to create the compass / arrow exactly like the one we see in AroundMe Mobile App that point exactly to a pin to the map accordingly with my mobile position and update the arrow when I move the phone. I'm getting crazy to understand exactly…
Ayeye Brazo
  • 2,604
  • 4
  • 24
  • 58
18
votes
2 answers

Ionic app image upload from camera / photo library

I'm working on a ionic chat app where the user can upload a photo as part of their message. I'm looking for a way to upload the image to my webhost server so I can retrieve it later via a URL. The problem is that I'm not able to get it to upload to…
user1242574
  • 1,137
  • 2
  • 11
  • 26
16
votes
2 answers

Can you use cookies in a Cordova application?

I have been building an android app using Ionic. At this point, I am under the impression that Cordova applications do not save or send the cookies that are served from a REST API server. If I run the application with the 'ionic serve' command I can…
chriaass
  • 195
  • 1
  • 2
  • 7
11
votes
13 answers

Links (and clicks) fail to open with Cordova on iOS 8.4.1

The latest iOS release (8.4.1) seems to have broken our ngCordova app. Our links generally don't open, whether accessed by href directly, ng-click, or ng-href. Some will open after repeated clicking, and the hrefs have a popup menu that allows us…
GeneralBear
  • 952
  • 1
  • 9
  • 29
9
votes
0 answers

360 panorama image with Ionic/Cordova

I want to capture 360 view image from device camera. Is there any plugin or setting for camera available in Ionic/Cordova that can facilitate me starting device camera with appropriate settings/options of 360 panorama mode?
Muhammad Umar
  • 877
  • 9
  • 13
9
votes
1 answer

Access local images with Ionic 2 Native on iOS

I am using ionic 2 native ImagePicker plugin ImagePicker.getPictures({ maximumImagesCount: 1 }).then((results) => { vm.sourcePath = results[0] console.log(vm.sourcePath) //…
Evan Lévesque
  • 2,721
  • 6
  • 35
  • 58
7
votes
1 answer

Ionic: Camera asks confirmation after every picture / take multiple shots

Is it possible to disable those annoying "retry" and "ok" buttons from top of the display? I can also customize ngCordova plugin if you guide me to a correct direction. What I want to do is to take multiple shots easily. Now it takes time, because…
iiro
  • 3,020
  • 1
  • 17
  • 22
7
votes
3 answers

How to fetch all gallery image of mobile using cordova?

I want to fetch the complete gallery of a mobile device to show them in a custom grid, is it possible? Right now I am using $cordovaImagePicker which is redirecting me to the gallery and then after selecting the image I am getting the Uri of that…
mayank
  • 450
  • 3
  • 14
7
votes
1 answer

How to open video picker view or gallery in ionic?

Currently I can open image picker using $cordovaImagePicker, but also I want to open video picker for picking the video from gallery/ video gallery. How can I achieve above task/ thing? Currently there is no any plugin for picking videos. And html…
RahulSalvikar
  • 648
  • 1
  • 10
  • 29
7
votes
2 answers

How to pick multiple images from device?

If i create a simple project: ionic start MyApp And add the ImagePicker plugin: ionic plugin add https://github.com/wymsee/cordova-imagePicker.git -save And simply copy this example www folder into the project and do: ionic platform add…
Mulgard
  • 8,305
  • 26
  • 110
  • 205
6
votes
1 answer

Failed to load resource: The requested URL was not found on this server in Ionic 2?

I have a Ionic 2 application which was working fine in the chrome browser, but when it run on simulator (remote debugging with Safari) or actual device it gives below error. After this error app is not working properly…
happycoder
  • 863
  • 3
  • 13
  • 27
6
votes
1 answer

Twitter Login with Cordova and Angularjs: 401 unauthorized error

I am trying to get user details after user login from twitter by this link - https://api.twitter.com/1.1/account/verify_credentials.json To do this first I request for oauth_token, in second step I called for signature and in last I tried to get…
Napster
  • 2,152
  • 2
  • 27
  • 51
6
votes
0 answers

Android cordova camera cancelled

I'm building an app with Ionic and ngCordova but I have an issue with the camera. When I try to take a picture, I have a "camera cancelled" error, before taking the picture. That's not all the time. If I insist sometimes I have a result. I looked…
geopl
  • 219
  • 1
  • 16
6
votes
1 answer

ngCordova Camera - Take square pictures like instagram (iOS)?

I have my Ionic app taking pictures with the ngCordova camera plugin, but I want the pictures to be square. I also need an overlay if possible that shows which area is going to be cropped. Here is the code I'm using: $scope.getPhoto = function()…
Chad
  • 1,380
  • 2
  • 17
  • 42
6
votes
2 answers

FileTransfer not defined - AngularJS

I am trying to implement file upload in angularjs (in Ionic), but getting some issues. I read a doc following which I ran below commands, while being in project directory - bower install ngCordova cordova plugin add…
Sam
  • 3,628
  • 10
  • 36
  • 66
1
2 3
38 39