Skip to content

Guard AndroidLegoServiceExtensions with #if __ANDROID__ - #2

Merged
Ktechen merged 1 commit into
masterfrom
fix/android-lego-compile-guard
Jul 21, 2026
Merged

Guard AndroidLegoServiceExtensions with #if __ANDROID__#2
Ktechen merged 1 commit into
masterfrom
fix/android-lego-compile-guard

Conversation

@Ktechen

@Ktechen Ktechen commented Jul 21, 2026

Copy link
Copy Markdown
Owner

The Android transport helper referenced SharpBrick.PoweredUp(.Mobile) unconditionally, so the plain net10.0 build (the CI gate) failed with CS0246 since those packages only exist on the Android head. Wrap the file in #if ANDROID ... #endif to match its WINDOWS / IOS siblings.

The Android transport helper referenced SharpBrick.PoweredUp(.Mobile)
unconditionally, so the plain net10.0 build (the CI gate) failed with
CS0246 since those packages only exist on the Android head. Wrap the
file in #if __ANDROID__ ... #endif to match its WINDOWS / __IOS__
siblings.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@Ktechen
Ktechen merged commit 5a8158b into master Jul 21, 2026
4 checks passed
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.

1 participant