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

Issue security : GSON lib to update #371

Open
wants to merge 113 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
5051091
Location crash in background
stxsudhi Mar 14, 2022
238c30e
Update BackgroundLocatorPlugin.kt
Yukams Apr 21, 2022
b870cbc
copyiing https://github.com/rekabhq/background_locator/pull/292/files
Yukams Apr 21, 2022
f25acd9
Merge pull request #2 from Yukams/PATCH-crash_on_restart
Yukams Apr 21, 2022
4bc8c1a
FIX CallBack error
Yukams Apr 21, 2022
cf1fb34
Update IsolateHolderExtension.kt
Yukams Apr 21, 2022
2e6fd89
Update README.md
Yukams Apr 21, 2022
d208913
correcaode bugs
caiobraga Apr 25, 2022
222677f
teste
caiobraga Apr 25, 2022
b28c1db
correção de erros
caiobraga Apr 25, 2022
eead0b7
teste
caiobraga Apr 25, 2022
8e89527
correção de bugs
caiobraga Apr 25, 2022
1e71ad3
teste
caiobraga Apr 25, 2022
a04ac75
testes
caiobraga Apr 25, 2022
656170a
teste
caiobraga Apr 25, 2022
eeda67f
teste
caiobraga Apr 25, 2022
40f355e
teste correção de erros initPluggable
caiobraga Apr 25, 2022
e7c5ffc
teste
caiobraga Apr 25, 2022
844e5dd
teste
caiobraga Apr 25, 2022
cd44c3d
teste
caiobraga Apr 25, 2022
db235f7
teste
caiobraga Apr 25, 2022
a5a1b98
correção de erros
caiobraga Apr 25, 2022
a0a9c2c
correção de erros
caiobraga Apr 25, 2022
338ad79
bug fixed for android sdk 31
caiobraga Apr 25, 2022
830989e
correção de erros
caiobraga Apr 25, 2022
30bd6e5
fixing locator should be init first
Yukams May 9, 2022
b37e9d4
Flutter 3 warning fixes
stxsudhi May 13, 2022
f776c6a
Kotline code migrations
stxsudhi May 13, 2022
c7e696a
Flutter 3.0.0 Dart code update
Yukams May 16, 2022
b6eb59f
Unable to run the example application with flutter 3
stxsudhi May 23, 2022
8968473
location_permissions and path_provider dependency updated to latest
stxsudhi May 23, 2022
ab61b34
compileSdkVersion updated to 32
stxsudhi May 23, 2022
ff20b34
Update background_locator.dart
dmacan23 Jun 1, 2022
ee51b2e
fix: updated IsolateHolderService to have IMMUTABLE flag as well for …
dmacan23 Jun 2, 2022
c1cc1f8
feat: use only monitorsignificantchanges
jo11yn Sep 17, 2021
d9fb768
fix: Flutter 3.0
Alfaizkhan May 16, 2022
7ddbb8e
Update IsolateHolderService.kt
Dj-Denis Jun 7, 2022
86bc387
support flutter 2/3
Dj-Denis Jun 7, 2022
47e5339
Merge pull request #4 from ZeroMolecule/master
Yukams Jun 9, 2022
489dcfa
Fixing bugs
Yukams Jun 13, 2022
2f3a5b9
Merge branch 'pr/5'
Yukams Jun 13, 2022
e82f781
Merge branch 'pr/3'
Yukams Jun 13, 2022
598b0d6
Update README.md
Yukams Jun 13, 2022
5417e06
fixing the plugin according to https://github.com/rekabhq/background_…
Yukams Jun 13, 2022
d5aeecd
fixing the plugin
Yukams Jun 14, 2022
ec65169
fixing plugin auto-launch on mobile restart
Yukams Jun 14, 2022
bbcbba7
Update README.md
Yukams Jun 20, 2022
7cb7cb0
Merge pull request #6 from Dj-Denis/master
Yukams Jun 27, 2022
3e339eb
adding log to stopIsolateService()
Yukams Jun 27, 2022
e1e2f8a
Merge pull request #9 from Yukams/unregister_plugin_fix
Yukams Jun 27, 2022
5d21475
Fixing the locator so it works after an app crash (due to removing a …
Yukams Jul 1, 2022
b08b002
Merge pull request #10 from Yukams/fixing_locator_after_app_crash
Yukams Jul 8, 2022
652fc02
Revert minSdk from 31 to 29
Yukams Jul 11, 2022
03221a9
2.0.2 : Preparing lib for pub dev
Yukams Jul 11, 2022
5d87040
Merge pull request #11 from Yukams/minsdk_29
Yukams Jul 11, 2022
2f66eee
Merge branch 'master' into prepare_lib_for_pub_dev
Yukams Jul 11, 2022
850e368
Merge pull request #12 from Yukams/prepare_lib_for_pub_dev
Yukams Jul 11, 2022
7723f2f
2.0.3 :
Yukams Jul 11, 2022
d27f79f
2.0.4-dev.1 :
Yukams Jul 12, 2022
428525c
Update keys.dart
rajeshbdabhi Jul 15, 2022
54b9760
Update ios_settings.dart
rajeshbdabhi Jul 15, 2022
189792e
Update Globals.h
rajeshbdabhi Jul 15, 2022
ce2dbbc
Update Globals.m
rajeshbdabhi Jul 15, 2022
93a55d1
Update BackgroundLocatorPlugin.m
rajeshbdabhi Jul 15, 2022
10970fc
Update PreferencesManager.h
rajeshbdabhi Jul 15, 2022
6a931be
Update PreferencesManager.m
rajeshbdabhi Jul 15, 2022
01f5829
Merge pull request #18 from Yukams/2.0.4-dev.1_FIX_ios_and_package_name
Yukams Jul 18, 2022
98a2526
Merge pull request #17 from rajeshbdabhi/master
Yukams Jul 18, 2022
5df91dd
2.0.4-dev.2 :
Yukams Jul 18, 2022
0695387
Adding new param to documentation
Yukams Jul 18, 2022
4b470e1
Fixing test import
Yukams Jul 19, 2022
5b05fda
Merge pull request #19 from Yukams/2.0.4-dev.2_iOS_add_autostop_backg…
Yukams Jul 19, 2022
068b353
2.0.4 : merging changes to the main branch
Yukams Jul 19, 2022
d50ba70
Merge pull request #21 from Yukams/dev
Yukams Jul 19, 2022
a496057
2.0.5 : Fixing demo GIF
Yukams Jul 19, 2022
223010c
Fix Type mismatch: inferred type is String? but Any was expected
sandysultan Jul 21, 2022
da88510
Merge pull request #22 from sandysultan/sandy
Yukams Jul 24, 2022
1b5cc96
2.0.6-dev.1 : updating changelog and pubspec
Yukams Jul 24, 2022
6a207de
Update IsolateHolderExtension.kt
hieudz Aug 9, 2022
a187194
Work around for https://github.com/rekabhq/background_locator/issues/267
hieudz Aug 21, 2022
a627cee
Callback conversion fix for older devices
Sep 7, 2022
2422c8a
Missing podspec file that unbreaks iOS build
Sep 7, 2022
964ab6d
Update location_dto.dart
jo11yn Sep 8, 2022
8517d19
Merge pull request #2 from voyages-sncf-technologies/null-ARG_PROVIDER
jo11yn Sep 8, 2022
838ede8
Merge pull request #30 from hieudz/Fix-memory-leak-bug(#27)
srmncnk Oct 21, 2022
28f1fe9
Merge branch 'master' into ios_build_fix
srmncnk Oct 21, 2022
d35a444
Merge pull request #37 from srmanc/ios_build_fix
srmncnk Oct 21, 2022
248f473
2.0.6 : documentation & cleanup
Oct 21, 2022
befba56
Merge pull request #43 from Yukams/v2.0.6
srmncnk Oct 21, 2022
8ddded1
Raising version to 2.0.6 in pubspec.yaml
Oct 21, 2022
10b1055
Merge pull request #44 from Yukams/v2.0.6
srmncnk Oct 21, 2022
651b662
Merge branch 'master' of https://github.com/Yukams/background_locator…
jo11yn Nov 24, 2022
a5eb955
Merge branch 'Yukams-master' into androidSdk33
jo11yn Nov 24, 2022
aff011b
fix merge
jo11yn Nov 24, 2022
ae81e7e
Merge branch '2.0.6-dev.1' of https://github.com/Yukams/background_lo…
jo11yn Nov 24, 2022
272ff65
Upgrade kotlin and gradle versions for Android Studio
sanak Nov 26, 2022
eeb3317
Add @pragma('vm:entry-point') to callback handler class and methods
sanak Nov 26, 2022
8f00532
Support null safety for callback handler
sanak Nov 26, 2022
3e0e4dc
Send json data from background to main to avoid release build crash
sanak Nov 26, 2022
a8e661e
Update build.gradle
tulioccalazans Feb 11, 2023
168cf90
Update GoogleLocationProviderClient.kt
tulioccalazans Feb 11, 2023
3392a13
Fix callback in release build
tulioccalazans Feb 11, 2023
d54129e
Merge pull request #66 from tulioccalazans/master
Yukams Mar 8, 2023
e363f56
Merge pull request #53 from sanak/fix/callback-in-release-build
Yukams Mar 8, 2023
562f6fc
Fix Type mismatch: inferred type is String? but Any was expected
sandysultan Jul 21, 2022
abac5fa
2.0.6-dev.1 : updating changelog and pubspec
Yukams Jul 24, 2022
f92e86b
2.0.6 :
Yukams Mar 8, 2023
552f0ce
2.0.6 :
Yukams Mar 8, 2023
8e07399
Revert "Fix Type mismatch: inferred type is String? but Any was expec…
Yukams Mar 8, 2023
e86851d
2.0.6 :
Yukams Mar 8, 2023
f174944
Merge pull request #70 from Yukams/2.0.6
Yukams Mar 8, 2023
aa5c410
Merge pull request #4 from sncf-connect-tech/androidSdk33
jo11yn Apr 21, 2023
8ba1c3c
Merge pull request #5 from Yukams/master
jo11yn Apr 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
## 2.0.6
* Fixing iOS build
* Fixing memory leak on Android
* Fixing callbacks on older Android devices
## 2.0.6-dev.1
* Fix Type mismatch: inferred type is String? but Any was expected

## 2.0.6-dev.2
* Fixing iOS build
* Fixing memory leak on Android
* Fixing callbacks on older Android devices

## 2.0.6-dev.1
* Fix Type mismatch: inferred type is String? but Any was expected

## 2.0.5
* Fixing demo gif

## 2.0.4
* Merging 2.0.4-dev1 and 2.0.4-dev2 to the main branch

## 2.0.4-dev.2
* Adding auto stop on app terminate on iOS
* Fixing import on example test script

## 2.0.4-dev.1
* Fixing iOS build
* Replacing package:background_locator_2 by background_locator_2

## 2.0.3
* Replacing background_locator by background_locator_2 **(BREAKING CHANGE)**
* Replacing rekab by yukams

## 2.0.2
* Adding fields to pubspec.yaml
* Changing README.md to prepare it to be published on pub.dev
* Changing LICENCE file

## 2.0.1
* Reverting minSdk from 31 to 29

## 2.0.0
* New fork
* Support for Flutter 3.0
* Support for NullSafety
* Fix initCallback is now called first as expected
* Fix callback not called
* Fix example
* Fix FLAG_IMMUTABLE error for SDK 23+
* Fix library not working after a phone reboot
* Fix library not working after an app crash due to revoking permissions
* Adding a bit more logs
* Changing minSdk from 29 to 31

## 1.6.12
* Fixes onStatusChanged crash;
* Fixed issue #94;
Expand Down
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Copyright 2020 REKAB
Copyright 2022 Yukams

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
This package is a V2 of the background_locator package, fixing it and making it work for the newest versions of Flutter. Please read the wiki in order to make this plugin work with flutter 3.x.

# background_locator ![](https://github.com/rekab-app/background_locator/workflows/build/badge.svg) [![pub package](https://img.shields.io/pub/v/background_locator.svg)](https://pub.dartlang.org/packages/background_locator) ![](https://img.shields.io/github/contributors/rekab-app/background_locator) ![](https://img.shields.io/github/license/rekab-app/background_locator)
# background_locator_2 ! [![pub package](https://img.shields.io/pub/v/background_locator_2.svg)](https://pub.dartlang.org/packages/background_locator_2) ![](https://img.shields.io/github/contributors/Yukams/background_locator_fixed) ![](https://img.shields.io/github/license/Yukams/background_locator_fixed)

A Flutter plugin for getting location updates even when the app is killed.

![demo](https://raw.githubusercontent.com/RomanJos/background_locator/master/demo.gif)

Refer to [wiki](https://github.com/rekab-app/background_locator/wiki) page for install and setup instruction or jump to specific subject with below links:
Refer to [wiki](https://github.com/Yukams/background_locator_fixed/wiki) page for install and setup instruction or jump to specific subject with below links:

* [Installation](https://github.com/rekab-app/background_locator/wiki/Installation)
* [Setup](https://github.com/rekab-app/background_locator/wiki/Setup)
* [How to use](https://github.com/rekab-app/background_locator/wiki/How-to-use)
* [Use other plugins in callback](https://github.com/rekab-app/background_locator/wiki/Use-other-plugins-in-callback)
* [Stop on app terminate](https://github.com/rekab-app/background_locator/wiki/Stop-on-app-terminate)
* [LocationSettings options](https://github.com/rekab-app/background_locator/wiki/LocationSettings-options)
* [Restart service on device reboot (Android only)](https://github.com/rekab-app/background_locator/wiki/Restart-service-on-device-reboot)
* [Installation](https://github.com/Yukams/background_locator_fixed/wiki/Installation)
* [Setup](https://github.com/Yukams/background_locator_fixed/wiki/Setup)
* [How to use](https://github.com/Yukams/background_locator_fixed/wiki/How-to-use)
* [Use other plugins in callback](https://github.com/Yukams/background_locator_fixed/wiki/Use-other-plugins-in-callback)
* [Stop on app terminate](https://github.com/Yukams/background_locator_fixed/wiki/Stop-on-app-terminate)
* [LocationSettings options](https://github.com/Yukams/background_locator_fixed/wiki/LocationSettings-options)
* [Restart service on device reboot (Android only)](https://github.com/Yukams/background_locator_fixed/wiki/Restart-service-on-device-reboot)

## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

## Contributor
Thanks to all who contributed on this plugin to fix bugs and adding new feature, including:
* [Rekab](https://github.com/rekabhq) (creator of V1)
* [Gerardo Ibarra](https://github.com/gpibarra)
* [RomanJos](https://github.com/RomanJos)
* [Marcelo Henrique Neppel](https://github.com/marceloneppel)
13 changes: 7 additions & 6 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
group 'rekab.app.background_locator'
group 'yukams.app.background_locator_2'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.4.21'
ext.kotlin_version = '1.7.20'
repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand All @@ -25,13 +25,13 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 30
compileSdkVersion 29

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 16
minSdkVersion 19
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {
Expand All @@ -41,6 +41,7 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "com.google.android.gms:play-services-location:18.0.0"
implementation "com.google.android.gms:play-services-location:21.0.1"
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.google.android.material:material:1.0.0'
}
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = 'background_locator'
rootProject.name = 'background_locator_2'
2 changes: 1 addition & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="rekab.app.background_locator"></manifest>
<manifest package="yukams.app.background_locator_2"></manifest>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading