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

cordova.js is not getting generated

I have a cordova project When I do a cordova run android the android project gets generated. But the cordova.js file is missing. The problem started after I added the cordova-plugin-dialogs plugin and built the cordova project. Post adding the…
mujeeb
  • 799
  • 5
  • 18
  • 29
2
votes
1 answer

Phonegap app Content-Security-Policy

I'm bulding an app with cordova. I'm using phonegap serve to load the app with phonegap developer app. In index.html:
Miquel
  • 8,339
  • 11
  • 59
  • 82
2
votes
1 answer

Best way to debug PhoneGap app using the CLI, in a browser

I've been working with PhoneGap for a while now, and since I really had to rush into it, with no real web development experience, I might be doing a couple of things incorrectly in terms of debugging and building. First of all, I am using the…
Laureant
  • 979
  • 3
  • 18
  • 47
2
votes
1 answer

cordova run ios: undefined is not a function

I have a cordova project and try to running iOS I executed: cordova platform add ios cordova build ios cordova run ios Everything is fine with first 2 commands but with last command I got an error: I'm using OS X El Capitan: so any ideas?
Hazem Hagrass
  • 9,329
  • 10
  • 32
  • 54
2
votes
1 answer

Phonegap create build for windows mobile from Mac OSX

I am working on PhoneGap app. I am done with iOS & Android platform for my app. i did use XCode & Android Studio for create build for both. But I am struggling with Windows platform for create app for windows. I have tried below things via…
Vishal Sharma
  • 1,733
  • 2
  • 12
  • 32
2
votes
1 answer

Change default name PG Build App in PhoneGap Build

I would like to know how I can change the default name for my app in phonegap build, when uploading zipped files, PhoneGap Build gives PG Build App as its default name, how can I change it? PhoneGap interface provides input to suggest the app name…
2
votes
1 answer

Where to put the app icons and splash screen files?

As PhoneGap build says to upload only www.zip folder, then I am not able to understand where I have to put the icons and splash screen folder for each platform. Should I put that inside www? The reason to ask this question is that if we are supposed…
Ashvin777
  • 1,446
  • 13
  • 19
2
votes
3 answers

Can bootstrap be used along with html, css, js to build apps using phonegap?

I dont know much about phonegap except that it can build apps from html, css, js. My question is whether bootstrap can be used along with html, css, js to build apps using phonegap?
2
votes
1 answer

Trying to understand how Phonegap/Cordova's config.xml gets included in the build

I'm working on a Phonegap app and have two simple requirements: Lock app orientation to portrait Prevent the device keyboard from changing the height of the window on Android From what I've found, there are two preferences that can be added to the…
budjmt
  • 135
  • 1
  • 9
2
votes
0 answers

Can't launch the ios application using ios-deploy

I am using this command - ./ios-deploy --id "+ Device1_Id + " --justlaunch --bundle "+ DownLoadDirectory +"Payload/JARVIS-iOS.app"+" --args 148.147.230.90" I always get the following error - ios-deploy[43742:618752] [ !! ] Error 0xe8008018: The…
user2606782
  • 260
  • 1
  • 5
  • 15
2
votes
1 answer

Can't install cordova plugin

I am trying to use AdMob in my app. I am using this : https://github.com/appfeel/admob-google-cordova Following this tutorial : https://github.com/appfeel/admob-google-demo I have downloaded the zip. Run it on device and got the following error…
thatOneGuy
  • 9,977
  • 7
  • 48
  • 90
2
votes
1 answer

Ionic, Phonegap - iframes and youtube videos no longer show up

for some reason iframes no longer show up when i use the phonegap app. When i try to run older versions of my app where iframes did work, they no longer work. phonegap version : 5.3.6, cordova version : 6.0.0, ionic version : 1.7.14 does anyone no…
AN11
  • 324
  • 3
  • 12
2
votes
1 answer

why does my phonegap app restart if kept in background for long

my phonegap app restarts if kept in background for long. For example if i open my app the next day it relaunches rather than starting from where i left off. Otherwise it seems to preserve state perfectly. I see this happening for some other apps too…
DevD
  • 1,201
  • 2
  • 12
  • 20
2
votes
0 answers

Cordova error building after adding plugin

Hello I'm using latest version of Cordova 6.1.0 and Android SDK Tools. when I add any admob plugins. the following error message returned after using build command. A problem occurred configuring root project 'android' how can I fix this? BTW…
2
votes
1 answer

Integrating Ruby on Rails 4 app with Phonegap to build a native iOS app

I have created a ruby on rails responsive web application, I wanted to try and use this code to develop a native iOS app and possibly an android app using Phonegap. I followed this tutorial https://www.youtube.com/watch?v=LjIKElAP6_A in an attempt…
Jarvey
  • 75
  • 8
1 2
3
15 16