Closed nick-adriaenssens closed 8 years ago
@guyromb Thanks for the quick response!
Hello , redirection of Bluetooth native settings doesn't work on ios , it open general settings . How can i resolved it ?
which settings constant did you use, which ios version? I will inspect
if (window.cordova && window.cordova.plugins.settings) { console.log('openNativeSettingsTest is active'); window.cordova.plugins.settings.open("bluetooth", function() { console.log('opened settings'); }, function () { console.log('failed to open settings'); } ); } else { console.log('openNativeSettingsTest is not active!'); }
it work well on android . My ios version : 9.3.3
have you got news of my bluetooth problem?
# SOLVED : This is because the Bluetooth menu has been moved around in recent iOS versions. It's now a top-level setting, not under General.
Please change on NativeSettings.m : result = [self do_open:@"prefs:root=General&path=Bluetooth"];
By line : result = [self do_open:@"prefs:root=Bluetooth"];
Updated. thanks.
Thanks @NickAdriaenssens I also updated the readme file.