phonegap-build

imageURI changes after IOS upgrade of app

爷,独闯天下 提交于 2019-12-25 16:53:27
问题 I have a jquery mobile app (phonegap build). I have a function that will get the uri of an image from the device's photo gallery. I store the uri as a string in local storage so the next time the page is opened, the image displays using the uri. All this works fine (I am not getting the Data-UrI of the image because I don't want to use up the local storage, and I certainly do not want to upload the images to a server due to the app being used in a school (privacy issues). on the device is

vertical scrolling blocked by Hammer.js

天涯浪子 提交于 2019-12-25 09:09:14
问题 i am trying to make an app with Intel XDK (build 2727) and right now my problem is that i can't scroll vertical when i have a list which exceeds the screen size. i tracked the problem down to Hammer.js. This plug-in seems to be used for the sidebar. So i tried to comment the source out and voila, it is working. But I need the sidebar and therefore Hammer.js. After research it turned out that others are having the same issue and the most common solution for this seems to be overflow-y: scroll;

Phonegap app performance on Nexsus vs Samsung

戏子无情 提交于 2019-12-25 04:49:14
问题 I'm developing a mobile game for kids in HTML5 using Construct 2 as game engine and Phonegap build to compile the game. I test my game on Nexus 4, 5, and 9 devices, on HTC and on Samsung Galaxy S4 and Samsung Note 3. On the Nexuses and on the HTC my game runs well, but on the Samsung devices my game stuck. What can be difference between the devices? 回答1: Short Answer: Many differences. Here are some helpful articles. Android Fragmentation Visualized http://opensignal.com/reports/2014/android

Phonegap 3.3 project creation through node

眉间皱痕 提交于 2019-12-25 04:24:56
问题 Hi im trying to start a project with phonegap 3.3. The problem I have is trying to get node to start the project. I have the environment variables set up and I have ant included in the set up. This is the error I get(If more information is need I will provide it) [phonegap] adding the Android platform... [error] An error occured during creation of android sub-project. C:\Users\denis\.cordova\lib\android\cordova\3.3.0\bin\node_modules\q\q.js:126 throw e; ^ Error: An error occurred while

Black splash screen - Phonegap Build (Android)

时光怂恿深爱的人放手 提交于 2019-12-25 04:08:23
问题 I'm using this code to add my Splash Screen in the config file with Phonegap Build: <gap:splash src="mdpi-logo.9.png" gap:platform="android" gap:qualifier="mdpi" /> <gap:splash src="hdpi-logo.9.png" gap:platform="android" gap:qualifier="hdpi" /> <gap:splash src="xhdpi-logo.9.png" gap:platform="android" gap:qualifier="xhdpi" /> <gap:splash src="xxhdpi-logo.9.png" gap:platform="android" gap:qualifier="xxhdpi" /> But, when I installed my app on Android plataform, It doesn't work, It shows a

cordova script src takes relative path rather absolute

让人想犯罪 __ 提交于 2019-12-25 03:27:33
问题 I am building a hybrid app out of cordova . my folder structure looks like www bower_components components fonts scripts styles images index.html When i build the project using cordova ( cordova build ) and when i run cordova serve the javascripts files are served from root path Javascript takes from relative path whereas the css are loaded perfectly Please help me in solving this is issue. but this is not problem when i run demo project from cordova . this is index file. its in minified

Per platform configuration (config.xml) on cordova

北慕城南 提交于 2019-12-25 02:29:07
问题 something like- <gap:config-file platform="ios" parent="UISupportedInterfaceOrientations" overwrite="true"> <array> <string>UIInterfaceOrientationPortrait</string> </array> </gap:config-file> like the answer from this question regarding Phonegap. is there an option for it in config.xml on Cordova? 回答1: For screen orientation, adding <preference name="Orientation" value="portrait" /> will result in the CLI adding the specific tags in the platform specific config files each time you build

blank splash screen on android with phonegap build

风流意气都作罢 提交于 2019-12-25 02:10:58
问题 I use phonegap build with phonegap 3 and I can't make my splash screen working on android devices (no test on ios). No error and no splash screen too... In the apk I see my splash images, it's like phonegap build ignore them at the app launch. Here my config.xml file : <?xml version="1.0" encoding="UTF-8" ?> <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" id = "com.phonegap.example" versionCode = "10" version = "1.0.0" > <preference name="phonegap

Phonegap Build - Error Plugin with id 'com.google.gms.google-services' not found

眉间皱痕 提交于 2019-12-25 00:21:31
问题 My build got failed if i include both push notification and google plus plugin. I am building the app using Phonegap Build. I have included push plugin as well as google plus plugin. There is a conflict between both plugins. Here is my config xml: <plugin name="cordova-android-play-services-gradle-release"/> <plugin name="cordova-plugin-googleplus" spec="5.2.1"> <param name="REVERSED_CLIENT_ID" value="com.googleusercontent.apps.2445455956-8dfgs87asd5asd4a5sdasd4j"/> <param name="PLAY_SERVICES

Phonegap build geolocation Error calling method on NPObject

泄露秘密 提交于 2019-12-24 19:26:07
问题 I have a problem with the phonegap/cordova geolocation plugin. I'm creating a application that uses the users geolocation to check if they are close to a position and then do some stuff with that. I kept getting this error: Error calling method on NPObject. I moved the code around and created some new functions to have more specific functions and found the failing code. I put it in a try ... catch to get better errors: getLocation: function() { try { navigator.geolocation.getCurrentPosition