phonegap-build

Phonegap: Android 6 status bar overlaps webview

∥☆過路亽.° 提交于 2019-12-12 10:11:57
问题 I built an app with PhoneGap for Android. It works fine untill you open any text input - after that status bar overlaps webview and stays there. Ive searched all questions and seems like its a common problem for iOS 7, but not for Android. And no menthions of phonegap issues whatsoever. Before touching input field After touching input field Any ideas how to override it for Andorid built in Phonegap? 回答1: There was fullscreen enabled by default in config.xml Disabled it and now it works

Plugin to get the version of PhoneGap App?

*爱你&永不变心* 提交于 2019-12-12 09:31:28
问题 I am using PhoneGap build to package my app is there any PhoneGap or 3rd Party Plugin that I can include in my config.xml to get the version of the app in the runtime? Any suggestion on best way to get the version of the App would be appriciated. 回答1: This plugin works on iOS, Windows Phone 8 and Android: http://plugreg.com/plugin/whiteoctober/cordova-plugin-app-version If you're using the Cordova CLI, you can install via: cordova plugin add https://github.com/whiteoctober/cordova-plugin-app

How to implement Google Analytics in hybrid mobile apps?

拜拜、爱过 提交于 2019-12-12 09:01:17
问题 I am writing a hybrid mobile app using HTML5, CSS and jQuery Mobile. I will use Cordova Js to convert the HTML5 app to native mobile apps for iOS and Android. I want to use Google Analytics to track various activities performed by users. I found that GA provides SDKs for native apps but not much was specified for hybrid apps. Have you implemented tracking for Cordova or PhoneGap based apps? Can you provide me some direction on how to do it? 回答1: I use the ngCordova Google Analytics plugin.

Phonegap images not showing

非 Y 不嫁゛ 提交于 2019-12-12 08:29:19
问题 I'm having trouble getting my images to work in my phonegap build. I've read that the absolute paths might not work so i've tried both absolute and relative paths, still no luck. I'm including the images like this: <Col key={1} xs={3}> <Image src='/tire_selected.png' responsive /> </Col> or relative <Col key={1} xs={3}> <Image src='tire_selected.png' responsive /> </Col> equals <img class="img-responsive" src="tire_deselected.png" data-reactid=".0.0.1.0.0.0.0.1.1.0.0.$4.0"> Col & Image is

When updating code in Phonegap, Malformed config.xml error

会有一股神秘感。 提交于 2019-12-12 06:09:19
问题 I am trying to build a PhoneGap project. If I try to compile my code using PhoneGap Build I get a malformed config.xml error. Everytime I try to upload it, it becomes malformed. This is my config.xml : <?xml version="1.0" encoding="utf-8"?> <widget id="com.ksrsac.demo" version="1.0.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" > <name>Mapbox</name> <description>Mapbox GIS</description> <author href="http://cordova.io" email="dev@cordova.apache.org">Ksrsac<

PhoneGap Build Android creates floating bubble with 3 dots

删除回忆录丶 提交于 2019-12-12 05:58:17
问题 I created an Android app with Phonegap Build and it created a floating bubble with 3 dots in it. When I test my app on my computer it does not create these three dots, only when I run it on my Galaxy S6. Below is a picture: 回答1: Okay Mike, I suspected this was addition or replacement for the defunct [Menu Button]. Recently, I did some demo Apps on Phonegap Events. Among the apps, was the demo for events: for Physical Buttons (backbutton, menubutton, searchbutton), which includes NOTES for

Multiple versions of app in Google Play Store

不羁岁月 提交于 2019-12-12 05:22:26
问题 I wanted to know if it is possible to submit multiple versions of the same app to the Google Play store. I know that Google Play allows developers to submit multiple APK's to the target certain device configurations, but we would like to release a different name of the app to each of our clients. Things that would be different in each app are the logos, app names, access to different types of information for each customer. I wanted to know if this would violate the Google Play Store's

when calling a plugin method from phonegap app, data returned from native android function is always out of scope (undefined)

荒凉一梦 提交于 2019-12-12 05:07:23
问题 I cannot figure out how to get a value back from a cordova plugin back to the app's javascript scope. I can send values to the plugin just fine. I'm using phonegap build. Here's the code: the plugin's javascript: var exec = require('cordova/exec'); module.exports = { getSomething: function(successCallback) { exec(successCallback, null, "PluginName", "getSomething", []); } }; the plugin's java: import blah blah blah; public class PluginName extends CordovaPlugin { public PluginName(){ } public

Can I use the native android camera in phonegap over an iframe and send pictures on my webserver?

心已入冬 提交于 2019-12-12 04:29:01
问题 I am building an app and because of my missing knowledge of java and Xcode I decided to make this app in HTML,PHP,CSS & javascript(jquery). Now I'm facing the problem of getting this app to the different devices and I want to use PhoneGap for that. I placed an index.html inside the server for the app and there is an iframe placed inside and nothing more. Is it still possible for me to get access to the media storage and send PHPdata back and forth while having an iframe as a bridge between

404 error for an existing url calling from cordova app [duplicate]

我是研究僧i 提交于 2019-12-12 03:58:29
问题 This question already has an answer here : Refused to connect to [Any Url] because it violates the following Content Security Policy directive (1 answer) Closed 4 years ago . Here is my angular controller of a cordova app angular.module('mobApp.controllers', ['ionic']) .controller('SignupController', function($scope, $http, $location) { $scope.submitCommonSignUpForm = function(isValid, formData) { if (isValid) { var d = formData; $http.post('http://X.X.X.X/api/v1.0/basicSignup',formData).