Ionic 4 Eddystone Beacons

Hi Guys!!!

I’m stucked trying to detects a Estimote Virtual Beacon
Im sure this works because i test some free apps and i detect a Virtual Beacon from iphone in a Android device.

Can anyone help me???
I tried this and obviously i added the plugin before using ionic cordova plugin add cordova-plugin-eddystone

Any help I will be very grateful :slight_smile:

import { Component } from ‘@angular/core’;

declare var evothings: any;

@Component({
selector: ‘app-home’,
templateUrl: ‘home.page.html’,
styleUrls: [‘home.page.scss’],
})
export class HomePage {

constructor() {}

ngOnInit() {
console.log(“Lector de Beacons”);
if (evothings) { console.log(‘evothings is defined’) }
else { console.log(‘evothings not defined’) }

evothings.eddystone.startScan((BeaconData) => {
  console.log('Start scan');
  console.log('BeaconData',BeaconData);
},
error =>console.error('error: ', error)
)

}
}