phonegap-plugins

cordova/phonegap application crashes when using device plugin with windows phone 8

六月ゝ 毕业季﹏ 提交于 2019-12-11 09:45:41
问题 I installed the device plugin using this command line from my application directory: plugman install --plugin org.apache.cordova.device --platform wp8 --project . However when I try and use device this way: console.log( "device.platform: " + device.platform ); my App crashes with this error: The thread 0xfc8 has exited with code 259 (0x103). Please what is wrong with this? Am I missing anything? 来源: https://stackoverflow.com/questions/26386379/cordova-phonegap-application-crashes-when-using

Adding CookieManager to android Childbrowser

白昼怎懂夜的黑 提交于 2019-12-11 09:36:09
问题 I am trying to get local cookies (file://) to work on android 3.1+ within ChildBrowser. I found a blog response talking about this specific issue and how to remedy it with Cookie Manager. I can't figure out where in the plugin to put the code. Has anyone successfully implemented this? Comment Below from http://code.google.com/p/android/issues/detail?id=3739 Comment 16 by edtechk...@gmail.com, Feb 1, 2012 I got this thing working, for Android 2.2, javascript's document.cookie works fine, just

Phonegap 3 - Android Plugin not working

牧云@^-^@ 提交于 2019-12-11 09:28:27
问题 I have developed a custom phonegap plugin for android - https://github.com/bharatkaushik/AndroidEstimoteBeacons I have placed my plugin folder, within my project's Phonegap's plugin folder. My project's config.xml entry for this plugin is as follows: <feature name="EstimoteBeacons"> <param name="android-package" value="org.bkaushik.estimotebeacons" /> <param name="onload" value="true" /> </feature> I am not able to see my plugin's java files in my android project. Also, when I try to see the

WebView slow on loading content

[亡魂溺海] 提交于 2019-12-11 07:37:10
问题 I am doing a custom dialog plugin for PhoneGap in Android. The Notification plugin for PhoneGap cannot set text in HTML format in dialog boxes. So I decided to make my own using WebView. But I noticed that when the Alert.Dialog appears, the WebView is initially empty and then the content is loaded a split second later causing the dialog height to "jump". Even when I hardcode the content passed to loadData, the loading of content is still slow. Is there anything I'm missing? @Override public

how to fix “Failed to install 'cordova-plugin-console':Error ”

廉价感情. 提交于 2019-12-11 06:54:59
问题 I am trying to make apk file. I have android studio with sdk installed and jdk. But when i try to add android package to my ionic folder. I get this error FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'. > You have not accepted the license agreements of the following SDK components: [Android SDK Platform 24]. Before building your project, you need to accept the license agreements and comp lete the installation of the missing

Phonegap plugins not working on first run

一个人想着一个人 提交于 2019-12-11 06:23:33
问题 I created a PhoneGap iOS app and for some weird reason all of my plugins (Inappbrowser, SMSBuilder & SocialSharing) dont work on first run of app after installed. only after closing the app and opening again, everything works correctly. Thanks! 回答1: You really should be using a Single Page Architecture for PhoneGap, not doing so is a sure way to get rejected from AppStore anyway. You don't want people to sit through load times between webpages, check out Handlebars.js for an easy way to do

Phonegap-Plugin ExternalFileUtil doesn't work on all devices

青春壹個敷衍的年華 提交于 2019-12-11 05:05:08
问题 I'm using the ExternalFileUtil-Plugin from Phonegap (https://github.com/phonegap/phonegap-plugins/tree/master/iOS/ExternalFileUtil). But it work's only at iPhone. It work's on iPhone-simulator with iOS 6.0 and 6.1 and work's on iPhone 4 and 5 with iOS 6.x. But it doesn't work on iPad, neither on simulator nore on devices and on iPod Touch with iOS 5.1 it doesn't work too ;( I've tried any suggestions described in the comments on http://www.tricedesigns.com/2012/08/15/open-with-in-ios-phonegap

Phonegap - How to emailComposer to compose email?

百般思念 提交于 2019-12-11 04:57:31
问题 I am building app on phonegap with cordova and framework7. I want to compose email on android phone through Email Composer. I try to use this plugin. 'com.jcjee.plugins.emailcomposer' https://github.com/jcjee/email-composer Here is my code. window.plugins.emailComposer.showEmailComposerWithCallback(function (callback) { console.log(JSON.stringify(callback)); }, 'Subject', 'body', ['dummy@gmail.com'], null, null, true, path_to_file); This return nothing. Neither Success nor error. 来源: https:/

Cordova Android Build Failure: Configuration with name 'debug' not found

丶灬走出姿态 提交于 2019-12-11 04:35:32
问题 After adding the phonegap-facebook-plugin to my Cordova project, and building the project for android, it fails with the error: Cannot evaluate module FacebookLib : Configuration with name 'debug' not found My android project structure looks like this: android --> CordovaLib --> build.gradle --> phonegap-facebook-plugin --> chooze-FacebookLib --> build.gradle --> build.gradle --> settings.gradle The root build.gradle file contains this: dependencies { compile fileTree(dir: 'libs', include: '*

Using Phonegap PushPlugin does not open App when in background and Push Notification arrives

三世轮回 提交于 2019-12-11 04:33:30
问题 I'm using the Phonegap plugin "PushPlugin" (https://github.com/phonegap-build/PushPlugin) together with Phonegap 2.9.0 for iOS and Android. For iOS everything works as expected: A notification arrives, I click on the notification and the app is started. On Android, we distinguish between two cases: The app is in foreground (active) or in background (closed or just not actively used). When I receive a notification while in foreground, the plugin works. When I receive a notification while in