cordova-plugins

DEEPLINK_HOST in ionic deeplink

久未见 提交于 2019-12-13 05:05:35
问题 I am trying to set up my app to have deeplinks. As mentioend in the ionic native docs here we need to use the following command ionic cordova plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=example.com --variable ANDROID_PATH_PREFIX=/ What should I enter in the DEEPLINK_HOST parameter. If I provide it my site domain will I have to setup anything on that site? 回答1: DEEPLINK_HOST is the host part of the URL you click on

build fails on PGB with Error - A plugin you are using requires a preference: ANDROID_SUPPORT_V4_VERSION

风流意气都作罢 提交于 2019-12-13 04:27:55
问题 I've updated the cordova-plugin-print (by katzer)to v0.8.0 but it fails when building with PhoneGap Build. It throws this error Error - A plugin you are using requires a preference: ANDROID_SUPPORT_V4_VERSION Where: Build file '/var/gimlet/tmp/47255016036300/3460831/project/build.gradle' line: 276 What went wrong: A problem occurred evaluating root project 'project'. Could not get unknown property 'ANDROID_SUPPORT_V4_VERSION' for object of type org.gradle.api.internal.artifacts.dsl

Ionic 4 - Native camera plugin issues

时间秒杀一切 提交于 2019-12-13 03:49:51
问题 I have developed an android application using Ionic4. I am facing some issues with Ionic Native Camera plugin. The following is my code. The issues that i am facing is given below. The version if camera plugin i am using is "@ionic-native/camera": "^5.3.0", . Issues Gallery is not opening Captured image is not returning. Application crashes after taking picture html <img [src]="studentImage!==null ? studentImage: 'assets/icon/ic_avatar.png'" class="add-picture" (click)="addImage()"> .ts

Cordova Splashscreen iPhone 6 and iPhone 6 Plus not showing

邮差的信 提交于 2019-12-13 03:43:09
问题 I updated the cordova splashscreen plugin to properly show i6 and i6 Plus splash images but I can't get it working. When the app starts in the console appears a message saying that does not found the LaunchImage-667h if the device is an iPhone6 and LaunchImage-736h if is an iPhone 6 Plus but I have all the splashscreen images in its respective sizes properly configured in the Image Asset catalog Is there an extra config to get it working? 回答1: I ran into this issue with version 2.0.0 and was

D8: Program type already present: org.apache.cordova.BuildHelper

北城余情 提交于 2019-12-13 03:37:00
问题 While running $ ionic cordova build android the build fails. Tried to install the npm plugin cordova-android-support-gradle-release but got this issue: https://github.com/dpa99c/cordova-android-support-gradle-release/issues/42 There's actually no specific code I've written for this to happen. FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'. com.android.build.api.transform.TransformException: java.lang

Admob Pro Blank Box(white box) Ad IOS

旧巷老猫 提交于 2019-12-13 03:32:18
问题 I m using Admob Pro plugin for ios mobile app using ionic . I m getting a white box instead of Ad. There is no errors in the log while showing the Ad. Here is my code this.admob.createBanner({ adId: bannerId, adSize:'SMART_BANNER', height: 100, autoShow: false, isTesting: false position: this.admob.AD_POSITION.BOTTOM_CENTER , }) return this.admob.showBanner(8); Plugins used cordova-plugin-admobpro 2.31.1 "AdMob Plugin Pro" Please help me out 回答1: Try to change your banner id to test id:

BackgroundGeolocation is not working, is not defined

浪子不回头ぞ 提交于 2019-12-13 03:04:08
问题 Android Device manufacturer and model: Samsung Galaxy s7 Cordova version: 8.0.0 cordova-android-play-services-gradle-release 1.4.2 "cordova-android-play-services-gradle-release" cordova-plugin-device 2.0.2 "Device" cordova-plugin-facebook4 2.1.0 "Facebook Connect" cordova-plugin-geolocation 4.0.1 "Geolocation" cordova-plugin-googlemaps 2.3.2 "cordova-plugin-googlemaps" cordova-plugin-inappbrowser 3.0.0 "InAppBrowser" cordova-plugin-ionic-keyboard 2.1.2 "cordova-plugin-ionic-keyboard" cordova

How to install crosswalk lite plugin using cordova cli

送分小仙女□ 提交于 2019-12-13 02:56:05
问题 I would like to know how to use "cordova plugin add cordova-plugin-crosswalk-webview" but instead install the lite version. Thanks. 回答1: If you use Ionic Framework it becomes very easy. So, using Ionic you could choose among all available browser listed by the Ionic CLI command ionic browser list . Output example: Android - Browsers Listing: Available - Crosswalk - ionic browser add crosswalk Version 8.37.189.14 Published Version 9.38.208.10 Published Version 10.39.235.15 Published Version 11

Android app not registering with FCM when using raix:push package in Meteor

心不动则不痛 提交于 2019-12-13 02:34:45
问题 I want to have Push notifications in different mobile platforms and the browser and decided to use raix:push for that, which uses phonegap-plugin-push. I followed the installation steps in README.md, which worked without problems and the project built and ran fine. I followed the steps in ANDROID.md and added FCM to my project on https://console.firebase.google.com/ (written down Sender ID and Server key ). Then I created an app on https://play.google.com/apps/publish and linked the Sender ID

cordova: how to call method after all modules are loaded

六月ゝ 毕业季﹏ 提交于 2019-12-13 00:41:50
问题 I am using Cordova and I'm using some plugins too. So now I want to do the task after all of the plugins/modules are loaded. How to achieve this in Cordova? Does Cordova provide any callback after the plugins are loaded? I have used onload but now i want some alternate to it. Is there some callback provided by Cordova to be called after all modules are loaded. 回答1: You can use deviceready . Check out the example .... <!DOCTYPE html> <html> <head> <title>Device Ready Example</title> <script