0

in my app i need to direct to bluetooth settings of the phone.

With android i am using this plugin

cordova plugin add cordova-plugin-bluetooth-serial

which allows me to take the user to the bluetooth settings of the phone. but I'm unable to find a similar solution for iOS which would take the user to iOS bluetooth settings. As of now I'm using

https://github.com/erikhuisman/cordova-plugin-opensettings.git

for iOS which takes the user to general settings. I would be grateful if someonecould give me some suggestions to solve this sticky problem.

regards jim

Bhanu Thareja
  • 39
  • 1
  • 1
  • 3
  • You dont need a plugin. Do it as shown here for [wifi](http://stackoverflow.com/questions/40126813/how-to-programmatically-open-the-wifi-settings-in-objective-c-on-ios-10). – netskink Feb 28 '17 at 15:46
  • hi i should have mentioned my is in ionic/cordova.do you have a solution for that? – Bhanu Thareja Mar 01 '17 at 18:57
  • Ive written bluetooth apps in android and ios, but I have not used a plugin. I just did the api for use with a serial profile. – netskink Mar 01 '17 at 19:59
  • can you please show me an example for how its done as im not able to figure out:( – Bhanu Thareja Mar 02 '17 at 06:47

0 Answers0