phonegap-plugins

Phonegap build how do you add plugins to app

橙三吉。 提交于 2019-12-11 13:38:03
问题 The document says: "There are two steps to including a plugin in your project: Importing the native code using the config.xml Referencing the JavaScript code for the plugin " http://docs.build.phonegap.com/en_US/configuring_plugins.md.html#importing-native And to reference you do this in your html file: <script src="cordova.js"></script> <script src="barcodescanner.js"></script> <-this However, how do you know what to put in place of barcodescanner.js. In fact i don't know about work flow of

Splashscreen not working on Phonegap Build cli-5.2.0

独自空忆成欢 提交于 2019-12-11 12:45:20
问题 I use Phonegap for over a year and I had no problem with my Splashscreen until now. I decided to move from 3.7.0 to cli-5.2.0 (I think it would make no difference even if it was cli-5.1.1) and I cannot make my SplashScreen work. I have read here that in cli-5.1.1 and above you need the new splashscreen plugin from npm in order to make it work (until now all I had to do was to specify the paths of splashscreen images). So my config file ended up in something like this: <gap:splash gap

How to implement contacts filter in android phonegap?

旧巷老猫 提交于 2019-12-11 12:34:40
问题 I have an option to send text message in my application. So there is a text box to enter a mobile number. I need to dynamically populate the filtered contacts if user entering the number. I just need similar to mobile phone contact search criteria. i.e, If user types 998 I need to display the list of filtered contacts based on given input 998. To do this I have used navigator.contacts.find() , using this method I am able to get and find particular contacts. But not dynamic search criteria.

phonegap plugin onload=false has no effect

偶尔善良 提交于 2019-12-11 12:18:36
问题 I need to prevent that a plugin is being initialised automatically. Therefore I have the following configuration <feature name="ADBMobile_PhoneGap"> <param name="onload" value="false" /> <param name="ios-package" onload="false" value="ADBMobile_PhoneGap" /> </feature> However, when I run the app the plugin still gets initialised before any javascript calls of that plugin has being executed. Any ideas what I am doing wrongly? 来源: https://stackoverflow.com/questions/32658239/phonegap-plugin

PushNotification.register using GCM is not receiving Registration Id

為{幸葍}努か 提交于 2019-12-11 11:26:50
问题 I am trying to add pushNotification feature to my Android app.I have followed the steps in the following tutorial: http://devgirl.org/2013/07/17/tutorial-implement-push-notifications-in-your-phonegap-application/ As they said above, I have created a project in Google dev console and get the project id. Now I could be able to see "Google cloud messaging for Android" is ON. I have created the project in my machine using Cordova cli and the below is my JavaScript. I am using Android 4.4 Kitkat.

Google Plus Plugin and Push Notification Plugin conflict on PhoneGap Build, Build failed

一曲冷凌霜 提交于 2019-12-11 11:14:47
问题 I need to use google plus plugin along with the push notification plugin <plugin name="cordova-plugin-googleplus" source="npm" spec="5.2.1"></plugin> , but using both of them build gives error : Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin'] > For input string: "+" When I use 5.3.0 of googleplus plugin then it works and build succeeds, but then on sending notifications a pop up appears in my mobile &saying App has stopped ...Close App. UPDATE : config.xml

Local notification “schedule” and “trigger” methods are executing multiple times

China☆狼群 提交于 2019-12-11 10:26:52
问题 Hi I'm new on ionic and I'm using (katzer/cordova-plugin-local-notifications), I have a problem and I don't know what is happening. When I click in a link, I'm generating a new notification. But I don't know for what when I click for the second time in the notification, the alert inside of "schedule" and "trigger" is executed two times, and when I click for the third time in the notification, the alert inside of "schedule" and "trigger" is executed three times, and so.. This is my code, it's

Unable to locate command :: org.apache.cordova.facebook.Connect

痴心易碎 提交于 2019-12-11 10:21:28
问题 Windows Phone 7 app development with cordova 2.3.0. I get the error 'Unable to locate command :: org.apache.cordova.facebook.Connect' on FB.login. I started off with the code base that works fine in Android. What am I missing or not doing right on Windows? Any detailed documentation about PhoneGap WP7 and Facebook plugin integration? 回答1: try to set the namespace in call method: look my example: Cordova.exec(null, null, "WP7GapClassLib.PhoneGap.Commands.MyCommand", "SendRequest", args); 来源:

How to send an SMS in Phonegap using Cordova Documentation?

删除回忆录丶 提交于 2019-12-11 09:52:03
问题 This is a followup question to this and I figured that we can access native functionality of the phone in javascript using Phonegap Documentation. I tried playing with notification api and it worked pretty well but could not find anything in the documentation about sending SMSes. I've come across Phonegap-Start kit and SMSPlugin for Phonegap but do not know how to integrate that with Phonegap-Start. In addition to it, I use build.phonegap.com to build my application so I'm not using eclipse