mapbox / mapbox-maps-ios

Interactive, thoroughly customizable maps for iOS powered by vector tiles and Metal
https://www.mapbox.com/mapbox-mobile-sdk
Other
455 stars 151 forks source link

Pink Map Issue #1430

Open jimmy0804 opened 2 years ago

jimmy0804 commented 2 years ago

Environment

Observed behavior and steps to reproduce

As soon as user opens the app, we will show a map with Mapbox layers and UIViews added on top. In some rare occasions, some users have reported seeing the map having a pink background (See screenshot below). Users were able to resolve this problem (see normal map again) by either navigating to other screens and come back in the same app instance or by killing the app and reopen it. For those users that were affected, they could only see this issue once.

Screen Shot 2022-07-05 at 19 23 59
jimmy0804 commented 2 years ago

Similar issues being reported before: https://github.com/mapbox/mapbox-maps-ios/issues/1053

AnkitGabani commented 2 years ago

Hello jimmy, How are you? Can you send me mapbox podfile

bcx, i had try 7-8 times install pod, can't perfect install pls help me..

Thank you

ZiZasaurus commented 2 years ago

@jimmy0804, this behavior should be addressed in 10.6. Can you please update and confirm whether or not you or your users are still seeing this pink background issue?

jimmy0804 commented 2 years ago

@ZiZasaurus Sure, will update to 10.6 and see if that fixes the issue. Will get back to you with the result. Thanks!

ZiZasaurus commented 2 years ago

@jimmy0804 My apologies, it looks like this behavior should be fixed in 10.7.0-beta.1. If you would like to wait for a more stable version, we should be releasing 10.7.0-rc.1 by the end of next week.

jimmy0804 commented 2 years ago

@ZiZasaurus No worries at all, I will wait for 10.7 final release, thanks for the heads up.

ZiZasaurus commented 2 years ago

@jimmy0804 v10.7 has been released!

ZiZasaurus commented 1 year ago

@jimmy0804 just wanted to follow up and verify that the issue was resolved for you.

jimmy0804 commented 1 year ago

Hi @ZiZasaurus, we have yet to update to latest Mapbox SDK version (I should be able to do so next week). I will update you as soon as we have. Thanks for keeping an eye on this issue 🙏

jimmy0804 commented 1 year ago

Hi @ZiZasaurus, just some update. We have updated to version 10.7 just recently and have not seen the mentioned pink map issue so far. We will keep testing and see if that happens again. Thanks.

ZiZasaurus commented 1 year ago

@jimmy0804 just wanted to follow up and see if you were still seeing this issue. :)

simozon commented 1 year ago

Hello @ZiZasaurus, we have seen this issue again recently (Mapbox 10.7.0) and we're currently investigating. Come back to you after having more info on how to reproduce it.

jimmy0804 commented 1 year ago

Hi @ZiZasaurus, how are you doing? It's been a while. We are still currently in 10.7.0 and more users are seeing this pink map issue. I know the latest release version of mapbox SDK is 10.10.1. Could we confirm from which version that the pink map issue has been fixed? Thanks

pjleonard37 commented 1 year ago

Hi @jimmy0804 --

This issue should be addressed in v10.7.0 (specifically due to this change). If you are still seeing this issue, can you share reproduction details so that we can investigate it?

jimmy0804 commented 1 year ago

Hi @pjleonard37, unfortunately, we are still seeing this issue even after we have updated to use version v10.7.0. There were increasing amount of users complaining about seeing their map being pink.. There is no known ways for us to reproduce this issue so far as this issue happens randomly according to our users feedback. I personally have not seen this issue happening to my device.

Some users complained seeing this pink map issue consistently and others complained seeing it once or twice and then gone. Though, most users seem to only see this problem when they land on the first screen of the app after cold/hot app start the app. Not sure if that might help with investigation....

OdNairy commented 1 year ago

Hi @jimmy0804 The latest "pink issue" fix landed in v10.10.0 (PR https://github.com/mapbox/mapbox-maps-ios/pull/1675). We heard no "pink" reports afterwards (yet?). Can you please adopt the latest version? /cc @evil159

jimmy0804 commented 1 year ago

Hi @OdNairy, thanks for the update. We will update to use v10.10.x as soon as possible. However, we will not be able to update to v10.10.x until the fix in this PR raised by our team is merged. Would it be possible to have someone to review that PR and have it merged to unblock us from upgrading to v10.10.x? Thanks.

OdNairy commented 1 year ago

@jimmy0804 We will consider taking https://github.com/mapbox/mapbox-maps-ios/pull/1856 related issue in the next sprint.

jimmy0804 commented 1 year ago

Thanks @OdNairy. That will be extremely helpful. Really appreciate for the help.

evil159 commented 1 year ago

@jimmy0804 We've released the app extension support fix as a part of 10.11.1 release, thank you for contributions! We had to cherry-pick your changes, that's why you don't see the original PR being merged directly.

jimmy0804 commented 1 year ago

Understood, thanks a lot @evil159! Credit goes to https://github.com/lasha-ring

Riska-Sosiska commented 1 month ago

Hi. Im not sure if its the same issue but since i havent find any info on this problem, ill try my luck here. I have imported the Mapbox, opened the Location-based-game example and see the pink plane and pink player. Does anyone have an idea what im doing wrong? In general i didnt even do anything different than in the tutorial i was following. Access token is submitted. Unity version 2022.3.18f1. Mapbox v2.1.1. MacOS

Screenshot 2024-06-04 at 15 51 09