I'm developing a flutter application for iOS and Android devices. I want to check whether USB debugging is enabled or disabled using platform channels. I found some helpful resources for android but couldn't for iOS. My app used swift for iOS.
Please help me with the proper solution.
Related
I am trying to interact with a BLE device through webBle. I was able to do this in Chrome in Android. I was trying to do that same thing in iOS Chrome as well using.
navigator.bluetooth
But it was not working and after some research, I found that it's supported only in macOS and not in iOS.
I was wondering if there is any way for me to interact with the BLE device on iOS using a browser?
Web Bluetooth is not supported by Mobile Safari or WkWebView and has not been added by major 3rd-party browsers on iOS. There is however a Web Bluetooth-specific browser called WebBLE which includes an implementation of Web Bluetooth. It is open source software with code available on GitHub.
When I start the XCode device simulator for any given device type (using iOS 12.1), I see many of the default Apps shipped with the iOS. However, I am missing the Home.app for controlling the Apple Home Kit services.
Searching through the web I find plenty of tutorials how to set up Apple Home Kit or how to install individual apps, but I did not find any hint how to get the original Apple Home.app running inside the device simulator.
Can anybody help me out?
You can't, Home App relies on Bluetooth, BLE and other technologies that are not emulated in the iOS emulator.
Xcode simulator does not support Bluetooth, its means we need to use physical ios device for run and test BLE app.
I really dont get it. I see I can develop Iphone Apps with
xcode (objective-c / swing)
xamarin
phonegap
titanium appcelerator
....
But do I need a Mac even with phonegap etc. or is it possible to develop on windows with those Frameworks?
You can completely develop iOS in Mac using Xamarin with the help of Xamarin Live Player.
You can debug,develop and deploy without any help of mac but to sign and release the app you will still need a Apple system
You need an actual iOS device to fully develop and test all of the app's device features before submitting to the App Store. More here.
I am going to integrate chromecast SDK into iOS, but here I am bit a confuse with receiver.html and whitelist email that exactly how to go with them.
So anyone please explain me regarding same.
Also tell me if it is compatible with any iOS Simulator instead of device.
Many developers successfully use the iOS simulator. https://developers.google.com/cast/cast_2nd-screen_app_tutorial for iOS and Android.
The Receiver is the HTML5 application that you create that runs on the Chromecast device. Your iOS application talks to the Receiver, the Receiver will fetch your content from the internet based on the information that comes from your iOS application.
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