diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index 555e605..a004e15 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -2,801 +2,721 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml index 6ae284f..3dbed52 100644 --- a/.idea/libraries/Dart_SDK.xml +++ b/.idea/libraries/Dart_SDK.xml @@ -1,25 +1,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/Sources/dafl_project_flutter/lib/services/position/location.dart b/Sources/dafl_project_flutter/lib/services/position/location.dart index bd1b4e0..5109178 100644 --- a/Sources/dafl_project_flutter/lib/services/position/location.dart +++ b/Sources/dafl_project_flutter/lib/services/position/location.dart @@ -1,3 +1,5 @@ +import 'dart:developer'; + import 'package:dafl_project_flutter/model/spot.dart'; import 'package:geolocator/geolocator.dart'; import 'package:http/http.dart' as http; @@ -8,7 +10,7 @@ import '../../main.dart'; class Location { static Future> sendCurrentLocation() async { Uri uri = Uri.parse( - "http://82.216.56.128/phpmyadmin/dafl/insertAndMakeListUser.php"); + "http://89.83.53.34/phpmyadmin/dafl/insertAndMakeListUser.php"); LocationPermission permission = await Geolocator.checkPermission(); if (permission == LocationPermission.denied) { @@ -29,7 +31,7 @@ class Location { "longitude": current.longitude.toString(), "idMusic": actualSong, }); - print("echo"); + log("echo"); var data = jsonDecode(response.body); Map spotsData = {}; List spots = [];