phonegap-build

PhoneGap Build: SocialSharing Plugin Not Loading

↘锁芯ラ 提交于 2019-12-13 01:29:37
问题 I am trying to use the SocialSharing Plugin with PhoneGap Build. I have put the following into the config.ml file: <gap:plugin name="nl.x-services.plugins.socialsharing" version="4.0.8" /> Here is a sample of my HTML index page: <html> <head> <script type="text/javascript" src="SocialSharing.js"></script> </head> <body> <section id="landmarks" data-role="page"> <button onclick="window.plugins.socialsharing.share('My message')">share!</button> <button onclick="window.plugins.socialsharing

Tel:* and Sms:* links don't work on ios under cordova in phonegap?

ε祈祈猫儿з 提交于 2019-12-13 00:22:48
问题 My app uses href: tel links and it worked correctly, when I first released it a year ago. I used allow-intent in my config.xml: <access origin="*"/> <access origin="tel:*" launch-external="yes"/> <access origin="sms:*" launch-external="yes"/> <plugin name="cordova-plugin-whitelist"/> <allow-intent href="http://*/*"/> <allow-intent href="https://*/*"/> <allow-intent href="tel:*"/> <allow-intent href="sms:*"/> <allow-intent href="mailto:*"/> <allow-intent href="geo:*"/> But now freshly compiled

Phonegap file transfer plugin causing the Android build to fail

北城以北 提交于 2019-12-12 22:54:11
问题 I'm working on a mobile application for using Phonegap/Cordova, I'm using the file transfer plugin to upload photos from the photo library. The iOS build was a success, while the Android build is giving me an error. I'm not sure what's causing the build to fail and how to prevent that failure. Here's the build log: http://freetexthost.com/orbg5lm0en 回答1: cordova-plugin-file-transfer has a dependency for cordova-plugin-file 5.0.0, which is not compatible with your cordova-android version, it

Jquery Mobile + Phonegap improve listview performance

对着背影说爱祢 提交于 2019-12-12 22:00:41
问题 In my JQM 1.4 + Phonegap 3.6 app, I am using a listview as in the following code. HTML: <div id="boardselection"> <ul id="modelsListview" data-role="listview" data-icon="false"> </ul> </div> JS: function resetModelsListView(prodata, firsttime, funfeatureOn, specificBrand, specificPro) { console.log("on passe dans resetModelsListView"); // funfeatureOn = 0; //debug timer var time = []; var dummy; var i; var listviewdeferred = $.Deferred(); var optionspro = ''; var optionsbrand = ''; var

The max number of retries was performed. Upload ipa issue

纵饮孤独 提交于 2019-12-12 21:32:59
问题 I have built ipa using build.phonegap.com. I am trying to unload this ipa to the store, but got this error: 回答1: I solved this problem. Install xCode 4. And use version application loader of this xCode 4. And this problem was resolved. 回答2: this problem is network is not stable, change the network or restart Xcode(application-loader) trying. itc help 来源: https://stackoverflow.com/questions/23756540/the-max-number-of-retries-was-performed-upload-ipa-issue

Writing the following curl in PHP

耗尽温柔 提交于 2019-12-12 21:25:14
问题 How would I write the following Curl in PHP? I need to automate this process in php. $ curl -F file=@/Users/alunny/index.html -u andrew.lunny@nitobi.com -F 'data={"title":"API V1 App","package":"com.alunny.apiv1","version":"0.1.0","create_method":"file"}' https://build.phonegap.com/api/v1/apps Here is the link to the Phonegap Build API. http://docs.build.phonegap.com/en_US/developer_api_write.md.html#_post_https_build_phonegap_com_api_v1_apps Any help would be greatly appreciated. This is

Splash Screen Size in PhoneGap App

淺唱寂寞╮ 提交于 2019-12-12 18:14:43
问题 I am trying to set a width and a height for my splash screen in my config.xml . I am using PhoneGap Build and the PhoneGap version is 3.7.0 , and the target is Andoird . The splash screen always shows up very distorted (i.e. it will always be resized so it fits the entire screen). The following has no effect: <gap:splash src="./assets/img/logos/appLogo.png" width='200' height='100' /> And the following does not make the splash screen show at all: <gap:splash src="./assets/img/logos/appLogo

Adding Custom Parameter - Phonegap Build

 ̄綄美尐妖づ 提交于 2019-12-12 16:16:24
问题 Recently Apple has made it mandatory to add declare encryption/cryptography with every build uploaded to Itunesconnect. But since it is not applicable to me since my app doesn't involve in any of those functions said by apple page (Correct me If I am wrong).I would like to apply for exemption from it. For that I have to add <key>ITSAppUsesNonExemptEncryption</key><false/> to info.plist as specified by Ituneconnect manual. Since my app is built with Phonegap Build I can only add with config

Splash screens not working in PhoneGap Build

岁酱吖の 提交于 2019-12-12 12:27:47
问题 I can't get splash screens working at all, in either Android or iOS. I'm using PhoneGap Build and I've set config.xml like this, which is for v3.0.0 now. <?xml version="1.0" encoding="UTF-8" ?> <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/3.0.0" id = "myid" version = "1.0.0"> <name>myname</name> <description> mydesc </description> <author> </author> <preference name="permissions" value="none"/> <preference name="DisallowOverscroll" value="true"/>

Unable to load image when selected from the gallery on Android in phonegap

守給你的承諾、 提交于 2019-12-12 12:08:02
问题 I want to select image form android gallery and upload image to server. My code works properly for IOS apps. But not getting image from android phone. Inside android app getting show image url like this content://com.android.providers.media.documents/document/image%3A352 What should I do to get the right image extension from Android gallery? I am using Hybird App with Phonegap. document.addEventListener("deviceready", onDeviceReady, false); // device APIs are available // function