cordova

Check if a URL scheme is registered on iOS or Android in Cordova

陌路散爱 提交于 2021-02-10 07:22:57
问题 I want to check if a particular app is installed and if it is installed, invoke it. AFAIK, the way to do it is to check if the custom url scheme of the app is registered and use that url to launch the app. Is there a way for me to do this in my Cordova app? To be very specific I want to check if the Google Maps application is installed on iOS and if it is, launch it with its custom url else show the default Apple maps. This url : https://developers.google.com/maps/documentation/ios/urlscheme

Xcode 10 Main Thread Checker: Cordova Camera Plugin

↘锁芯ラ 提交于 2021-02-10 05:31:47
问题 Following iOS13 release, I'm testing a hybrid app using Cordova. Launching the camera is very slow and generates the following: ================================================================= Main Thread Checker: UI API called on a background thread: -[UIImagePickerController init] PID: 1347, TID: 618928, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 0x0000000100f1bba0 +[CDVCameraPicker createFromPictureOptions:] + 124 5 0x0000000100f15d54 -[CDVCamera

Cordova-build error: Use of const in strict mode

耗尽温柔 提交于 2021-02-10 04:57:47
问题 I've created a new Cordova project in VS 2015. When I'm try to run the code I'm getting the following errors in my build output: 1>------ Build started: Project: TestProject, Configuration: Debug Android ------ 1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\APACHECORDOVATOOLS\packages\vs-tac 1> ------ Name from source package.json: vs-tac 1> ------ Version from source package

Ionic Delete File using Native URL

一个人想着一个人 提交于 2021-02-09 11:54:32
问题 I am using CSDK image editor to edit the image. Here is the method to edit the image:- CSDKImageEditor.edit(success, error, imageUrl, options); So on success method editor is returning the image url, that's in native format like:- content://media/23 I need to delete that file after editing. So I am using Cordova File to delete the file. As this is native url so cordova file can't find the file using that url. After going through google I got a plugin Corodva Filepath to convert native url to

Ionic Delete File using Native URL

安稳与你 提交于 2021-02-09 11:54:28
问题 I am using CSDK image editor to edit the image. Here is the method to edit the image:- CSDKImageEditor.edit(success, error, imageUrl, options); So on success method editor is returning the image url, that's in native format like:- content://media/23 I need to delete that file after editing. So I am using Cordova File to delete the file. As this is native url so cordova file can't find the file using that url. After going through google I got a plugin Corodva Filepath to convert native url to

IOS Image not appearing

試著忘記壹切 提交于 2021-02-09 11:44:08
问题 I'm having trouble with showing an image on an iPhone. Currently, I have a pretty large image, around 9000x4500. I'm trying to show this image resized in an iPhone. I'm working with the simulator now and it just will not show up. I have some pretty simple code here (using phonegap): <!DOCTYPE HTML> <html> <head> <script charset="utf-8" src = "jquery-1.10.1.min.js"></script> <script charset="utf-8" src = "cordova.js"></script> <style> img.Image { width: 100%; max-width:100%;} </style> </head>

Cannot get crosswalk HelloWorld example to work

て烟熏妆下的殇ゞ 提交于 2021-02-09 03:00:07
问题 I'm trying to get a simple crosswalk HelloWorld app to build but am running into problems (app doesn't start in the emulator). This is the tutorial I am following. https://crosswalk-project.org/documentation/cordova/develop_an_application.html The only thing I did differently was to download the arm version (crosswalk-cordova-11.40.277.7-arm) as that is what I wish to target. The output of "adb logcat > adb.log" when trying to run the app. http://pastebin.com/xWJreNzC Log lines containing

Cannot get crosswalk HelloWorld example to work

a 夏天 提交于 2021-02-09 02:57:34
问题 I'm trying to get a simple crosswalk HelloWorld app to build but am running into problems (app doesn't start in the emulator). This is the tutorial I am following. https://crosswalk-project.org/documentation/cordova/develop_an_application.html The only thing I did differently was to download the arm version (crosswalk-cordova-11.40.277.7-arm) as that is what I wish to target. The output of "adb logcat > adb.log" when trying to run the app. http://pastebin.com/xWJreNzC Log lines containing

How to use correct iOS link schema for launching external apps form Meteor app? [closed]

北慕城南 提交于 2021-02-08 12:16:34
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Improve this question I am creating an app using Meteor Framework. I have a contact us section and there is Address, Phone and a Email address. I built/compiled the app into both Android and iPhone. But when click on Address or Phone or Email it does not take me to the default maps or call the number

How to use correct iOS link schema for launching external apps form Meteor app? [closed]

霸气de小男生 提交于 2021-02-08 12:15:43
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Improve this question I am creating an app using Meteor Framework. I have a contact us section and there is Address, Phone and a Email address. I built/compiled the app into both Android and iPhone. But when click on Address or Phone or Email it does not take me to the default maps or call the number