Skip to content

Commit

Permalink
chore: remove configuration inherited altbeacon AndroidManifest.xml
Browse files Browse the repository at this point in the history
Since AltBeacon is included as an dependency in grade through the `<framework />` tag
its AndroidManifest.xml is included during builds. The plugin no longer needs to reconstruct the
manifest simplifying manifest maintenance.
  • Loading branch information
dopry committed Jun 14, 2018
1 parent 9d0b818 commit 7f5830b
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,36 +93,7 @@
</config-file>

<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
</config-file>

<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="org.altbeacon.beacon.startup.StartupBroadcastReceiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.ACTION_POWER_CONNECTED" />
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
</intent-filter>
</receiver>
<service android:enabled="true"
android:isolatedProcess="false"
android:name="org.altbeacon.beacon.service.BeaconService">
<meta-data android:name="longScanForcingEnabled" android:value="true" />
</service>
<service android:enabled="true"
android:name="org.altbeacon.beacon.BeaconIntentProcessor">
<meta-data android:name="background" android:value="true" />
<intent-filter android:priority="1" >
<action android:name="com.unarin.cordova.beacon.IBeaconPlugin.DID_RANGING" />
<action android:name="com.unarin.cordova.beacon.IBeaconPlugin.DID_MONITORING" />
</intent-filter>
</service>
<service android:name="org.altbeacon.beacon.service.ScanJob"
android:permission="android.permission.BIND_JOB_SERVICE" />
</config-file>

<source-file src="src/android/LocationManager.java" target-dir="src/com/unarin/cordova/beacon" />
Expand Down

0 comments on commit 7f5830b

Please sign in to comment.