phonegap-build

How to make a custom private plugin in phonegap

Deadly 提交于 2019-12-22 03:40:08
问题 Is there any way to achieve this? Everywhere I see contributing to plugin development or making use of an existing plugin (which are public). I would like to make a private plugin. Is this possible? I'm aware that through eclipse (for android) I can do this. But anyway to do this using phonegap build process so that I can make use of other advantages of using phonegap build? 回答1: As of 9.Decemeber 2014, it's now possible to use custom private plugins in Phonegap build. From Q2 2016 the

Phonegap desktop not launching properly ..keeps loading

被刻印的时光 ゝ 提交于 2019-12-21 20:03:23
问题 I have installed phonegap desktop v(0.3.0) on windows 7 (64 bit) 回答1: it appears that the 0.3.0 release was problematic. There is a new version (0.3.1) to address the issue. See this Blog post for details: PhoneGap Desktop App 0.3.1 Download for Mac Download for Windows 回答2: My Problem got resolved. downloaded the new version (0.3.1) from below link and installed it https://github.com/phonegap/phonegap-app-desktop/releases 回答3: I solved it by going to the phonegap directory and running (as

Disable zoom buttons in Phonegap's inappbrowser

ぐ巨炮叔叔 提交于 2019-12-21 16:51:09
问题 After hours of searching and trying different things I'm close to give up. I want to open an external URL in the inAppBrowser that is now included to the Phonegap Build. I remove the address bar with location=no (also tried toolbar=no , but it didn't do anything), however the zoom (+ and - buttons) that appears whenever you scroll the page won't go away. I can't find a way to disable it, but maybe I overlook something? I'd just use the pinch zoom, so I don't see the reason to have these ugly

Create a Custom AdMob Plugin for Phonegap Build (for iOS and Android)

微笑、不失礼 提交于 2019-12-20 10:16:10
问题 Everything in my Phonegap Build app is working, including the Analytics and FacebookConnect plugins. However, now I would like to add AdMob ads. Phonegap Build does not provide a built-in plugin for AdMob, but according to the Phonegap Build Plugins page, you can now add your own custom plugins (see Contributing Plugins at the bottom of the page). PhoneGap Plugins can be made compatible with PhoneGap Build with the use of a plugin.xml file... The Phonegap Build Plugins page references the

PhoneGap Ripple Emulator always reports malformed config.xml

北城以北 提交于 2019-12-20 09:57:06
问题 Does anyone have any idea, what can cause Ripple Emulator (newesest version) onboard newest version of Chrome to always report malformed or missing config file (" config.xml file could not be found in application's root or is malformed XML ")? I have my config.xml present exactly at application root (i.e. in the same folder, where index.html file, used to fire my mobile application). I don't think it's malformed since PhoneGap Bulid builds perfectly working applications (though tested only on

Push notifications: Why use Amazon SNS over Google's GCM/FCM?

为君一笑 提交于 2019-12-19 16:54:40
问题 I have created a mobile app for Android and iOS using Phonegap Build. Last year I had nearly finished writing code to use GCM (Google Cloud Messaging) for remote push notifications - which can go out via Apple's APNS too - but the project was shelved. This year the project is resurrected and I find Google has changed everything to Firebase (FCM). I then read some enticing things about Amazon SNS handling notifications. Just when I started to think SNS might be a better option, I noticed you

Cordova WKWebView Plugin with PhoneGap Build Version 6.0.0

时光怂恿深爱的人放手 提交于 2019-12-19 08:57:56
问题 From the blog post about PhoneGap 6.0.0 being available on Build my understanding is that we can now use the Cordova WKWebView engine with apps build with PhoneGap Build. See: http://phonegap.com/blog/2016/02/09/phonegap_6_now_on_build/ https://shazronatadobe.wordpress.com/2015/09/09/apache-cordova-ios-4-0-0-and-wkwebview-support/ https://github.com/apache/cordova-plugin-wkwebview-engine I've updated my config version to include the following but am still getting the default UIWebView:

Phonegap Build: download image in one of the folders of your app

让人想犯罪 __ 提交于 2019-12-19 04:49:09
问题 I am able to download an image if I specify the path directly with file:///storage/sdcard0/ How can I save an image to my one of the folders in my app ? I tried this approach to set app path but it doesn't work for me. This is what I am using so far and it works if you want to save and image to sdcard: var fileName = "myImage.png"; var fileTransfer = new FileTransfer(); var uri = encodeURI("http://my.url.to.image/myImage.png"); var filePath = "file:///storage/sdcard0/uploads/myImage.png";

PhoneGap build error “plugin unsupported: …”

China☆狼群 提交于 2019-12-19 03:14:16
问题 The following config.xml results in error: <?xml version="1.0" encoding="UTF-8" ?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="LogIn" version="1.0.1" versionCode="10" > <name>...</name> <description>...</description> <author >...</author> <preference name="phonegap-version" value= "3.5.0" /> <preference name="orientation" value= "default" /> <preference name="target-device" value= "universal" /> <preference name="fullscreen" value= "true" />

PhoneGap: modify config.xml to add properties to Info.plist ion iOS

早过忘川 提交于 2019-12-18 15:53:42
问题 For my application, I need to add some settings to the Info.plist file for iOS. I thought the best way to do this, would be to add these settings to my config.xml file (I'm using PhoneGap). When I add the following to the config.xml file and run cordova build ios or cordova update platform ios Nothing is added to my Info.plist file, and I absolutely have no idea why that is. The build show 'success', so I don't think there's a syntax error. I've tried: <platform name="ios"> <allow-intent href