I have an ionic app where i use it to scan a bar/qr code. It's working fine in browser and android itself, but how can i open the camera while accessing it using android browser?
I use phonegap-barcodescanner and cordova
Cordova plugin is not available for the browser. Cordova plugin is something which communicates with native components of mobile phone e.g. camera. it's not possible to access camera using phonegap-barcode scanner in the android browser. I will recommend instead of PhoneGap barcode scanner use ngx-barcode-scanner
Link of sample project with demo: ngx-scanner
Related
I am trying to build a simple application using react native.
I want to be able to share a link from IPhone Safari and open the link in my react-native applcation.
So far I tried these extension samples and it didn't work for ios (works with android though):
https://github.com/react-native-community/react-native-share
https://github.com/meedan/react-native-share-menu
Any help will be appreciated
I am building an ionic application. I am using twilio-video sdk to implement video call. I am able to work it in android devices and browser. When i try to deploy it on IOS, the mobile UI Webview browser does not let me use the getUserMedia() function.
Error: getUserMedia() is not supported
Apple developer forums states that it supports only safari 11 and not any other Webkit Views. Has anyone came to a solution?
Also is there a way to get local media tracks when building an ionic application in ios?
I need some help implementing intents in PhoneGap/Cordova for a program that I have running on android and on ios. It's a driver application but I want to link it to the phones default maps app so that it can gps to it once the driver selects a destination. Something Uber like.
I am developing an image-scanning application for BlackBerry. The application takes the user to a success page if the correct image is scanned and a failure page is shown on scanning an incorrect image.
I am using the IBM Worklight framework for developing this app.
My question is: How can I open camera for scanning in BlackBerry?
I have developed the same application for iOS using Worklight. In iOS I've used this JavaScript syntax:
WL.native.show(arg1, arg2, arg3);
So I want to know what will be the syntax for opening camera/native page in the case of BlackBerry.
Just to make things clearer, you do not use WL.NativePage.show in order to use the camera in an iOS device. For that you use the Camera API provided by Apache Cordova.
WL.NativePage.show is meant to transition from a WebView to a native page.
You can, however, of course, use it to pass parameters and do whatever you want on the native side and then return to the WebView...
WL.NativePage.show is available only for iOS and Android.
Anyway,
In BlackBerry WebWorks apps (the type of BlackBerry apps supported in Worklight) you have several options:
Use the Camera API provided by BlackBerry
Use the Camera API provided by Apache Cordova
Worklight currently supports Cordova 2.3 (in Worklight 5.0.6.x) and Cordova 2.6 (in Worklight 6.0).
Currently in the phonegap plugins, I can find bluetooth plugin for
Android only.
Do we have bluetooth plugin for iOS.
If there is , please let me know.
If not,how should we enable and disable bluetooth through phonegap in ios.
For Android there is: https://github.com/phonegap/phonegap-plugins/tree/master/Android/Bluetooth
For iOS there is not: https://github.com/phonegap/phonegap-plugins/tree/master/iOS
Apache Cordova Documentation API Reference there is not: http://docs.phonegap.com/en/2.0.0/index.html
If not there then where? :(
I would also like to know how to bluetooth, pair devices, multiplayer, hack the world :)
From PhoneGap v2.7.0 seems this plugin is available for both Android and iOS (via BLE)
https://github.com/don/BluetoothSerial
It also appears this plugin is available on PhoneGap Build