Questions tagged [phonegap]

PhoneGap is a distribution of Apache Cordova. You can think of Apache Cordova as the engine that powers PhoneGap, similar to how Blink is the engine that powers Chrome or Opera. Over time, the PhoneGap distribution may contain additional tools that tie into other Adobe services, which would not be appropriate for an Apache project. For example, PhoneGap Build.

If you are new to PhoneGap, please read this information before posting:

When asking a question, provide us with the following information where it is pertinent:

  • Your PhoneGap and Cordova version, as well as the platform version you are using (Android, iOS, etc.)
  • JavaScript technologies you are using: jQuery, Ionic, etc.
  • Platform(s) you are targeting: iOS, Android, etc.
  • If you have tested on a physical device, include device models as well.
  • OS and version you are building on: PC, Mac, Ubuntu, etc.
  • Software you are using to build/compile: CLI, Eclipse, Adobe products, etc.

If something is "not working" then provide the above and:

  • Post an example that reproduces the error by cutting the code down to the smallest it can be while still demonstrating the error. Please do not post hundreds or thousands of lines of code.
  • Exact error messages you are receiving. These should include the log information before the error message as often the error occurs a long way before the message.
  • Screen shots or animations showing the issue if possible (and an explanation of what's wrong and what you expect to see). Please do not post just the screen shots of error messages as they are often impossible to read and rarely have the right information.
  • Be concise and clear about what your problem is. Remember that nearly no one will have any idea about your project, your level of experience, what your app should do (or shouldn't) or what you have done to try and fix the problem.

The people who get the most help are the people who provide a clear explanation of what their problem is and provide accurate and appropriate information to help others debug their problem. You have to help us to help you.

Useful Links

Source code

Documentation

1811 questions
130
votes
9 answers

Cordova app not displaying correctly on iPhone X (Simulator)

I tested my Cordova-based app yesterday on the iPhone X Simulator in Xcode 9.0 (9A235) and it didn't look good. Firstly, instead of filling the full screen area, there was a black area above and below the app content. And worse, between the app…
DaveAlden
  • 30,083
  • 11
  • 93
  • 155
92
votes
11 answers

How to upload IPA now that Application Loader is no longer included in Xcode 11

I'm a little afraid to ask this question because the problem seems huge to me and yet I don't see anyone panicking about it. I'm a little afraid to sound crazy, but I'm going to go for it : As we can read on Apple's post Submissions Update…
Enzo B.
  • 2,341
  • 1
  • 11
  • 33
75
votes
5 answers

Phonegap + jQuery Mobile, real world sample or tutorial

Does anyone know of a really good tutorial or sample project where Phonegap and jQuery Mobile is used for a real world example? All the examples I found were showing fancy transitions or theming in jQuery Mobile. The Phonegap examples mostly…
Jack
  • 16,506
  • 19
  • 100
  • 167
75
votes
10 answers

Struggling between native and phonegap, simple app requirements

I'm going to make a native (meaning; not in the browser) mobile app. Since I'm a web-developer I'm struggling to decide whether or not I should try Phonegap or just build an native app in java or objective-c. The app requirements are simple.…
Henrik O. Skogmo
  • 2,013
  • 4
  • 19
  • 26
56
votes
5 answers

Cordova build iOS error: archive not found at path 'path/to/myApp.xcarchive"

I have been struggling to get Cordova to work and run on my iPhone. I follow the commands below but see error below at build: cordova create myApp org.apache.cordova.myApp myApp cd myApp cordova platform add ios cordova build ios I get the error…
TheBen
  • 3,410
  • 3
  • 26
  • 51
37
votes
9 answers

Cordova does not create AndroidManifest.xml

I am working in Cordova and AndroidStudio to create Android/iOS apps. Everything was working fine until I updated my Cordova to 8 yesterday. I also updated Node to the latest. When I create a Cordova project and add the Android platform. It yields a…
Kamran
  • 591
  • 1
  • 5
  • 9
26
votes
5 answers

Are there any good Phonegap tutorials except for "Hello" stuff?

I want to start looking into Phonegap for deploying iOS and Android apps. I was wondering if there are any good Phonegap tutorials except for the basic "Hello" stuff.
Otroberts
  • 347
  • 1
  • 4
  • 7
16
votes
2 answers

UI is not updating while scrolling the UI

I am working on Cordova application. Where i am connecting to a real time sensor and reading some data from the sensor. Problem is the data is scrambled when i scroll the view. This is working in android but not in iOS. Here is my code snippet.
naresh
  • 627
  • 1
  • 7
  • 28
14
votes
2 answers

Ionic - Build for IOS on Windows (for latest IOS and Ionic)

I successfully built my app for Android, but naturally things are not that simple for IOS for a windows user. This question has been asked many times before in many places at different times in different versions, but I'm interested to see if…
Royi Bernthal
  • 882
  • 4
  • 17
  • 45
12
votes
3 answers

I'm getting an error when building an Ionic 3 app

I just updated to Mac Mojave(I'm sure if that the cause of my issue). The problem is that every time i try to build my app using the command. ionic cordova build ios I get the following error. CordovaError: Promise rejected with non-error:…
Millenial2020
  • 2,465
  • 9
  • 38
  • 83
12
votes
1 answer

External access for PouchDB, error on sync

I'm creating an app which is pulling data down from a local CouchDB. However when I change the remote db url from localhost:5984 to my ip :5984 so that I can test from my mobile I get the following error when I sync from a remote…
Shardj
  • 1,800
  • 2
  • 17
  • 43
11
votes
1 answer

Reading file using Cordova File Plugin

I'm using cordova file plugin - cordova file plugin I'm actually reading the file from the textfile. Below is my code document.addEventListener("deviceready", function () { window.resolveLocalFileSystemURL(cordova.file.applicationDirectory +…
Matarishvan
  • 2,382
  • 3
  • 38
  • 68
10
votes
2 answers

No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android how fix it?

iam trying build cordova app, and return this menssage: No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android. (I am using Windows 10 SO) Anyone can help me?
Sidnei Sanches
  • 101
  • 1
  • 3
10
votes
4 answers

Phonegap - Missing App Store Icon 1024x1024px App Store Icon

This is for PhoneGap. When submitting the .ipa with ApplicationLoader I'm getting this error: WARNING ITMS-90704: "Missing App Store Icon. iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon in the Asset…
Kamy D
  • 1,071
  • 2
  • 13
  • 23
10
votes
3 answers

Does Phonegap support root relative path? What are the best practices?

I'm really baffled after reading PhoneGap on iOS with absolute path URLs for assets and have a couple of questions: Does Phonegap supports root relative path? For instance Ionic framework for Hybrid Mobile development has such kind of path in their…
Ilya Buziuk
  • 1,839
  • 5
  • 27
  • 43
1
2 3
99 100