Skip to content

Feature/771 ios onstyleready reliability - #775

Merged
tobrun merged 2 commits into
flutter-mapbox-gl:masterfrom
tonnyavery:feature/771_ios_onstyleready_reliability
Nov 20, 2021
Merged

tobrun merged 2 commits into
flutter-mapbox-gl:masterfrom
tonnyavery:feature/771_ios_onstyleready_reliability

Conversation

@tonnyavery

@tonnyavery tonnyavery commented Nov 18, 2021 •

Copy link
Copy Markdown
Contributor

Looking into report in #771, this PR applies proposed by @felix-ht change to improve onStyleReadyCallback reliability on iOS

@felix-ht

felix-ht commented Nov 18, 2021 •

Copy link
Copy Markdown
Collaborator

Does this also fix the original issue you were seeing?

Saw your other comment on #771 - LGTM

@tonnyavery

Copy link
Copy Markdown
Contributor Author

@felix-ht Do you know if there is anything I should do for builds to pass?

@felix-ht

Copy link
Copy Markdown
Collaborator

@aaverin no idea seems to be failing for all buids atm

@m0nac0

m0nac0 commented Nov 19, 2021

Copy link
Copy Markdown
Collaborator

Regarding the build failure: I've encountered something similar in the past, and I'm nearly certain it's because of a malformed .netrc file. Maybe the SDK_REGISTRY_TOKEN is not found and therefore empty?
That would explain the error: the netrc file ends unexpectedly after "password" without any actual password.

@tonnyavery

Copy link
Copy Markdown
Contributor Author

@m0nac0 .netrc is only used on iOS but Android also seems to fail. Probably some mistake in CI configuration

@tonnyavery

Copy link
Copy Markdown
Contributor Author

@tobrun Could you please take a look at what is in Settings => Secrets? Might be ANDROID_CI_DOWNLOADS_TOKEN property is not set

@m0nac0

m0nac0 commented Nov 19, 2021

Copy link
Copy Markdown
Collaborator

@m0nac0 .netrc is only used on iOS but Android also seems to fail. Probably some mistake in CI configuration

Right. That message is even clearer regarding the missing SDK_REGISTRY_TOKEN

@tobrun

tobrun commented Nov 20, 2021

Copy link
Copy Markdown
Collaborator

Confirmed in #783 through github action run that the token is not shared to PRs coming from forks. This doesn't seem configurable, I will try finding a solution for it.

This all said, if you are part of the @flutter-mapbox-gl/team, please use a direct clone of the repo instead of forking.
Most of the PRs do come from this select group :)

@tobrun
tobrun merged commit 5d9a5c7 into flutter-mapbox-gl:master Nov 20, 2021
m0nac0 added a commit to maplibre/flutter-maplibre-gl that referenced this pull request May 15, 2022
m0nac0 added a commit to maplibre/flutter-maplibre-gl that referenced this pull request May 15, 2022
* Cherry-pick upstream#775 (Feature/771 ios onstyleready reliability)

https: //github.com/flutter-mapbox-gl/maps/pull/775

Co-Authored-By: Anton Averin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants