Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak BackStackRecordLocalProvider to get it building on iOS again #1076

Merged
merged 3 commits into from
Dec 21, 2023

Conversation

chrisbanes
Copy link
Contributor

@chrisbanes chrisbanes commented Dec 21, 2023

The Kotlin/Native optimizer seems to have issues with some static properties (issue here).

This PR tweaks BackStackRecordLocalProvider to avoid the offending initializers all together. This does mean that we lose the CompositionLocal, but it's internal and not overridden anywhere anyway.

Closes #1075

The Kotlin/Native optimizer seems to have issues with some static properties.
This PR tweaks BackStackRecordLocalProvider to avoid the offending initializers
all together. This does mean that we lose the CompositionLocal, but it's internal
and not overridden anywhere anyway.
@ZacSweers
Copy link
Collaborator

Not sure if the CI failure is because you opened the PR and thus don't have access to the secret, will merge past it for now

@chrisbanes
Copy link
Contributor Author

It passed earlier, so might just be a fluke. Hopefully the re-run goes green.

@chrisbanes
Copy link
Contributor Author

Http error 403: Invalid apiToken

Ah, yeah I don't have access to the secret. When I said it passed earlier, I meant it passed in my fork before rebasing on to your emulator changes.

@ZacSweers ZacSweers merged commit c7cf5bd into slackhq:main Dec 21, 2023
2 of 3 checks passed
@ZacSweers
Copy link
Collaborator

talking with the ewtf people about options for this async

@chrisbanes chrisbanes deleted the cb/ios-release branch March 11, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error trying to build iOS app using Circuit 0.17.1
2 participants