-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appsc: crashStack traces logged to the consoleStack traces logged to the consoledependency: skiaSkia team may need to help usSkia team may need to help usp: mapsGoogle Maps pluginGoogle Maps pluginplatform-androidAndroid applications specificallyAndroid applications specificallywaiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
Steps to Reproduce
On Samsung Galaxy S6 the google maps plug in causes the device to freeze and the screen shows flickering black pixels.
Minimal Repro
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
class MapTest extends StatelessWidget {
final LatLng center = const LatLng(32.0, 34.9);
@override
Widget build(BuildContext context) {
return Container(
child: Center(
child: SizedBox(
width: 300.0,
height: 300.0,
child: GoogleMap(
onMapCreated: onMapCreated,
options: GoogleMapOptions(
cameraPosition: CameraPosition(
target: center,
zoom: 11.0
)
),
gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>[
Factory<OneSequenceGestureRecognizer>(
() => EagerGestureRecognizer()
)
].toSet(),
),
),
),
);
}
void onMapCreated(GoogleMapController controller) {
controller.addMarker(MarkerOptions(
position: LatLng(
center.latitude,
center.longitude
),
infoWindowText: const InfoWindowText("Test Location", 'AA')
));
}
}[√] Flutter (Channel dev, v0.10.2, on Microsoft Windows [Version 10.0.17134.345], locale en-CA)
• Flutter version 0.10.2 at D:\flutter
• Framework revision d8cbb80206 (8 days ago), 2018-10-26 01:30:21 -0400
• Engine revision 6c2ade9fa2
• Dart version 2.1.0-dev.8.0.flutter-bf26f760b1
[√] Android toolchain - develop for Android devices (Android SDK 28.0.2)
• Android SDK at C:\Users\kusay\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[√] VS Code, 64-bit edition (version 1.28.2)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 2.20.0
[√] Connected device (1 available)
• SM G920W8 • 0216029abaa90a03 • android-arm64 • Android 6.0.1 (API 23)
• No issues found!
Metadata
Metadata
Assignees
Labels
a: platform-viewsEmbedding Android/iOS views in Flutter appsEmbedding Android/iOS views in Flutter appsc: crashStack traces logged to the consoleStack traces logged to the consoledependency: skiaSkia team may need to help usSkia team may need to help usp: mapsGoogle Maps pluginGoogle Maps pluginplatform-androidAndroid applications specificallyAndroid applications specificallywaiting for PR to land (fixed)A fix is in flightA fix is in flight