Giter VIP home page Giter VIP logo

Comments (9)

hzfanfei avatar hzfanfei commented on June 4, 2024 1

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.

baleboy avatar baleboy commented on June 4, 2024

Could you check if this is reproducible with 1.0.0-beta.2 ?

from mapbox-maps-flutter.

starpower1m avatar starpower1m commented on June 4, 2024

^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()),
),
image image

from mapbox-maps-flutter.

evil159 avatar evil159 commented on June 4, 2024

@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.

evil159 avatar evil159 commented on June 4, 2024

@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.

hzfanfei avatar hzfanfei commented on June 4, 2024

[✓] 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.

baleboy avatar baleboy commented on June 4, 2024

I also tested this on iPhone 15 Pro and it worked

from mapbox-maps-flutter.

hzfanfei avatar hzfanfei commented on June 4, 2024

I also tested this on iPhone 15 Pro and it worked

Which version of flutter are you using?

from mapbox-maps-flutter.

hzfanfei avatar hzfanfei commented on June 4, 2024

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.
image

from mapbox-maps-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.