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.
Questions tagged [phonegap-cli]
233 questions
4
votes
2 answers
Cordova plugins manual installation
i tried to install this plugin on my Phonegap app, but the object window.tlantic.plugins.socket seems not to be istantiated. I think it's because when i try to install that plugin with
cordova plugin add com.tlantic.plugins.socket
it can't find…

Giò R Cella
- 41
- 1
- 3
4
votes
1 answer
Phonegap CLI runs from SSH session but not from bash script
I am in the process of setting up a Ubuntu 14.04 server to automate hybrid Android app builds with Phonegap CLI. Having written up all the relevant scripts I ran into a rather strange problem - when I SSH in to my server I can run the script and…

DroidOS
- 8,530
- 16
- 99
- 171
3
votes
2 answers
npm ERR! code ENOENT when adding cordova plugins (cordova deletes the file it's looking for)
I am trapped in a somewhat infinite loop of struggles! Please help xD
No matter what phonegap or cordova cli commands I run, cordova seems to delete the very files it's looking for previous to looking for them.
Here are just a few known commands…

DrewT
- 4,983
- 2
- 40
- 53
3
votes
2 answers
Phonegap App Security - API keys and code
I am building Android apps using Phonegap. The apps use rest APIs. But I have serious questions regarding the security of the API keys. I have been looking for answers everywhere, but the issue hasn't been answered well. As you know, an android apk…

Siddharth Mehta
- 55
- 5
3
votes
2 answers
How to set splash screen for iOS in PhoneGap
I am using PhoneGap for creating iOS application for iOS9+. As per guide line I have added following code in Config.xml to set the splash screen.
// set the cordova plugin

RohitK
- 1,444
- 1
- 14
- 37
3
votes
1 answer
passing data from Cordova to inAppBrowser
I've found this tutorial to use localStorage to trigger an event inside phonegap/cordova: http://www.telerik.com/blogs/cross-window-communication-with-cordova's-inappbrowser
This works perfectly fine. I am using a click function inside the…

suMi
- 1,536
- 1
- 17
- 30
3
votes
1 answer
Calling Java function from Rhino
Calling Javascript functions running inside Rhino from Java is easy enough - that after all is why Rhino was created. The thing I am having trouble establishing is this:
Context: I have a Phonegap CLI (v 6.3.3) Android project (API 19+) where I do…

DroidOS
- 8,530
- 16
- 99
- 171
3
votes
1 answer
phonegap --autoreload and console.log not working
I am building a phonegap app and need quick test feedback on the live devices
Smasung Galaxy note 3
iPhone 5s
I am using phonegap CLI to serve.
I have been building on my home desktop PC running windows 7, and am currently working elsewhere on my…

HardBurn
- 382
- 2
- 16
3
votes
1 answer
cordova.js not loading in iOS simulator - file:///cordova.js Failed to load resource: The requested URL was not found on this server
I have two projects - a demo project and an actual project. In the demo project, cordova.js (and all the rest of my js and CSS) load correctly. In the actual project, all the links to js and CSS are improperly formatted.
In the demo project, the…

crdzoba
- 651
- 1
- 7
- 20
3
votes
2 answers
Uncaught TypeError: Cannot read property 'OneSignal' of undefined", source: file:///android_asset/www/js/app
I'm trying to initialize OneSignal to a PhoneGap application.
I tried many ways. But always it gives following error,
Uncaught TypeError: Cannot read property 'OneSignal' of undefined",
source: file:///android_asset/www/js/app.js error.
This is…

Choxmi
- 1,584
- 4
- 29
- 47
3
votes
2 answers
How to change the webview background color with phonegap on iOS
I recently upgraded from phonegap CLI 4.1.2 (cordova build version 3.7.0) to CLI 6.0.1 (cordova build version 4.0.1) I can see while the phonegap webview bounce works on iOS but there is a background color that can be seen underneath the app content…

DevD
- 1,201
- 2
- 12
- 20
2
votes
1 answer
cordova build minsdkversion error
I am getting a strange error when trying to build an empty phonegap project which has no additional plugins
Error: /home/arjun/Desktop/phone/goodbackup/platforms/android/gradlew: Command failed with exit code 1 Error…

arjun
- 1,594
- 16
- 33
2
votes
4 answers
Phonegap / Cordova - Build Apk
Does anyone know how to generate the apk?
I'm trying to build the apk of my application with Phonegap / Cordova CLI. I need some tutorials or information about it.

ATellez
- 115
- 1
- 11
2
votes
0 answers
PhoneGap - Vimeo video embedded in an iframe not showing up in the PhoneGap Developer iOS app
I'm trying to include a Vimeo video in my PhoneGap app so I added the embed code generated on Vimeo in my html page:
2
votes
1 answer
Phonegap Build , App icon does not apear
I am updating my currently app.
Having problems with getting my app icon to show in notification using the Local Notification plugin.
https://github.com/katzer/cordova-plugin-local-notifications/
I have my notification setup as:
…

Olajide Olaolorun
- 143
- 8