Ionic Eddystone 'evothings is not defined'

I want ot usea a beacon or a Eddystone and for that i activate Eddystone in my beacon and follow this tutorial

this problem is that i get a ReferenceError: evothings is not defined like the others, any idea?

my code:

import { Component, ChangeDetectorRef } from ‘@angular/core’;
import { NavController, Platform } from ‘ionic-angular’;

selector: ‘page-home’,
templateUrl: ‘home.html’
export class HomePage {
beaconData: any;
constructor(public navCtrl: NavController, private platform:Platform, private change: ChangeDetectorRef) {


this.platform.ready().then(() =>{
this.beaconData = data
},error => console.error());




Yep, this is not defined before. Where should it come from?

(No, I won’t watch a YouTube video to get more context - you’ll have to provide that yourself)

I created a file in the src foldr call ‘declarations.d.ts’

and inside

declare module ‘*’;
declare var evothings: any;

is there any actual working method to use beacons in ionic (ibeacons or eddystone) ?


1 Like

hey man, did you solved the problem? I’m getting stucked in the same way.