[BeaconsPlugin] Update permission model for new API ver 23 (Marshmallow)?

[BeaconsPlugin] Update permission model for new API ver 23 (Marshmallow)?

  
Forge Component
(2)
Published on 2017-10-25 by Experts
2 votes
Published on 2017-10-25 by Experts

This beacon plugin does not work in Marshmallow, Bluetooth permission is not registered.

I think this is due to new permission model (API ver 23) in Android Marshmallow and above.

Can you update this great plugin?

Thanks.

I have forked and add runtime permissions for Android M and above.

Just change the property in Extensibility Configuration:

From: 

{
    "plugin": {
        "url": "https://github.com/OutSystemsExperts/phonegap-estimotebeacons.git#0.9.2.os"
    }
}

To:

{
    "plugin": {
        "url": "https://github.com/harlin-setiadarma/phonegap-estimotebeacons.git#0.9.3.os"
    }
}


Hope it will helps someone...

Harlin Setiadarma, thank you for the effort! Coincidently a new version of the plugin was undergoing and has been released today, version 2.0.0. This new version contains location permission request and behaves similarly to the iOS version.

Also, the plugin is open source meaning that we do accept pull requests to some extent and those PR's are more than welcome!


Cheers,

Great news then...

TBH. I'm not familiar with native Android or IOS coding, it took me a lot of time to add that Runtime Permission.