Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump xmldom, plist and react-native-background-geolocation #34

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 12, 2022

Removes xmldom. It's no longer used after updating ancestor dependencies xmldom, plist and react-native-background-geolocation. These dependencies need to be updated together.

Removes xmldom

Updates plist from 3.0.1 to 3.0.6

Changelog

Sourced from plist's changelog.

3.0.5 / 2022-03-23

  • [96e2303d05] Prototype Pollution using .parse() #114 (mario-canva)
  • update browserify from 16 to 17

3.0.4 / 2021-08-27

  • inline xmldom@0.6.0 to eliminate security warning false positive (Mike Reinstein)

3.0.3 / 2021-08-04

  • update xmldom to 0.6.0 to patch critical vulnerability (Mike Reinstein)
  • remove flaky saucelabs teseting badge (Mike Reinstein)

3.0.2 / 2021-03-25

  • update xmldom to 0.5.0 to patch critical vulnerability (Mike Reinstein)
  • update saucelab credentials to point at mreinstein's saucelabs account (Mike Reinstein)
  • remove a bunch of test versions from the matrix because they weren't working in zuul + sauce (Mike Reinstein)
Commits

Updates react-native-background-geolocation from 3.6.2 to 4.8.2

Changelog

Sourced from react-native-background-geolocation's changelog.

4.8.2 — 2022-08-08

  • [Android] Fix java.lang.IllegalArgumentException TSProviderManager.handleProviderChangeEvent`.
  • [Android] startOnBoot: false with stopOnTerminate: false could start-on-boot.
  • [Android] State.enabled returned by calling .stop() returns true due to implementation running in a background-thread but callback executed immediately on the main-thread. However, requesting .getState() immediately after calling .stop would return the correct value of State.enabled
  • [Android] Fix notification.sticky not being respected.

4.8.1 — 2022-06-28

  • Fix issue for react-native 0.69: They made a breaking change with the old, unused react-native.config.js, causing builds to fail. Simply delete the file react-native.config.js.

4.8.0 — 2022-06-21

  • [Android] Fix bug in onProviderChange event: not properly detecting when location-services disabled.
  • [Android] Android 12: Guard Context.startForegroundService with try / catch: the plugin will now catch exception ForegroundServiceStartNotAllowedException and automatically retry with an AlarmManager oneShot event.
  • [Android] Android 12: Refactor foreground-service management for Android 12: A way has been found to restore the traditional behaviour of foreground-services, allowing them to stop when no longer required (eg: where the plugin is in the stationary state).
  • [Android] Refactor application life-cycle management. Remove deprecated permission android.permission.GET_TASKS traditionally used for detecting when the app has been terminated. The new life-cycle mgmt system can detect Android headless-mode in a much more elegant manner.
  • [Android] Better handling for WhenInUse behaviour: The plugin will not allow .changePace(true) to be executed when the app is in the background (since Android forbids location-services to initiated in the background with WhenInUse).
  • [Android] Refactor useSignificantChangesOnly behaviour. Will use a default motionTriggerDelay with minimum 60000ms, minimum distanceFilter: 250 and enforced stopTimeout: 20.
  • [iOS] iOS 15 has finally implemented Mock Location Detection. location.mock will now be present for iOS when the location is mocked, just like Android.

4.7.2 — Unreleased

  • [Android] Re-factor onProviderChange. Add broadcast-receiver for AIRPLANE_MODE detection.
  • [Android] Add guard against Android 12 issue where location-services fail to turn off after terminate and plugin enters stationary state.
  • [Android] Prevent recording motionchange position from running after onProviderChange.
  • [Android] Fix bug in Android 12 support for executing .start() in background while terminated. Used JobScheduler ONESHOT instead of AlarmManager.
  • [Android] Plugin could be placed into an infinite loop requesting motionchange position in some cases.
  • [Android] Address ConcurrentModificationException in onPermissionGranted.

4.7.1 — 2022-05-12

  • [Android] If on device reboot location-services fails to provide a location (eg: timeout, airplane mode), the plugin would rely on motion API events to try again. This is a problem if the motion api is disabled. Instead, the SDK will keep trying to retrieve a location.
  • [Android] Android 12 support for ForegroundServiceStartNotAllowedException: immediately launch the SDK's TrackingService as soon as .start() executes. If a location-timeout occurs while fetching the onMotionChange position after device reboot with startOnBoot: true, the ForegroundServiceStartNotAllowedException could be raised.
  • [Android] Add two new attributes android:enabled and android:permission to the SDK's built-in BootReceiver:
<receiver android:name="com.transistorsoft.locationmanager.BootReceiver" android:enabled="true" android:exported="false" android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
  • [Android] Android 12 support for executing .start() and .getCurrentPosition() while the plugin is disabled and in the background. This is a bypass of new Android 12 restrictions for starting foreground-services in the background by taking advantage of AlarmManager.
Fatal Exception: android.app.ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service
  • [Android] Added two new androidx.lifecycle dependencies to plugin's build.gradle, in addition to corresponding ext vars ext.lifeCycleRunTimeVersion and ext.lifeCycleRuntimeVersion
  • "androidx.lifecycle:lifecycle-runtime"
  • "androidx.lifecycle:lifecycle-extensions"

4.6.0 — 2022-04-29

  • [Android] Add a few extra manufacturer-specific Intent for DeviceSettings.showPowerManager().
  • [Android] Minimum compileSdkVersion 31 is now required.
  • [Android] Now that a minimum targetSdkVersion 29 is required to release an Android app to Play Store, the SDK's AndroidManifest now automatically applies android:foregroundServiceType="location" to all required Service declarations. You no longer need to manually provide overrides in your own AndroidManifest, ie:
<manifest>
    <application>
-       <service android:name="com.transistorsoft.locationmanager.service.TrackingService" android:foregroundServiceType="location" />
-       <service android:name="com.transistorsoft.locationmanager.service.LocationRequestService" android:foregroundServiceType="location" />
</tr></table> 

... (truncated)

Commits
  • 8cb706d Merge pull request #1519 from transistorsoft/release-4.8.1
  • 7b25be8 [RELEASE] 4.8.2
  • e31ef0e Merge pull request #866 from giacomocerquone/@​giacomocerquone/fix-changelog-t...
  • b4678fa Merge branch 'remove-react-native.config.js'
  • 5cd3b63 Remove deprecated react-native.config.js breaking builds in RN 0.69.0 because...
  • 3651eca Merge pull request #1501 from transistorsoft/release-4.8.0
  • 01ab850 [RELEASE] 4.8.0
  • 53abe75 [Android] Fix issue with new Android 12 system for executing .start() in the ...
  • 17c204d Re-generate docs
  • 3f38ce7 [Android] Fix bug in Android 12 support for executing .start() in background ...
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Removes [xmldom](https://github.com/xmldom/xmldom). It's no longer used after updating ancestor dependencies [xmldom](https://github.com/xmldom/xmldom), [plist](https://github.com/TooTallNate/node-plist) and [react-native-background-geolocation](https://github.com/transistorsoft/react-native-background-geolocation). These dependencies need to be updated together.


Removes `xmldom`

Updates `plist` from 3.0.1 to 3.0.6
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

Updates `react-native-background-geolocation` from 3.6.2 to 4.8.2
- [Release notes](https://github.com/transistorsoft/react-native-background-geolocation/releases)
- [Changelog](https://github.com/transistorsoft/react-native-background-geolocation/blob/master/CHANGELOG.md)
- [Commits](transistorsoft/react-native-background-geolocation@3.6.2...4.8.2)

---
updated-dependencies:
- dependency-name: xmldom
  dependency-type: indirect
- dependency-name: plist
  dependency-type: indirect
- dependency-name: react-native-background-geolocation
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants