cordova-plugins

Google Maps Native cordova plugin with Ionic 3 only showing a grey box

心不动则不痛 提交于 2019-12-12 09:49:22
问题 I'm trying to get a map showing and alls I get is a grey box with the google logo at the bottom of it. I've looked at the other posts on this website, and tried them all and none of them seem to fix it. I'm using ionic 3.12.0 with cordova plugin googlemaps 2.0.7 I've made sure the API key is correct and enabled in the dashboard. I've tried using the tutorials https://ionicframework.com/docs/native/google-maps/ below is the code import { GoogleMaps, GoogleMap, GoogleMapsEvent, GoogleMapOptions

Plugin to get the version of PhoneGap App?

*爱你&永不变心* 提交于 2019-12-12 09:31:28
问题 I am using PhoneGap build to package my app is there any PhoneGap or 3rd Party Plugin that I can include in my config.xml to get the version of the app in the runtime? Any suggestion on best way to get the version of the App would be appriciated. 回答1: This plugin works on iOS, Windows Phone 8 and Android: http://plugreg.com/plugin/whiteoctober/cordova-plugin-app-version If you're using the Cordova CLI, you can install via: cordova plugin add https://github.com/whiteoctober/cordova-plugin-app

After reseting plugins, Ionic 2 program doesn't work?

我怕爱的太早我们不能终老 提交于 2019-12-12 09:19:08
问题 I used many plugins in my Ionic 2 project. All things works fine before. But after launching ionic state reset --plugins , some objects cannot be found any more. I've used Beacon Plugin in my project. ----edit---- What it doesn't work is Cannot read property 'Delegate' of undefined in var delegate = new this.locationManager.Delegate(); ----edit---- The most weird thing is that ionic serve works (Browser), but ionic run android (Device) doesn't. ----edit---- After ionic platform rm android and

Cordova 3.6.3 File plugin - get local video file on android

北战南征 提交于 2019-12-12 08:56:32
问题 What I'd like to do is get the URI of a video file on the device via cordovas javascript API set the URI as value of a HTML5 video tag's src attribute. The second part shouldn’t be a problem. Concerning the first task, there are a lot of good structured tutorials like Raymond Camden's demonstrating how to get local files through javascript in an cordova environment. However, with the newest version of cordova, I could not get it to work. The video file The video is located either in assets

Prevent 180 degree flip iOS Cordova

我们两清 提交于 2019-12-12 06:48:24
问题 I am using this plugin https://github.com/apache/cordova-plugin-screen-orientation for orientation and I'm doing this in config.xml file <preference name="orientation" value="portrait" /> . This prevents it flipping to landscape mode, but can still file 180 degrees on my iPhone. How can I prevent this? 回答1: You can disable this by unchecking the upside down orientation in Xcode. 回答2: the orientation preferences are not for the cordova-plugin-orientation , those are regular cordova preferences

Ionic: Cordova plugin not updating

大城市里の小女人 提交于 2019-12-12 06:17:34
问题 I want to change the Barcode scanner plugin for Cordova a bit, so forked it and changed something rather simple for testing purposes. As you can see on line 87, I changed the result_uri to result_text . This way, when I would scan a URL, the information would say I scanned plain text. Then, I added this plugin to my Ionic project, using cordova plugin add https://github.com/binoculars88/phonegap-plugin-barcodescanner . Browsing to the files in my text editors does show my edits. But... when I

Appgyver/Cordova: Not able to display captured image

帅比萌擦擦* 提交于 2019-12-12 06:06:07
问题 I am able to successfully grab the image from photo library as well as camera and able to sent them to server using FileTransfer plugin, for saving them. But the only piece of code that is not working for is displaying the Image :( When I alert the ImageURI , it gives me the below path: file://storage/sdcard0/Android/data/com.apgyver.freshandroid/cache/.Pic.jpg I am not sure if I am missing any plugin or maybe some piece of code? function getImage() { // Retrieve image file location from

Error cannot find symbol org.apache.cordova.CordovaHttpAuthHandler using InAppBrowser Cordova 5.3.3

◇◆丶佛笑我妖孽 提交于 2019-12-12 05:32:02
问题 I am developing a hybrid mobile app using cordova and Multi-Device hybrid app , I get this error when I try to run the build the app for device or emulator [javac] C:\phonegap\projects\JarChee\Mobile\JarCheeMobileApp\JarChee\bld\Debug\platforms\android\src\org\apache\cordova\inappbrowser\InAppBrowser.java:56: error: cannot find symbol [javac] import org.apache.cordova.CordovaHttpAuthHandler; [javac] ^ [javac] symbol: class CordovaHttpAuthHandler [javac] location: package org.apache.cordova

Cordova Network and Camera API returns undefined

别等时光非礼了梦想. 提交于 2019-12-12 04:54:09
问题 Building my first Cordova 4.0 app, and I would really need some help since I'm gonna show a demo of this app tmrw... When I try to access the Network info API and the Camera API ( navigator.connection and navigator.camera respectively) they always return undefined. I have these right in my Android manifest: <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.CAMERA" /> <uses-feature android:name="android.hardware.camera" /> <uses

Background Notification ( [https://github.com/katzer/cordova-plugin-local-notifications]) in XDK (xdk cordova build “Android” does not build)

﹥>﹥吖頭↗ 提交于 2019-12-12 04:48:47
问题 Which Background notification plugin is available for xdk? I tried to build an app with the below plugin and The build failed. Error: Plugin "myBackgroundNotification" failed to install. What's wrong with XDK cordova build? Or what's wrong with the plugin and the id? The plugin-> [https://github.com/katzer/cordova-plugin-local-notifications.git] The plugin-ID->[de.appplant.cordova.plugin.local-notification ] from this link-> [https://github.com/katzer/cordova-plugin-local-notifications]