Open aejo3aejo3 opened 5 years ago
same here! is not working on ionic 4, related issue here https://github.com/ionic-team/ionic-native/issues/2631
@petermetz Hi peter can you check this issue please? it the plugin is not working on ionic 4
thanks
Any news on this? Working on a project, and I'd love to NOT do two separate projects (iOS & Android). I'm also thinking of working on a plugin in Swift. If that's successful, I'll share.
cordova-android version : 7.1.2 plugin ibeacon version : 4.17.0
Although I followed the step in ionic beacon documents with sample code, android/ios devices could not detect any beacon.
Android device Nexus5 , android 8.1.0 . android sdk version 27
I'm very sure the device got the location permission. I checked the log in android studio, it seems that "delegate.didRangeBeaconsInRegion" and "didStartMonitoringForRegion" did not called.
This is the log in android studio.
I/chromium: [INFO:CONSOLE(109)] "home page init beacon", source: http://localhost:8080/home-home-module.js (109) D/SystemWebChromeClient: ng:///HomePageModule/HomePage_Host.ngfactory.js: Line 5 : ERROR I/chromium: [INFO:CONSOLE(5)] "ERROR", source: ng:///HomePageModule/HomePage_Host.ngfactory.js (5) D/SystemWebChromeClient: ng:///HomePageModule/HomePage_Host.ngfactory.js: Line 5 : ERROR CONTEXT I/chromium: [INFO:CONSOLE(5)] "ERROR CONTEXT", source: ng:///HomePageModule/HomePage_Host.ngfactory.js (5) D/CordovaWebViewImpl: onPageFinished(http://localhost:8080/home) D/SERVER: Handling local request: http://localhost:8080/assets/icon/favicon.png D/SERVER: Handling local request: http://localhost:8080/4.js D/SERVER: Handling local request: http://localhost:8080/3.js D/SERVER: Handling local request: http://localhost:8080/2.js I/App: WARNING: Back Button Default Behavior will be overridden. The backbutton event will be fired! W/com.unarin.beacon: WARNING did not receive delegate ready callback from DOM after 30 seconds! D/SystemWebChromeClient: : Line 1 : WARNING did not receive delegate ready callback from DOM after 30 seconds! I/chromium: [INFO:CONSOLE(1)] "WARNING did not receive delegate ready callback from DOM after 30 seconds!", source: (1)
I appreciate any input or thoughts, thanks.