Giter Site home page Giter Site logo

ionic4ibeacon's Introduction

Improve this doc

IBeacon

$ ionic cordova plugin add cordova-plugin-ibeacon
$ npm install @ionic-native/ibeacon

Install the plugins as normal. After you're done installing @ionic-native/ibeacon, you will need to replace two files.

  • index.js
  • ngx/index.js

It's not a perfect solution, but it's working.

Last tested

  • Ionic (Ionic CLI) - 4.10.3
  • Cordova (Cordova CLI) - 8.1.2

ionic4ibeacon's People

Contributors

it-dan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ionic4ibeacon's Issues

Plugin does not work in iOS 12.3 and 12.4

Hello everyone,
I updated iOS to 12.3 and the plugin did not work anymore.

[Error] ERROR โ€“ Error: Uncaught (in promise): TypeError: undefined is not an object (evaluating 'new ionic_native_core__WEBPACK_IMPORTED_MODULE_1_["cordova"].plugins.locationManager')
ionic://localhost/vendor.js:78496:102
ionic://localhost/main.js:2671:60
onInvoke@ionic://localhost/vendor.js:53422:39
run@ionic://localhost/polyfills.js:2512:49
ionic://localhost/polyfills.js:3251:37
onInvokeTask@ionic://localhost/vendor.js:53413:43
runTask@ionic://localhost/polyfills.js:2557:57
drainMicroTaskQueue@ionic://localhost/polyfills.js:2963:42
promiseReactionJob@[native code]
Error: Uncaught (in promise): TypeError: undefined is not an object (evaluating 'new ionic_native_core__WEBPACK_IMPORTED_MODULE_1_["cordova"].plugins.locationManager')
ionic://localhost/vendor.js:78496:102
ionic://localhost/main.js:2671:60
onInvoke@ionic://localhost/vendor.js:53422:39
run@ionic://localhost/polyfills.js:2512:49
ionic://localhost/polyfills.js:3251:37
onInvokeTask@ionic://localhost/vendor.js:53413:43
runTask@ionic://localhost/polyfills.js:2557:57
drainMicroTaskQueue@ionic://localhost/polyfills.js:2963:42
promiseReactionJob@[native code]
defaultErrorLogger (vendor.js:51847)
handleError (vendor.js:51895)
next (vendor.js:53894:140)
(anonymous function) (vendor.js:49638)
__tryOrUnsub (vendor.js:91072)
next (vendor.js:91010)
_next (vendor.js:90956)
next (vendor.js:90933)
next (vendor.js:90699)
emit (vendor.js:49622)
run (polyfills.js:2512)
onHandleError (vendor.js:53444)
runGuarded (polyfills.js:2526)
_loop_1 (polyfills.js:3056)
microtaskDrainDone (polyfills.js:3065)
drainMicroTaskQueue (polyfills.js:2970)
promiseReactionJob

Some idea?

Miguel

Do not work

Hi, it does not work for me.

Replace the files in \ node_modules \ @ ionic-native \ ibeacon, but do not start.

I'm using

Ionic:

ionic (Ionic CLI): 4.12.0 (C: \ Users \ wluqu \ AppData \ Roaming \ npm \ node_modules \ ionic)
Ionic Framework: @ ionic / angular 4.2.0
@ angular-devkit / build-angular: 0.13.8
@ angular-devkit / schematics: 7.2.4
@ angular / cli: 7.3.8
@ ionic / angular-toolkit: 1.4.1

Cordova:

Cordova (Cordova CLI): 8.0.0
Cordova Platforms: android 7.0.0
Cordova Plugins: cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 7 other plugins)

System:

Android SDK Tools: 26.0.2 (C: \ Android \ Android-sdk)
NodeJS: v10.15.3 (C: \ nodejs \ node.exe)
npm: 6.9.1-next.0
OS: Windows 10

any ideas ?

Thank you in advance

Ionic-native PR

Hey,

Awesome work fixing the events. Can you make ionic-native pull request with your changes to the plugin code?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.