基于RadiusNetwork Android库的iBeaconGap Cordova插件
我正在尝试使用以下内容,这是RadiusNetworks Android iBeacons库的包装。我的手机已准备好蓝牙,并通过play store中的RadiusNetwork Detector应用程序检测我的信标 但是将它添加到我的普通cordova项目中会导致以下日志消息:“尝试通过intent回调:ComponentInfo{com.tecalliance.lucidbeacon/com.radiusnetworks.ibeacon.IBeaconIntentProcessor}”。 看起来它的起源是RadiusNetworks的类 插件安装程序已正确更新AndroidManifest.xml文件:基于RadiusNetwork Android库的iBeaconGap Cordova插件,android,bluetooth-lowenergy,cordova-plugins,ibeacon-android,android-ibeacon,Android,Bluetooth Lowenergy,Cordova Plugins,Ibeacon Android,Android Ibeacon,我正在尝试使用以下内容,这是RadiusNetworks Android iBeacons库的包装。我的手机已准备好蓝牙,并通过play store中的RadiusNetwork Detector应用程序检测我的信标 但是将它添加到我的普通cordova项目中会导致以下日志消息:“尝试通过intent回调:ComponentInfo{com.tecalliance.lucidbeacon/com.radiusnetworks.ibeacon.IBeaconIntentProcessor}”。 看
<service android:enabled="true" android:exported="true"
android:name="com.radiusnetworks.ibeacon.IBeaconIntentProcessor">
<meta-data android:name="background" android:value="true" />
<intent-filter android:priority="1">
<action android:name="com.thinketg.plugin.ibeacongap.DID_RANGING" />
<action android:name="com.thinketg.plugin.ibeacongap.DID_MONITORING" />
</intent-filter>
</service>
<service android:enabled="true" android:exported="true"
android:isolatedProcess="false" android:label="iBeacon"
android:name="com.radiusnetworks.ibeacon.service.IBeaconService" />
<service android:enabled="true"
android:name="com.radiusnetworks.ibeacon.IBeaconIntentProcessor">
<meta-data android:name="background" android:value="true" />
<intent-filter android:priority="1">
<action android:name="com.thinketg.plugin.ibeacongap.DID_RANGING" />
<action android:name="com.thinketg.plugin.ibeacongap.DID_MONITORING" />
</intent-filter>
</service>
你知道怎么解决这个问题吗?提前感谢;-) 虽然我不知道为什么你的设置不起作用,但我可以说,你看到的“通过意图尝试回调”日志行是后台IBeaconService与应用程序通信的正常部分。
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
function startBeaconScans() {
iBeaconGap.getBeacons(gotBeacons, failedGettingBeacons);
}