Reason Pun

修复google map定位问题

......@@ -33,6 +33,7 @@ if (keystorePropertiesFile.exists()) {
android {
compileSdkVersion 32
buildToolsVersion "32"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
......
......@@ -39,7 +39,6 @@ class AddressSelectPageState extends State<AddressSelectPage> {
@override
void initState() {
super.initState();
_getCurrentLocation();
}
Future<void> _getCurrentLocation() async {
......@@ -86,6 +85,7 @@ class AddressSelectPageState extends State<AddressSelectPage> {
void _onMapCreated(GoogleMapController controller) {
mapController = controller;
_getCurrentLocation();
}
@override
......
This diff is collapsed. Click to expand it.