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
2 answers

Is there any secure method to run CordovaCLI commands from a bash script as www-data?

What should I do to securely run some CordovaCLI commands such as: cordova prepare, cordova clean, cordova platform add android with Apache Cordova 5+ in Linux Ubuntu web server by running a bash script, or even better from within a php script?
jjyepez
  • 352
  • 3
  • 7
0
votes
1 answer

Issue using JSON data with Framework7 and PhoneGap

I'm new diving into the whole mobile app development so I've been using the tutorials from framework7 and testing the app on my phone with PhoneGap but I've encountered an issue that I simply can't understand what's happening. About the app: I'm…
0
votes
1 answer

Error: Unexpected token Y while creating phone gap project

I am using the following command sudo cordova create helloworld com.helloworld Hello World above command is not working because in the third argument (Hello World) there is space involved...so it is giving Error: Unexpected token Y As third…
Bunny
  • 237
  • 2
  • 13
0
votes
1 answer

How can I achieve a surround sound effect for android in PhoneGap?

How can i achieve a surround sound effect for android in phonegap? Like there is this OpenAL4Android. How do I use it in PhoneGap?
Shiven Sinha
  • 656
  • 5
  • 14
0
votes
2 answers

Phonegap Build CLI failing - Node proxy different between machines?

We're using the PhoneGap Build CLI on two separate machines, with no difference in node environments that we can tell. On one of the machines, it works without issues. On the other, we get the following message: [phonegap] compressing the…
wa-rren-dev
  • 327
  • 1
  • 4
  • 12
0
votes
2 answers

Cordava installation Error

I tried to install apache cordava using npm command "npm install -g cordava". Every time it shows error 404 cordava not present in npm registry. How to fix this and install latest version of Cordova?
imrankay
  • 11
  • 8
0
votes
1 answer

Phonegap plugin: BarcodeScanner causing errors in Eclipse

I am a student, new at phonegap mobile app development. I am trying to install the BarcodeScanner plugin following this guide. The guide mentioned installing 3 plugins, BarcodeScanner, Dialogs and Inappbrowser. Here is the problem: Eclipse found…
Detective merry
  • 384
  • 1
  • 21
0
votes
0 answers

QR scanner doesnt work with phonegap

I've started with Phonegap, I'm also using the Phonegap developer app in my iPhone to test apps, so I've tried every code sample I have found. However, none of them worked. Is there a problem when using Phonegap developer for testing barcode…
0
votes
1 answer

Upgraded apk is not downloading from existing app

After upgrading the platform and plugins to latest version and newer version app apk is not downloading and installing from existing app(versioning). Existing platform version of app is cordova 4.0.0 and latest apk platform version is 5.1.1. I…
0
votes
0 answers

Phonegap CLI Error: Current working directory is not a Cordova-based project

im new to phonegap, ive tried almost everything i see but heres my problem,i create a new project like this phonegap create myApp then i go into my new project with cd myApp,IM ON THE WORKING DIRECTORY,then i try to add a plugin like this phonegap…
user5487197
0
votes
0 answers

Build phonegap app run using cli

I have phonegap app which build using build.phonegap.com I have cordova installed on my machine I want to create build using cordova build ios But it says Current working directory is not a Cordova-based project, Because project structure for local…
Divyesh Savaliya
  • 2,692
  • 2
  • 18
  • 37
0
votes
0 answers

Cordova new project build Error: Error code 1 for command

I have installed fresh cordova and add android platform now when i run "cordova build" command in cmd, it showing an error. screenshot is below this is the error screen Please help me to solve this Thank you
0
votes
1 answer

Phonegap Unable to Install the apk file on android

I have recently got the following error while installing PhoneGap build apk on phone or emulator pkg: /data/local/tmp/android-debug.apk Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] Then I found the reason for it is due to signatures of the build…
raja
  • 17
  • 6
0
votes
1 answer

How to save base64 images into device using Cordova application?

How to save base64 images into device Gallery using cordova Application.i am getting base64 text as response.
0
votes
1 answer

Cordova build For Windows

I am successfully able to build for android, now I want to build apps for windows. What is the process of setting up the build environment for windows? I do not want to work with Visual Studio, can I install windows SDK as a stand alone and work…
krv
  • 2,830
  • 7
  • 40
  • 79