BLE in ionic View not Running


#1

I use the BLE native plugin.

This plugin run perfectly when I test the application on the device using "ionic cordova run ios"
I list all the BLE device, connect, read, write, …

But If I test the application in Ionic View, the BLE plugin don’t list any BLE device ?

I try to use the Bluetooth Serial , and this one run perfectly in ionic view and in device directly.

Why ionic view with BLE native plugin have this behavior ?


#2

I this plugin supported by Ionic View?


#3

Yes I saw it in https://ionicframework.com/docs/pro/view.html

cordova-plugin-battery-status 1.2.4 "Battery"
cordova-plugin-ble-central 1.1.4 "BLE"
cordova-plugin-bluetooth-serial 0.4.7 "Bluetooth Serial"
cordova-plugin-brightness 0.1.5 “Brightness”


#4

What is your ionic info output?


#5

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.15.1
ionic (Ionic CLI) : 3.15.1

global packages:

cordova (Cordova CLI) : 7.0.1 

local packages:

@ionic/app-scripts : 3.0.0
Cordova Platforms  : ios 4.4.0
Ionic Framework    : ionic-angular 3.7.1

System:

ios-deploy : 1.9.2 
ios-sim    : 5.0.12 
Node       : v6.11.4
npm        : 3.10.10 
OS         : macOS High Sierra
Xcode      : Xcode 9.0.1 Build version 9A1004 

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

#6

Some news about this bug:

  • The new Ionic DevApp is running the BLE plugin OK
  • The Ionic view still continue not running this plugin not OK