phonegap-build

phonegap build permissions in android

岁酱吖の 提交于 2019-11-28 19:26:32
I'm using phonegap build to create my app. Is there a way I can configure the permissions asked by android? For now it asks for all the permissions when I actually only need internet, localstorage and notifications. Please bare in mind - I'm only using phonegap build, Not CLI and not Cordova. I have no AndroidManifest.xml only config.xml Can anybody help? Thanks. Edit: This was answered by SvenT23. We both realized that phonegap has removed this answer from their current docs and left it only in the old docs. For future reference I'm adding the instructions from phonegap in case it will get

Which IDE for Phonegap? Is Eclipse enough? [closed]

試著忘記壹切 提交于 2019-11-28 16:39:56
I am about to jump into Phonegap and realize that it doesn't have an IDE of its own. I know that I could use Eclipse to create Android-centric Phonegap apps, but what about the iOS and perhaps Windows Phone and perhaps Blackberry "versions" - can Eclipse be used for all of it? What do most Phonegappers use as an IDE? Does PhoneGap Build make it possible to do it all in Eclipse, and then throw it up to the cloud for the iOS, etc., builds? I'm currently using intel-xdk and it's been great so far. It has the ripple emulator embedded which is great to test your app quickly. Yes, Eclipse is more

Facebook connect plugin is not working in android but working in ios

非 Y 不嫁゛ 提交于 2019-11-28 12:32:08
问题 i have a plugin <gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.9.0"> <param name="APP_ID" value="998855950166112" /> <param name="APP_NAME" value="abc" /> </gap:plugin> This plugin is for fb connected i have issue that its working on ios but not in android. i have search in phonegap repository and and also in npm repository but i didn't get. is this issue for not updating plugin.code is perfect because its works fine on ios. i have search update of plugin but didn't get it

App cache iOS PhoneGap

风格不统一 提交于 2019-11-28 12:22:19
On Android I used file:///storage/sdcard0/Android/data/my.app.id/cache/ to download ( FileTransfer ) some images and then show them in my html. Images and everything else inside this folder gets removed when deleting my app, which is exactly what I want. How to achieve this on iOS? I tried with file:///var/mobile/Applications/<GUID of app>/Documents/ since this is what I got when requesting file system, but the images won't even download (error code 1). Any ideas? I found out more about my error: it's the same error as stated in this question. (Could not create path to save downloaded file -

HTML5 audio not playing in PhoneGap App (Possible to use Media?)

£可爱£侵袭症+ 提交于 2019-11-28 11:30:22
Working on a basic sound board for a trip abroad. Set up everything to work fine in Browsers but wanted to use PhoneGap Build/GitHub to make it downloadable as cell service won't be available. Everything working great in desktop browser however once its installed on Android, the mp3 files don't play. I've read some others posts on here about the inconsistencies of mp3s on PhoneGap. Some suggestions offered using "media" in place of . I'm not sure how to swap that out in place of the code I have now. Seems to use javascript instead of just html. http://docs.phonegap.com/en/2.0.0/cordova_media

Executing several JS files with Ratchet push.js library

╄→尐↘猪︶ㄣ 提交于 2019-11-28 10:26:30
I´m developing a Phonegap app with Ratchet 2.0.2 using push.js for transition between pages. Everything is working smoothly but a couple of hours ago I stumble upon this: Script tags containing JavaScript will not be executed on pages that are loaded with push.js. If you would like to attach event handlers to elements on other pages, document-level event delegation is a common solution. After doing more research I found out this: Execute custom script after page loaded with Ratchet\Push.js Which is almost the same problem I have, however I need to go further because I need to load not only one

Cordova/Phonegap Android target: not installed [Android Studio Installed]

被刻印的时光 ゝ 提交于 2019-11-28 09:20:08
Still facing this issue. I searched all over google could not found a solutions. Mac OSX Sierra Android Studio 2.3 Cordova/ Phonegap (Latest Version) Requirements check results for android: Java JDK: installed 1.8.0 Android SDK: installed true Android target: not installed Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable. Gradle: installed Error: Some of requirements check failed .bash_profile ================================ # Setting JAVA_HOME Path JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_121

PhoneGap: Open external link in default browser (outside the app)

纵然是瞬间 提交于 2019-11-28 08:58:01
I'm trying to open links in Safari (on an iPhone) from a PhoneGap application. I'm using PhoneGap version 3.1.0, and use PhoneGap Build , to build the application. I have two links on the page (shown below in www/index.html). Both links open inside the PhoneGap application. I can see that PhoneGap is loaded correctly, because alert('device ready!'); is triggered. What do I need to change, to open the links in the default browser (outside the app)? The www/config.xml file looks like this: <?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http:/

phonegap build not showing splashscreen

社会主义新天地 提交于 2019-11-28 08:32:04
This question has been asked in the past but none of the answers that I have found have solved the problem for me. I am trying to make a very simple phonegap app to show a splash screen and announce when it is ready. It is just a test app to work out how to use the splash screen. I am using phonegap build through the phonegap cli. phonegap version 3.5.0 tested on android only I have a www folder where config.xml is located. All the splashscreens are located within www/res/screen/<platform>/filename.png my config file is <?xml version='1.0' encoding='utf-8'?> <widget id="uk.co.workshop14

Cordova splash screen remove

夙愿已清 提交于 2019-11-28 07:08:43
Is it possible to disable cordova default splash screen, I have removed the plugin but default splash screen for iphone still is showing and for android white screen is showing.Can this be fully removed. Viky293 in your config.xml change the value to none in the below line <preference name="SplashScreen" value="none"/> You can try the command to remove cordova splash screen ionic cordova plugin rm cordova-plugin-splashscreen mirrrael cordova plugin -rm cordova-plugin-splashscreen Tested on android: To temporarily remove delay caused by splash screen: <preference name="SplashScreenDelay" value=