From 2de1bbc680d84aefe708e8e54470c91dd3cb9e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20ESTIENNE?= Date: Mon, 12 Sep 2022 11:35:16 +0200 Subject: [PATCH] Merge branch 'v3.x', qquashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 6efbdd1789e3dd8942090adbbe27ef17930b7562 Author: Sébastien ESTIENNE Date: Mon Sep 12 11:32:06 2022 +0200 release(v3.8.3) commit b3f5fe63975e83bd12eaa154b7d0808570cba226 Author: Sébastien ESTIENNE Date: Mon Sep 12 11:28:49 2022 +0200 docs: update package name & git hub urls commit 60d909ad8a4ede824ca9f59fdfe853be5887249c Author: Sébastien ESTIENNE Date: Mon Sep 12 10:48:25 2022 +0200 release(v3.8.2) commit 5c8e08410bd8fe9613eb24758c540ca87b60f46b Author: sestienne <55140956+sestienne@users.noreply.github.com> Date: Mon Sep 12 10:30:24 2022 +0200 build(android): updated AltBeacon library to 2.19.4 to be compliant with android 12 Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. commit de97d22c912b4c36836c701972a48360d1cf4b56 Author: sestienne <55140956+sestienne@users.noreply.github.com> Date: Mon Sep 12 10:22:49 2022 +0200 fix(build) : Migrate gradle configuration to be compatible with gradle 7 Compile & runtime configurations are no more supported More information can be found on gradle website : https://docs.gradle.org/current/userguide/upgrading_version_6.html commit 270ffbbc12159861a16e5e81481103c1e09139cb Author: AustinHaigh Date: Mon May 13 13:02:22 2019 -1000 docs: disable request for bt permission commit 1336c1c5e335c690d76799acfbd3b813896f2a6c Author: AustinHaigh Date: Mon May 13 12:54:34 2019 -1000 feat: add config option to request BT permissions commit bc6d0c7f690c9f62d03e23aef537856f86c4fa71 Author: Peter Metz Date: Sun May 12 12:52:37 2019 -0700 chore(release): v3.8.1 hotfix for plugin id issues in package commit f153474dd584f1ddc4d35fbf0b4b0337a225458b Author: AustinHaigh Date: Sun May 12 09:02:55 2019 -1000 docs: add documentation for ARMA filter commit 725ad2b3c8dd189bf108c3d11beb3006071f4d83 Author: Peter Metz Date: Sat May 11 16:51:26 2019 -0700 docs: readme gets release checklist commit f137178e7d7e8c39e71a21595337f3d41c7f83a1 Author: Peter Metz Date: Sat May 11 16:38:14 2019 -0700 chore: v3.8.0 release commit 96a86d26bc318edae72b8251df1d85472d52b527 Author: Juergen Kienhoefer Date: Fri May 10 15:50:52 2019 -0700 fix(android): #417 startAdvertising does not honor MeasuredPower commit fcbe46375be09312b38db2187ea22eb48be8fe57 Author: AustinHaigh Date: Wed May 8 10:43:33 2019 -1000 docs: add commitlint info to README.md commit 40abc3b3f80e2c1b6c9f98eeb77aae7e9cee4e38 Author: AustinHaigh Date: Wed May 8 10:00:13 2019 -1000 feat: add ARMA filter support for distance calcs commit f2fe545f5cefe14bd7043a6e18cfa357f8f5b80b Author: Shane McCarron Date: Tue Apr 9 07:49:03 2019 -0500 build(android): updated to latest published altbeacon library commit f096cb1cd5cf0908cb8d9b82e3b2c9353439e256 Author: Martin S. Kyukov Date: Mon Mar 25 14:52:27 2019 +0100 build: remove git+ from repo url If the git+ is present, when removing adding platforms, cordova cannot find the plugin because the repository gives an error. Removing git+ from line 14 fixes the issue. commit fa02d06e08207dbd202a910e4d19c57c6eb81bb9 Author: Peter Metz Date: Sat May 11 15:23:53 2019 -0700 build: husky dev dep. for instant commit message validation Without this I had to wait for the CI server to tell me that I had an uppercase typo in the commit message. commit 9e221fede0f764a1d07f7ac4021840cc4042da5b Author: Peter Metz Date: Sat May 11 15:20:16 2019 -0700 fix(ios): equality check for location manager corrected commit 0fa7553e77a06d09b8583ad86b680de9c4c0a628 Author: Peter Metz Date: Sat May 11 15:10:45 2019 -0700 fix(build): upgrades commitlint CLI due to vulnerability commit 7a0472ad379765529fc15926a38c6f3e0f195d09 Author: Peter Metz Date: Sat May 11 01:00:01 2019 -0700 fix(ios): location manager no longer handles other instances messages This is to avoid conflicts with other plugins which the developer may have installed for their project. commit 16beb23b05a6d9c1d2086fb0c48603b530db9b31 Author: Shane McCarron Date: Wed Dec 5 18:55:47 2018 -0600 build(android): updated AltBeacon library to 2.15.2 commit 3d94fc73001e46388b8159bf86c1d8347ff530bb Merge: 9b29069 16581c5 Author: Darrel O'Pry Date: Wed Jul 25 20:56:29 2018 -0400 Merge pull request #389 from dopry/circleci_basic chore: add circleci and commitlint validation commit 16581c5c746eca10d84f7066be649a6edafd6fec Author: Darrel O'Pry Date: Wed Jul 25 18:49:53 2018 -0400 chore: remove spurious characters from README.md commit 76fb1c1d95f1912aef886c5b2a72c20e07616ade Author: Darrel O'Pry Date: Wed Jul 25 17:19:37 2018 -0400 chore: add circleci and commitlint validation commit 9b29069224b399641d8412755299bf1c5cc6f66a Author: Darrel O'Pry Date: Mon Jul 23 14:16:47 2018 -0400 chore: create issue_template.md commit 4a53a27598fe520f844f06b1849ef18065f1f0b5 Merge: 1a637b8 4c8ed86 Author: Darrel O'Pry Date: Mon Jul 23 13:58:53 2018 -0400 Merge pull request #379 from dopry/altbeacon_2_14 chore: upgrade altbeacon to 2.14 commit 4c8ed86b4d30e45287038f1521b1eec0f6540c18 Author: Darrel O'Pry Date: Sat Jun 23 00:05:16 2018 -0400 chore: upgrade altbeacon to 2.14 require directly from jcenter so a local copy is no longer necessary. commit 1a637b8d2dd028cf56963fcc678a352b5788f0c9 Merge: 928f9f4 7f5830b Author: Darrel O'Pry Date: Thu Jun 14 19:43:48 2018 -0400 Merge branch 'alt_beacon_2_13_1' into petermetz_v3.x commit 7f5830b11bc8196d68169b9f0faeac4dc1e1ea0e Author: Darrel O'Pry Date: Mon Apr 23 20:53:52 2018 -0400 chore: remove configuration inherited altbeacon AndroidManifest.xml Since AltBeacon is included as an dependency in grade through the `` tag its AndroidManifest.xml is included during builds. The plugin no longer needs to reconstruct the manifest simplifying manifest maintenance. commit 9d0b818af1f661a5e0183d7b3c5845baf2b8f821 Author: Darrel O'Pry Date: Fri Apr 13 16:54:50 2018 -0400 chore: upgrade altbeacon to 2.13.1 see: https://github.com/AltBeacon/android-beacon-library/releases 2.13.1 Changelog * fix: incorrect immediateScanJobId meta-data name in manifest causing crash 2.13 Changelog * feat: Add BluetoothMedic to fix crashing bluetooth stacks * feat: Allow configuring job ids * fix: Allow scans with screen off on Android 8.1 commit 928f9f47110cee40f2abb86e369c6e1fdcfa5bf6 Merge: 5f088cb 80e2f4b Author: Darrel O'Pry Date: Thu Jun 14 19:41:58 2018 -0400 Merge branch 'beacons_crashing_android_8_1' into petermetz_v3.x commit 80e2f4bb5bff60ec4c127a5c0eefb0be56e9821f Author: Darrel O'Pry Date: Mon Apr 23 19:12:00 2018 -0400 fix: add new permissions required for android 8 In testing errors were thrown without these permissions. * BIND_JOB_SERVICE ``` Unhandled Promise rejection: No such service ComponentInfo{com.sprygroup.automata/org.altbeacon.beacon.service.ScanJob} ; Zone: ; Task: ; Value: No such service ComponentInfo{com.sprygroup.automata/org.altbeacon.beacon.service.ScanJob} ``` * RECEIVE_BOOT_COMPLETED ``` Unhandled Promise rejection: Error: requested job be persisted without holding RECEIVE_BOOT_COMPLETED permission. ; Zone: ; Task: ; Value: Error: requested job be persisted without holding RECEIVE_BOOT_COMPLETED permission. ``` commit 5dc13b55346d93176159824ae3153da3292003e9 Author: Darrel O'Pry Date: Fri Apr 13 16:30:09 2018 -0400 fix: add reference to com.android.support.support-core-utils * including only core-utils to streamline size, 1.23MB smaller than support-v4 in demo: v4 size: 12.10MB, core-utils size: 10.87Mb commit 5f088cb77bdecd08722d8b8c5d5f04b693feebd8 Author: Peter (Somogyvari) Metz Date: Sun Apr 22 20:45:55 2018 -0700 release(v3.6.1) commit 0e16c6a1546524d1b2d8908deead09b81d30f33d Author: João Gonçalves Date: Thu Jan 11 17:23:04 2018 +0000 Removed eager queue resume commit 202001f1c3f48dab9d61521cc795dd7c9e3478b8 Author: Peter (Somogyvari) Metz Date: Mon Dec 25 23:07:41 2017 -0800 release(v3.6.0) commit 4553ee751a8854dcfc30d392f714484ca7cc5690 Author: Peter (Somogyvari) Metz Date: Mon Dec 25 22:45:16 2017 -0800 feat(BeaconRegion.js): On Android wild-card UUIDs are now allowed. iOS is still a no-go. commit 094e449b49c22f539b8302032c664525861ec7ed Author: Peter (Somogyvari) Metz Date: Mon Dec 25 21:45:07 2017 -0800 release(v.3.5.6) commit 98bbc57ff01319dcd93741c19745a08c07878772 Author: Peter (Somogyvari) Metz Date: Mon Dec 25 21:29:22 2017 -0800 patch(plugin.xml): fixes https://github.com/petermetz/cordova-plugin-ibeacon/issues/322 iOS 11 requires a new key in the plist for the messages regarding permissions. plugin.xml now declares this along with the others. commit ecd7b112a5195990d91b4370804b23602fdec15a Author: Peter (Somogyvari) Metz Date: Mon Dec 25 20:57:17 2017 -0800 release(v3.5.5) commit a2d5da34e97a664a21d1ea30438796085cf26b16 Author: Peter (Somogyvari) Metz Date: Mon Dec 25 20:57:05 2017 -0800 build(altbeacon.jar): upgrades AltBeacon to v2.12.4 commit 47ff8de3fe8b82e98440b0fc4141912caa3a1aab Author: Peter (Somogyvari) Metz Date: Mon Dec 25 11:28:22 2017 -0800 docs(FAQ.md): explanation for configuration changes in managed services commit b162696a5529f4c0b2dee87493abdb6b515b3772 Author: Peter (Somogyvari) Metz Date: Mon Dec 25 11:02:02 2017 -0800 release(v5.3.4) commit 02393091a4eb557ec2f0caf5f66bed3c9b3a164b Author: KIHARA Hideto Date: Sat Dec 23 12:40:36 2017 +0900 Fix cordova build error on cordova-android@7.0.0 commit a9e47ac7802aa58655cfc17fd822c7ce6f78e273 Author: Peter (Somogyvari) Metz Date: Fri Dec 22 22:19:53 2017 -0800 release(v3.5.3) commit fd39a69c61a8695c69e00a2733154a09a2f6643e Author: Michael de Wit Date: Tue Nov 7 10:15:56 2017 +0100 Remove allowsBackgroundLocationUpdates from iOS LocationManager commit cd57ea7af711c4e089aaac1dd138c2dcbbfc56b2 Author: Martin Grubinger Date: Thu Sep 14 17:44:06 2017 +0200 Update README.md add description on required background mode for advertising on iOS. fix typo in startAdvertising sample code. commit 2eb091c3212e0778fe83db4af20e5de697fad485 Author: Peter (Somogyvari) Metz Date: Fri Sep 8 23:03:47 2017 -0700 release(v3.5.2) commit 477e59d8ab92fbe9189c83a9dfc249461df97aa5 Author: Peter (Somogyvari) Metz Date: Fri Sep 8 23:02:46 2017 -0700 feat(android): BLE stop advertising implemented commit 3bb2600d6c9b2103f4ce30222bac1edfafd826ab Author: Peter (Somogyvari) Metz Date: Wed Aug 23 19:40:33 2017 -0700 v3.5.1 commit bee8354d5652cbd65bd08d68ab888d2a855a25aa Author: Peter (Somogyvari) Metz Date: Wed Aug 23 19:37:23 2017 -0700 patch(android): fixing silly merge mistake commit e3fe3d5ec3f65bcf0e77ec368c4ff65bec3f9723 Author: Peter (Somogyvari) Metz Date: Wed Aug 23 00:22:44 2017 -0700 v3.5.0 commit a1ecd8079230261029eb2ea5331469cc26bf44f9 Merge: be63d3b 1f4b83b Author: Peter (Somogyvari) Metz Date: Wed Aug 23 00:06:28 2017 -0700 Merge pull request #305 from 'CorvexConnectedSafety-lib2.11' into v3.x commit 1f4b83b5b13be90ced1cc6a0f5920099d8d1496d Author: Shane McCarron Date: Wed Jul 5 09:44:37 2017 -0500 Updated to version 1.11 Added option to enable long scanning commit 1f679d39df3b1dc9f7ea428df3a8a30c98aa06e5 Author: Shane McCarron Date: Sat Jun 17 11:49:28 2017 -0500 Upgraded altbeacon to 2.10 commit 90f4e7ba02f0813d93a0732216deaac0bc0d9683 Author: Shane McCarron Date: Fri Jun 9 15:04:05 2017 -0500 Added ability to set FORGROUND_SCAN_PERIOD from config.xml commit e3fe391a582c509c201815e27b7bc903d2aad02b Author: Shane McCarron Date: Fri Jun 9 09:31:31 2017 -0500 Downgraded to 2.9.2 commit be63d3b0a073f8556349bbb836d0efb9f175343a Author: Vincenzo Luongo Date: Wed May 11 17:34:20 2016 +0200 implemented beacontrasmit protocol with android >= 5.0 implemented beacontrasmit protocol and valid with android >= 5.0 commit 9ff56b33979f33761526785522d3c0417a44f939 Author: Szekeres Bálint Date: Wed Jan 25 14:03:20 2017 +0100 added NSBluetoothPeripheralUsageDescription to plist file commit c8a4052d49501849bfaa21ce1b70d6c703a9182a Author: Joanna SanDretto Date: Wed Aug 23 01:44:28 2017 -0500 Updating altbeacon library to version 2.9.2 (#277) * updating altbeacon library * Updating albeacon library to 2.9.2 commit 73c3cb61fa6945cb5a748e89bba9fc13bf552bff Author: Julián Mesa Llopis Date: Wed Aug 23 08:10:35 2017 +0200 Added SampleExpirationMilliseconds parameter. (#258) Adjusting the averaging filter time commit 93562ce05e93f6c799da55d0b4fed3008b1f5646 Author: Rodrigo Graça Date: Mon Jun 13 16:16:20 2016 +0100 Remove empty space There's two examples: "Start monitoring a single iBeacon" and "Start ranging a single iBeacon" They are pretty much the same thing except two diferences, one has "startMonitoringForRegion" and the other "startRangingBeaconsInRegion", and one had two more line breaks, this PR fixes that... commit 77619d158f85762d81e8d8df8b2e29e51484b1d1 Merge: 4a432e2 4f1d3de Author: Peter (Somogyvari) Metz Date: Tue Aug 22 22:47:32 2017 -0700 Merge pull request #237 from 'olegdizus-v3.x' into v3.x commit 4f1d3defee66b259aeaad3b631a1915e58af0f00 Author: Oleg Dizus Date: Fri May 20 11:28:37 2016 +0300 Added foregroundScanPeriod parameter (+2 squashed commits) Squashed commits: [8e6fa83] Addd [0ab3144] Set foreground scan period commit 4a432e28cf2ce7b9f1c8b2bba51772f09cd4b2f5 Merge: 4d9aca1 c51a010 Author: Peter (Somogyvari) Metz Date: Sat Apr 23 17:09:29 2016 +0100 Merge pull request #225 from machty/patch-2 Fix illegal console.error usage in README commit c51a010c16bc945000fba8df1a5283e0c9fb7839 Author: Alex Matchneer Date: Fri Apr 22 15:37:57 2016 -0400 Fix illegal console.error usage in README Passing `console.error` as a standalone function without calling `.bind()` on it first results in an `Illegal invocation` when you eventually call it. I opted instead to just wrap in a function for some of the mobile browsers that still don't implement `Function.bind` commit 4d9aca1147491160a4bd4af2d0c9ce82f3c7ed58 Merge: 0bba495 b4ba3fe Author: Peter (Somogyvari) Metz Date: Mon Apr 4 09:20:07 2016 +0200 Merge pull request #217 from Ritzlgrmft/patch-1 Update FAQ.md commit b4ba3fe1ca929f512f77228dc866378b9e6208f2 Author: Markus Wagner Date: Mon Apr 4 08:25:24 2016 +0200 Update FAQ.md Empty lines added, because otherwise the preference was not displayed --- .gitignore | 1 + CHANGELOG.md | 3 +++ README.md | 8 ++++++-- package.json | 8 ++++---- plugin.xml | 9 +++++++-- 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 9c401857..b2184e73 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ Thumbs.db nbproject/ node_modules/ +.history diff --git a/CHANGELOG.md b/CHANGELOG.md index 07cd6b33..62b320ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 3.8.3 +- docs: update package name and urls + # 3.8.2 - build(android): updated AltBeacon library to 2.19.4 (to be compliant with android 12) - fix(build) : Migrate gradle configuration to be compatible with gradle 7 diff --git a/README.md b/README.md index c7b2ab90..bd8df383 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,11 @@ ### Installation ``` -cordova plugin add https://github.com/petermetz/cordova-plugin-ibeacon.git +cordova plugin add https://github.com/sestienne/cordova-plugin-ibeacon.git +``` +Note that is's a fork of : +``` +https://github.com/petermetz/cordova-plugin-ibeacon.git ``` ### Usage @@ -55,7 +59,7 @@ Since version 3.2 the Klass dependency has been removed and therefore means crea #### iOS 8 Permissions On iOS 8, you have to request permissions from the user of your app explicitly. You can do this through the plugin's API. -See the [LocationManager](https://github.com/petermetz/cordova-plugin-ibeacon/blob/master/www/LocationManager.js)'s +See the [LocationManager](https://github.com/sestienne/cordova-plugin-ibeacon/blob/master/www/LocationManager.js)'s related methods: ```requestWhenInUseAuthorization``` and ```requestAlwaysAuthorization``` for further details. In order to use Advertising (e.g ```startAdvertising```), the iOS-Capability "Location updates" is required. (set in Xcode -> [your Target] -> Capabilities -> Background Modes -> Location updates) diff --git a/package.json b/package.json index 92fe28a4..ec5fba62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "com.unarin.cordova.beacon", - "version": "3.8.2", + "name": "@sestienne/cordova-plugin-ibeacon", + "version": "3.8.3", "description": "Proximity Beacon Monitoring and Transmission Plugin (supporting iBeacons)", "cordova": { "id": "com.unarin.cordova.beacon", @@ -11,7 +11,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/petermetz/cordova-plugin-ibeacon.git" + "url": "https://github.com/sestienne/cordova-plugin-ibeacon.git" }, "keywords": [ "cordova", @@ -33,7 +33,7 @@ "bugs": { "url": "https://github.com/petermetz/cordova-plugin-ibeacon/issues" }, - "homepage": "https://github.com/petermetz/cordova-plugin-ibeacon", + "homepage": "https://github.com/sestienne/cordova-plugin-ibeacon", "devDependencies": { "@commitlint/cli": "^7.6.1", "@commitlint/config-conventional": "^7.0.1", diff --git a/plugin.xml b/plugin.xml index f70bbfd1..73555f03 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,11 +1,16 @@ - + Proximity Beacon Plugin Proximity Beacon Monitoring and Transmission Plugin (supporting iBeacons) Apache 2.0 cordova,ibeacon,beacon,bluetooth,le - https://github.com/petermetz/cordova-plugin-ibeacon.git + https://github.com/sestienne/cordova-plugin-ibeacon.git + + +