cordova-plugins

How to adjust the version of “play-services-measurement-base” with “cordova-android-play-services-gradle-release”?

拥有回忆 提交于 2020-02-15 09:37:17
问题 I receive this error: [cordova] * What went wrong: [cordova] The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[17.0.0,17.0.0], [17.2.0,17.2.0]], but resolves to 17.2.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies. I install cordova-plugin-firebase plugin and read this instructions: https://github.com/arnesson/cordova-plugin-firebase#google-play-services Google Play Services Your build

How to adjust the version of “play-services-measurement-base” with “cordova-android-play-services-gradle-release”?

淺唱寂寞╮ 提交于 2020-02-15 09:36:14
问题 I receive this error: [cordova] * What went wrong: [cordova] The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[17.0.0,17.0.0], [17.2.0,17.2.0]], but resolves to 17.2.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies. I install cordova-plugin-firebase plugin and read this instructions: https://github.com/arnesson/cordova-plugin-firebase#google-play-services Google Play Services Your build

Google Maps: ReferenceError: google is not defined in cordova android application

允我心安 提交于 2020-01-25 06:47:25
问题 I'm trying to create a cordova project that marks some locations in map and getting the distance in between the selected location and current location of the user. I have used cordova-plugin-googlemaps for displaying the google map and used cordova-plugin-googlemaps and for getting the distance netween the selected location and current location of the user I have used the code from google map distance matrix service I am getting ReferenceError: google is not defined when I run my cordova

Unable to add push notifications entitlement to iOS production with cordova-plugin-fcm plugin

我的未来我决定 提交于 2020-01-24 23:38:30
问题 I am trying to install cordova-plugin-fcm plugin in a blank Cordova app using Visual Studio 2017. I install the plugin and add the google-plist files etc. On my mac i have xcode 7.2.1. When i build an ipa from visual studio it generates an IPA, but it does not have push notifications enabled. I have added all the source code, including plugins folders, to bitbucket. Link below; https://bitbucket.org/quintonn/pushnotificationtest What am i missing to get push notifications enabled on my iphone

ionic cordovaSQLite plugin error Cannot read property 'openDatabase' of undefined

跟風遠走 提交于 2020-01-24 08:36:25
问题 I have 1 issue in ngCordova plugin cordovaSQLite. Below code: var db = $cordovaSQLite.openDB({ name: "myDB.db" }); i'm using "ionic serve" for run project in browser. error: Uncaught TypeError: Cannot read property 'openDatabase' of undefinedng-cordova.js:5058 openDBapp.js:27 (anonymous function)ionic.bundle.js:37388 (anonymous function)ionic.bundle.js:2241 onPlatformReadyionic.bundle.js:2220 onWindowLoad [Main error] http://i.stack.imgur.com/Yctpl.png Could you please help me? 回答1: As stated

Ionic3/Angular4: Two-way databinding stops working after click event on Google-Maps

这一生的挚爱 提交于 2020-01-24 01:12:12
问题 I am using Ionic 3 and I am using the Google Maps plugin for it. I have two pages, a list and a map. I display the same objects on both views and when you click a list entry or a marker (info window), the object's detail page will be opened where you can rate the selected object. Anyway, when I open the detail page via the list, everything works fine but when I open the detail page via the map-marker, the two-way data binding stops working. In the code below you can find the <rating-input>

playing audio sounds in Cordova application

十年热恋 提交于 2020-01-23 14:22:17
问题 I'm using Cordova media plugin for playing audio sound in my mobile application I tried many codes but I didn't figure out what I'm doing wrong at the bottom I put two piece of code that I tried them the first code (js code in a separate file) var app = { initialize: function() { this.bindEvents(); }, bindEvents: function() { document.addEventListener('deviceready', this.onDeviceReady, false); }, onDeviceReady: function() { var myMedia = new Media("../sounds/clapping.mp3"); myMedia.play(); }

playing audio sounds in Cordova application

谁说胖子不能爱 提交于 2020-01-23 14:21:08
问题 I'm using Cordova media plugin for playing audio sound in my mobile application I tried many codes but I didn't figure out what I'm doing wrong at the bottom I put two piece of code that I tried them the first code (js code in a separate file) var app = { initialize: function() { this.bindEvents(); }, bindEvents: function() { document.addEventListener('deviceready', this.onDeviceReady, false); }, onDeviceReady: function() { var myMedia = new Media("../sounds/clapping.mp3"); myMedia.play(); }

Ionic 4 - Customize context menu

放肆的年华 提交于 2020-01-23 11:12:47
问题 I'm building an Ionic app that has heavy text editing, and I would like to customize the context menu that appears when making a text selection (shown below). How can I add buttons to this menu? Can it be customized even further? Is it possible to switch this menu out entirely for some custom HTML menu else that appears when the user makes a text selection? I've seen the plugin cordova-plugin-context-menu but it does not seem to be what I need (although it's hard to say because it doesn't

Ionic 4 - Customize context menu

对着背影说爱祢 提交于 2020-01-23 11:12:24
问题 I'm building an Ionic app that has heavy text editing, and I would like to customize the context menu that appears when making a text selection (shown below). How can I add buttons to this menu? Can it be customized even further? Is it possible to switch this menu out entirely for some custom HTML menu else that appears when the user makes a text selection? I've seen the plugin cordova-plugin-context-menu but it does not seem to be what I need (although it's hard to say because it doesn't