Comments (9)
I wrote a demo that crashes when run on iPhone 14 pro or iPhone 15 pro. iPhone XR is ok.
https://github.com/hzfanfei/mapboxTest
from mapbox-maps-flutter.
Could you check if this is reproducible with 1.0.0-beta.2 ?
from mapbox-maps-flutter.
^0.5.1 and 1.0.0-beta.2 All have problems . I later used SizeBox to fix the size, but it still crashed . iPhone x is ok
Center(
child: SizedBox(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
child: mapWidget()),
),
from mapbox-maps-flutter.
@starpower1m Could you post the full listing of your widget(hosting the MapWidget)? I tried squeezing the map widget to zero size to no avail reproducing this crash.
from mapbox-maps-flutter.
@hzfanfei Thank you for providing the sample project! I cannot reproduce the crash on my iPhone 13 Pro Max with iOS 17.2.1 with your project, what OS version do you have?
And what flutter version do you have? Can you try upgrading to the latest version(3.16.9).
from mapbox-maps-flutter.
[✓] Flutter (Channel stable, 3.16.1, on macOS 14.1.1 23B81 darwin-arm64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.85.0)
[!] Proxy Configuration
! NO_PROXY is not set
[✓] Connected device (5 available)
! Error: Browsing on the local area network for Family的iPhone. Ensure the device is unlocked and attached with a cable or associated with
the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
! Doctor found issues in 1 category.
from mapbox-maps-flutter.
I also tested this on iPhone 15 Pro and it worked
from mapbox-maps-flutter.
I also tested this on iPhone 15 Pro and it worked
Which version of flutter are you using?
from mapbox-maps-flutter.
I have upgraded to flutter 3.16.9
The first time I installed it it was fine, but after a few starts it crashed. You can try to run it a few more times. I crashed after about five attempts.
from mapbox-maps-flutter.
Related Issues (20)
- iOS 17 Memory Leak HOT 6
- iOS 17 Cannot properly build release version HOT 4
- Error when use MapboxOptions.setAccessToken('xxxxxx') HOT 1
- android crash HOT 1
- Is there a way to manipulate the location puck to snap to roads? HOT 2
- Can't focus on puck on iOS HOT 6
- GLTF models import to map
- Android Attribution Dialog Issue: Fails to Open Browser Upon Selection HOT 2
- How to get the coordinates of center of Map screen? HOT 3
- No such module 'MapboxCommon_Private' HOT 3
- iOS: LineLayer only fully renders at certain zoom levels HOT 1
- accessing Telemetry Settings cause app crash HOT 2
- Style layers influenced by the light settings in Mapbox Standard HOT 3
- Exception thrown after calling `dispose()` on MapboxMap HOT 8
- getStyleImage & hasStyleImage methods not responding HOT 7
- iOS crash - Delegate must respond to locationManager:didFailWithError: HOT 3
- Transparent background for the map HOT 1
- Clustering Annotations HOT 4
- Bug while in Debug Mode with Point Annotation HOT 1
- Rendering Widgets on annotation click repeats on ios HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapbox-maps-flutter.