phonegap-build

PhoneGap: Device orientation under iOS

女生的网名这么多〃 提交于 2019-12-09 19:10:28
问题 I created a new PhoneGap app using the following phonegap create hello-world com.hello.world HelloWorld With PhoneGap 4.2.0-0.25.0. However, I am not able to change the viewport orientation to landscape on the iPhone or the simulator. I tried the following two methods within my config.xml. <preference name="orientation" value="default" /> <preference name="orientation" value="landscape" /> I am still not able to use the app in landscape mode. (Of course I disabled any rotation locks on my

iOS textarea text hidden when using -webkit-overflow-scrolling: touch

佐手、 提交于 2019-12-09 04:46:50
问题 Once again I am here because I have exhausted my research on the subject. I have a very simple setup with very simple markup and yet a very strange behavior. The behavior is eerily similar to (Firefox and Angular: Textarea placeholder doesn't appear until first focus) but I am experiencing it in a different environment. Consider the snippet with a readonly text area. This brings bad a list of comments, where 2-3 fit on the screen before having to scroll for some more already loaded comments.

How to use phonegap-facebook-plugin under CLI 5.2 / PGB

浪尽此生 提交于 2019-12-08 13:24:54
问题 This question is related to the issue I opened few days ago https://github.com/Wizcorp/phonegap-facebook-plugin/issues/1173 Android Log: http://pastebin.com/iiTGP20G IOS Log: http://pastebin.com/UShGmpNy Summary : be able to use phonegap-facebook-plugin under CLI-5.2 As I have an important release to do and the repo owner is not responding, I'm trying to find a solution to build my application on PGB with official phonegap-facebook-plugin. I'm looking for one of these: Some tips or ideas to

Phonegap remove title bar at start

六眼飞鱼酱① 提交于 2019-12-08 11:54:28
问题 im new to with phonegap. Cant remove title bar at start of my app. The point is that im using phonegap for packaging, but i do not have any androidmanifest.xml file in the project folder, thought i have it in my android sdk tools on the other drive, but still changing <application android:theme="@android:style/Theme.NoTitleBar"> gave no result. To build my app i run - phonegap run android in my app folder. Any ideas?? thnx) 回答1: Sounds like you are using Cordova and PhoneGap (not PhoneGap

Cordova PhoneGap Floating Icon Android 5+ Samsung S6

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-08 11:54:07
问题 I'm currently building an App with Cordova/PhoneGap for IOS and Android. I am having an issue with a floating Icon that appears on my Samsung S6 but not an Samsung S4. I've also tested the app on IOS devices and Asus Android 4.4.2 and it doesn't appear on those devices. This is a movable floating icon like the android HALO project. Does anyone know how to remove the floating Icon completely? Here is the link to the screen shot I took. 回答1: I found this via a web search: http://forums

Facebook plugin: init not called with valid version

三世轮回 提交于 2019-12-08 09:48:25
I use phonegap build to create debug version for android. I want to use facebook plugin. In Config.xml I have <gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.4.0"> <param name="APP_ID" value="509210995889450" /> <param name="APP_NAME" value="Food share" /> </gap:plugin> I use the file facebookConnectPlugin.js which is from the official plugin Github for facebook. calling: facebookConnectPlugin.login([], success, fail); I get: Error: init not called with valid version Error at Object. ( http://connect.facebook.net/en_US/sdk.js:37:148 ) at window.FB.require ( http://connect

requestFileSystem not firing any callbacks on iOS

放肆的年华 提交于 2019-12-08 09:08:56
问题 I'm using PhoneGap build from Adobe. I am trying to write to iOS native file storage. My config.xml <gap:plugin name="org.apache.cordova.file" /> <preference name="iosPersistentFileLocation" value="Compatibility" /> <gap:platform name="ios" /> Index.html contains <script src="cordova.js"></script> My js window.onerror = function(error) { console.log(error); }; document.addEventListener("deviceready", onDeviceReady, true); function onDeviceReady() { console.log('Here we go'); window

Cordova/PhoneGap Build Error

a 夏天 提交于 2019-12-08 08:57:28
问题 I am getting the following error when I am trying to build my phonegap project. D:\LWMobile\hello>cordova build android . . . BUILD FAILED C:\AndroidSDK\adtbundle\sdk\tools\ant\build.xml:601: The following d while executing this line: C:\AndroidSDK\adtbundle\sdk\tools\ant\build.xml:720: The following d while executing this line: C:\AndroidSDK\adtbundle\sdk\tools\ant\build.xml:734: Class not foun Total time: 2 seconds Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,D:\LWMo atforms

Angular 4 packed in PhoneGap app shows blank screen

主宰稳场 提交于 2019-12-08 08:16:37
问题 I wonder if anyone has had the same problem. I have a project based on Angular 4 using angular cli which works fine in web browsers. When I pack it in the cloud service of Adobe build.phonegap.com and install it on my Android tablet it shows blank screen. I made an experiment creating a new angular cli project and with no any changes packing it directly in build.phonegap.com and the result is the same - blank screen when open the installed app in the tablet. The very scarce information on the

Phonegap Build - No App Icon on Device

∥☆過路亽.° 提交于 2019-12-08 08:12:14
问题 I have a small mobile app that was uploaded to Phonegap Build to bundle the app for different platform, I only insterested in the android bundle for now. The challenge is after uploading the app and phonegap gives the apk I install on my device, the icon to launch the app on the device is the generic phonegap icon, I already added this to my config file and the files are in place correctly in the icon folder <!-- Define app icon for each platform. --> <icon src="icon/icon.png" /> <icon src=