Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions geolocator_android/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
group 'com.baseflow.geolocator'
version '1.0'
def args = ["-Xlint:deprecation","-Xlint:unchecked"]

buildscript {
repositories {
Expand All @@ -22,14 +23,13 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
if (project.android.hasProperty("namespace")) {
namespace("com.baseflow.geolocator")
}
namespace "com.baseflow.geolocator"


compileSdk flutter.compileSdkVersion
compileSdk 34

defaultConfig {
minSdkVersion flutter.minSdkVersion
minSdkVersion 26
}
lintOptions {
disable 'InvalidPackage'
Expand Down
2 changes: 1 addition & 1 deletion geolocator_android/lib/src/types/foreground_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class ForegroundNotificationConfig {
'notificationText': notificationText,
'notificationChannelName': notificationChannelName,
'setOngoing': setOngoing,
'color': color?.toARGB32(),
'color': color?.value,
};
}
}
3 changes: 1 addition & 2 deletions geolocator_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ issue_tracker: https://github.com/baseflow/flutter-geolocator/issues?q=is%3Aissu
version: 5.0.1+1

environment:
sdk: ^3.5.0
flutter: ">=2.17.0"
sdk: '>=3.4.0 <4.0.0'

flutter:
plugin:
Expand Down
Loading