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
0
votes
1 answer

localization of JSON data

I am creating a hybrid mobile application using phonegap as platform. I just want to localize the data of my app so that I can use the app offline. That is if a user make a login in the app for the very first time as he/she installs the app, all…
0
votes
1 answer

Malformed config.xml when using phonegap and Tag

Trying to Generate PhoneGap Build using Adobe ColdFusion Builder 2016. When I include:
0
votes
1 answer

Angular JS ng-click HTML being set by InnerHTML not reaching scope method

I have an AngularJS phonegap application, where the HTML is just a blank table that is being filled up dynamically by JS Ajax. Ajax brings the required data and fills the table by using innerHTML. In my case, the table is filled with multiple…
NetUser101
  • 272
  • 2
  • 5
  • 20
0
votes
0 answers

Cordova Android App Use deafult Media Player

How can I use deafault media player (VLC, MX player) to play remote videos in my corodova / phonegap / ionic android app. Any ideas will be very helpful. Thanks
0
votes
1 answer

cordova/phonegap has quick loading screen on android

When ever I load my app on android I get a grey screen with the words "player needed"(the apps name) across the top for about a second before my app actually starts. It does not appear on the development testing app only when I do an actual build,…
Maxwell Mullin
  • 509
  • 1
  • 4
  • 10
0
votes
0 answers

Third party payment gateway in a ios app

I've read the Apple Store Review Guidelines and it doesnt seem to be clear for our use case. We're developing a cross platform app with phonegap in which the user can buy or get for free some courses (which will be available to the same user on…
Jedabero
  • 35
  • 1
  • 10
0
votes
2 answers

How can I tell if my PhoneGap JavaScript app currently runs on Android or iOS?

The title says it all: Suppose I have a PhoneGap app, built for both Android and iOS. A user runs my app on his/her mobile phone. At some point I want to give a different message if it's Android or iPhone... How can I detect this in my JavaScript…
Free Bud
  • 746
  • 10
  • 30
0
votes
1 answer

Set language for ads in Admob

So on this page https://support.google.com/admob/answer/2784738?hl=en they mention the following "AdMob will serve relevant ads to your apps in the appropriate language". How exactly is this accomplished and how can I control (for all users) which…
Michael
  • 499
  • 4
  • 16
0
votes
0 answers

Phonegap IOS app goes black after splash screen

I have created an android app that works perfect, however when exporting to IOS and creating with phonegap the app loads the splash screen and then the screen goes black and nothing further happens. Any insight would be very helpful. Thank you.
tekas
  • 1
0
votes
1 answer

How to Add CLI plugin to Phone gap build

Hi I need to add Plugin cordova-plugin-play-games-services via PhoneGap Build. Documentation of plugin says that plugin can be added via CLI as follows: cordova plugin add cordova-plugin-play-games-services --variable APP_ID=you_app_id_here here is…
Shashank Padwal
  • 194
  • 2
  • 19
0
votes
1 answer

Phonegap: SQLite issue

I have a problem with a SQLite query. My database has a table names "tipo", it contains 3 columns: code, categorie and sousCategorie. I fill this table by using a CSV file (CODE_LIT = code, All = sousCategorie, General = categorie): CSVFile My…
Couldosh
  • 371
  • 3
  • 17
0
votes
1 answer

phonegap-plugin-push 2.x registration not firing

I try to use phonegap-plugin-push 2.x. Registration event fires correctly in browser and in PhoneGap Developer app but nothing happens in application obtained from build.phonegap.com. Init is pastedet in deviceready part of code. I'll appreciate any…
wloges
  • 1
  • 1
0
votes
1 answer

Phonegap and Firebase google Fabric / Crash Reporting

how do you use google fabric (eg Crash Reporting) with Phonegap, is there a phonegap plugin? Are there any phonegap-plugins? #AskFirebase
0
votes
3 answers

What does Phonegap local storage return if not set?

Me and my team are developing a Phonegap app, and are encountering some issues. One of our functions looks like this: var email = localStorage.getItem("email"); if (email != "" && email.type != undefined) { //Do stuffs } else { //Do other…
Liam Scaife
  • 3
  • 1
  • 3
0
votes
1 answer

can´t edit custom java plugin in Cordova/Phonegap

I installed a custom plugin for my app and want to make a change to it, but it doesn´t seem to take any effect. I can even remove functions or write wrong syntax, but it just remains in the old state. I tried deleting the local data from the…
Michael
  • 499
  • 4
  • 16