fix(175): Plugin-Anchor an echte SDK-54 MainApplication.kt anpassen #248

Merged
admin-mrrm merged 1 commit from fix-175-onnxruntime-anchor into main 2026-05-13 22:36:58 +02:00
Owner

Summary

  • Anchor des with-onnxruntime-package-Plugins korrigiert: SDK 54 nutzt PackageList(this).packages.apply { ... }, nicht val packages = PackageList(this).packages.
  • Add-Line nun innerhalb des apply-Blocks (this ist dort die MutableList → add(OnnxruntimePackage())).
  • Test-Fixture aktualisiert auf reale Expo-Template-Struktur (inkl. ReactNativeHostWrapper).
  • Lokal gegen das EAS-Log-Template manuell verifiziert.

Background

Folge-Fix nach #247: dort schlug EAS-Build 5efc6911 im PREBUILD fehl, weil mergeContents mangels Anchor-Match warf.

Test plan

  • pnpm --filter @mrrmlab/mobile exec vitest run plugins grün
  • EAS Dev-Build erfolgreich
  • App startet ohne install of null
## Summary - Anchor des `with-onnxruntime-package`-Plugins korrigiert: SDK 54 nutzt `PackageList(this).packages.apply { ... }`, nicht `val packages = PackageList(this).packages`. - Add-Line nun innerhalb des apply-Blocks (`this` ist dort die MutableList → `add(OnnxruntimePackage())`). - Test-Fixture aktualisiert auf reale Expo-Template-Struktur (inkl. `ReactNativeHostWrapper`). - Lokal gegen das EAS-Log-Template manuell verifiziert. ## Background Folge-Fix nach #247: dort schlug EAS-Build 5efc6911 im PREBUILD fehl, weil `mergeContents` mangels Anchor-Match warf. ## Test plan - [x] `pnpm --filter @mrrmlab/mobile exec vitest run plugins` grün - [ ] EAS Dev-Build erfolgreich - [ ] App startet ohne `install of null`
fix(175): Plugin-Anchor an echte SDK-54 MainApplication.kt anpassen
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
8a1c6d2768
EAS-Build 5efc6911 failte im PREBUILD-Step, weil der Anchor von #247
auf der erfundenen Template-Form `val packages = PackageList(this).packages`
basierte. Expo SDK 54 verwendet aber:

    override fun getPackages(): List<ReactPackage> =
        PackageList(this).packages.apply { ... }

`mergeContents` warf, sobald der Anchor nicht griff (Fixture-Bug).

- Anchor jetzt auf `PackageList(this).packages.apply {` (innerhalb des
  apply-Blocks, wo `this` die MutableList ist → `add(OnnxruntimePackage())`)
- Test-Fixture aktualisiert auf reale Template-Struktur (apply + Wrapper)
- Lokal gegen das aus dem EAS-Log extrahierte echte Template verifiziert

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
admin-mrrm/mrrmlabapp!248
No description provided.