Skip to content

Commit

Permalink
Merge branch 'expo-polygon'
Browse files Browse the repository at this point in the history
  • Loading branch information
chris committed Jul 12, 2024
2 parents 782802c + 9b826b7 commit 23a42d6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 4.16.5 — 2024-07-12
* [Android][Expo] Conditionally add polygonLicense only if provided in Config. Do not write to AndroidManifest unless provided.

## 4.16.4 — 2024-07-08
* [Android][Expo] Implement polygonLicense Config option

## 4.16.3 — 2024-06-12
* [Android] Remove permission `FOREGROUND_SERVICE_HEALTH`. It turns out that this permission is no longer required whe
n the `ActivityRecognitionServivce` is defined with a `foregroundServiceType="shortservice"`, instead of `"health"`, which allows a background
Expand Down
12 changes: 7 additions & 5 deletions expo/plugin/src/androidPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,13 @@ const androidPlugin: ConfigPlugin<Props> = (config, props={}) => {
META_HMS_LICENSE_KEY,
props.hmsLicense || "UNDEFINED"
);
addMetaDataItemToMainApplication(
mainApplication,
META_POLYGON_LICENSE_KEY,
props.polygonLicense || "UNDEFINED"
);
if (props.polygonLicense) {
addMetaDataItemToMainApplication(
mainApplication,
META_POLYGON_LICENSE_KEY,
props.polygonLicense
);
}
return config;

});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-background-geolocation",
"version": "4.16.4",
"version": "4.16.5",
"description": "The most sophisticated cross-platform background location-tracking & geofencing module with battery-conscious motion-detection intelligence",
"scripts": {
"build": "yarn run build:expo",
Expand Down

0 comments on commit 23a42d6

Please sign in to comment.