iBeacon plugin not searching for beacons


#1

Hello everyone,

so I am trying to put the iBeacon native plugin to work but everytime I run

startRangingBeaconsInRegion(beaconRegion)

I get this error

No such service ComponentInfo{io.ionic.starter/org.altbeacon.beacon.service.ScanJob}

Has the syntax changed, or the plugin just died? If anyone could help me on this one I would be very appreciated

ionic info output

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

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 3.1.9
Cordova Platforms  : android 6.3.0
Ionic Framework    : ionic-angular 3.9.2

System:

ios-deploy : 1.9.2
Node       : v10.2.1
npm        : 6.1.0
OS         : macOS High Sierra
Xcode      : Xcode 9.4 Build version 9F1027a

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : legacy

package.json

{
“name”: “beaconsDemo”,
“version”: “0.0.1”,
“author”: “Ionic Framework”,
“homepage”: “http://ionicframework.com/”,
“private”: true,
“scripts”: {
“clean”: “ionic-app-scripts clean”,
“build”: “ionic-app-scripts build”,
“lint”: “ionic-app-scripts lint”,
“ionic:build”: “ionic-app-scripts build”,
“ionic:serve”: “ionic-app-scripts serve”
},
“dependencies”: {
@angular/animations”: “5.2.10”,
@angular/common”: “5.2.10”,
@angular/compiler”: “5.2.10”,
@angular/compiler-cli”: “5.2.10”,
@angular/core”: “5.2.10”,
@angular/forms”: “5.2.10”,
@angular/http”: “5.2.10”,
@angular/platform-browser”: “5.2.10”,
@angular/platform-browser-dynamic”: “5.2.10”,
@ionic-native/core”: “4.7.0”,
@ionic-native/diagnostic”: “^4.7.0”,
@ionic-native/ibeacon”: “^4.7.0”,
@ionic-native/splash-screen”: “4.7.0”,
@ionic-native/status-bar”: “4.7.0”,
@ionic/storage”: “2.1.3”,
“com.unarin.cordova.beacon”: “~3.6.1”,
“cordova-android”: “6.3.0”,
“cordova-plugin-device”: “2.0.2”,
“cordova-plugin-ibeacon”: “^3.6.1”,
“cordova-plugin-ionic-keyboard”: “^2.0.5”,
“cordova-plugin-ionic-webview”: “^1.1.19”,
“cordova-plugin-splashscreen”: “^5.0.2”,
“cordova-plugin-whitelist”: “^1.3.3”,
“cordova.plugins.diagnostic”: “^4.0.8”,
“ionic-angular”: “3.9.2”,
“ionicons”: “3.0.0”,
“rxjs”: “5.5.11”,
“sw-toolbox”: “3.6.0”,
“zone.js”: “0.8.26”
},
“devDependencies”: {
@ionic/app-scripts”: “3.1.9”,
“typescript”: “~2.6.2”
},
“description”: “An Ionic project”,
“cordova”: {
“plugins”: {
“cordova.plugins.diagnostic”: {},
“com.unarin.cordova.beacon”: {},
“cordova-plugin-whitelist”: {},
“cordova-plugin-device”: {},
“cordova-plugin-splashscreen”: {},
“cordova-plugin-ionic-webview”: {},
“cordova-plugin-ionic-keyboard”: {}
},
“platforms”: [
“android”
]
}
}


#2

Hey… did you solve this problem? I have the same problem as well.


#3

Hey @msyll, no I have not solved this problem yet