Questions tagged [phonegap-cli]

phonegap-cli is the Command Line Interface for Phonegap. It is an open-source, cross-device mobile development platform. It uses HTML, JavaScript, and CSS to create applications. Functionality is achieved through plugins. It is synonymous with Cordova.

233 questions
0
votes
1 answer

Embed Cordova WebView into existing Windows Phone 8.1 or WP8 or windows phone universal Project

I need to use cordova in my existing project which consists of native xaml files. My project is written on windows phone 8.1 platform. I found a cordova open source project written for windows phone 8.0. I retarget to WP 8.1, add it on my project…
Jana
  • 17
  • 6
0
votes
0 answers

How to specify Java path with PhoneGap CLI

I'm trying to do a phonegap CLI build on a (Windows) machine that has multiple JDKs installed. I can get it to build when I set the JAVA_HOME environment variable to a recent version of Java. I'm just doing a "phonegap build android" from the…
Dan G
  • 836
  • 11
  • 31
0
votes
1 answer

Redirect headers with Phonegap

When attempting to send a post request to http://med.app/tour/pull (a laravel route) as an attempt to pull data from the server; my application then realises the user is not authenticated so it redirects them to another page. Because the…
Oliver Kucharzewski
  • 2,523
  • 4
  • 27
  • 51
0
votes
1 answer

Getting error while installing Ionic on Windows 7

I am new in mobile application development. White Installing Ionic in My Windows 7, I am getting below errors. My Installed Node version : 6.9.1 My Installed PhoneGap Version : 6.3.4 My Installed Cordova Version : 6.3.1 I have also tried using…
Sandip Mistry
  • 25
  • 1
  • 6
0
votes
1 answer

force landscape Phonegap CLI with phonegap app for testing. android/ios

I would like to know if its possible to force landscape mode when using phonegap cli and testing on device with the phonegap app. I have tried adding: to the config file with no luck. What is the best way to handle this? Thanks!
user1088963
  • 197
  • 1
  • 14
0
votes
0 answers

scan barcode in cordova

When i adding ZXing library then this code works for android But it cannot work in iOS. getting error 'ERROR: Plugin 'BarcodeScanner' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. ' $scope.scanBarcode = function() { …
0
votes
0 answers

How to specify saving a file to an external SD card in a Cordova Android app?

I’m working on a Cordova app that downloads large media files. Because the internal storage on some Android devices is limited, I want to give the user the option to save downloaded files on their external SD card. Cordova-android specifies a way to…
James Jensen
  • 255
  • 1
  • 2
  • 11
0
votes
0 answers

Monaca CLI 6.2 - Create/Edit build-extras.gradle

Having a hard time configuring Monaca IDE with PhoneGap/Cordova 6.2 CLI, specifically with adding a build-extras.gradle file to the Android side of the project. Seems Monaca took away a lot of abilities to customize an application. Does anyone know…
Jason Washo
  • 536
  • 6
  • 22
0
votes
1 answer

Android HTTPUrlConnection errors

I am in the process of writing a Phonegap app for Android that uses one plugin that I developing at the same time. The app uses Rhino to run perform a set of data analysis operations in JavaScript. One of the reasons for doing this is to enable me…
DroidOS
  • 8,530
  • 16
  • 99
  • 171
0
votes
1 answer

Blank page shown during the navigation in ionic framework based mobile app

This is my first experience in ionic framework based mobile app.my problem is a white blank page show in testing my app in android device.but it worked fine in browser.The workflow of my app is first login,then it redirect to homepage.homepage…
Albert
  • 316
  • 3
  • 15
0
votes
1 answer

Restrict Orientation change in Javascript

I am building hybrid mobile application. I need to restrict orientation to portrait mode for specific screen alone. The entire page is a single html. Is it possible to set portrait or landscape specific to div. I would like to know if there is…
0
votes
1 answer

Phonegap ignoring empty global object

I have a single html page phonegap app I'm testing. It works perfectly in my browser but when I test it on my phone through PhoneGap CLI it falls over entirely. I have it set up with Weinre but it doesn't show errors in the console like a browser…
Helen Danger Burns
  • 421
  • 2
  • 9
  • 28
0
votes
3 answers

How to upgrade to the latest version of PhoneGap (cli-6.3.0)?

I would like to upgrade the PhoneGap version from cli-5.2.0 to cli-6.3.0 for my hybrid app. According to the PhoneGap documentation, adding the following preference in my config.xml file should be enough; but it's not working for me.
temelm
  • 826
  • 4
  • 15
  • 34
0
votes
0 answers

Javascript bluetooth le ap read and write packed binary coded decimal

Phonegap app Bluetooth Plugin: cordova-plugin-ble-central https://github.com/don/cordova-plugin-ble-central Using Javascript and HTML. I am currently writing a PhoneGap app which is reading, writing and getting notifications to and from a bluetooth…
Wittner
  • 583
  • 5
  • 21
0
votes
0 answers

Facebook plugin for PhoneGap "secure network request failed" issue

I have installed Facebook Plugin for PhoneGap. https://github.com/Telerik-Verified-Plugins/Facebook I have built the application using "$phonegap build ios --device". But problem is that after running the app on iPad my application gets stuck,…
User7723337
  • 11,857
  • 27
  • 101
  • 182