Skip to content

fix: commit the MiLink native module sources - #3

Merged
EndLess728 merged 1 commit into
mainfrom
fix/commit-native-module
Oct 15, 2026
Merged

EndLess728 merged 1 commit into
mainfrom
fix/commit-native-module

Conversation

@EndLess728

Copy link
Copy Markdown
Owner

v1.1.0's Android and iOS apps crash at launch with Cannot find native module 'MiLink' (reproduced on an iPhone 16 Pro Max running iOS 27.0.1).

Cause: the mobile .gitignore had unanchored android/ and ios/ patterns (meant for the folders expo prebuild generates). They also matched modules/milink/android and modules/milink/ios, so the native module's Swift and Kotlin sources were never committed and CI built without them.

Fix:

  • Anchor the patterns to /android/ and /ios/, and ignore the module's Gradle output.
  • Add the module sources.
  • CI now fails if the module isn't linked into the iOS app or isn't in the APK.

🤖 Generated with Claude Code

The mobile .gitignore's unanchored android/ and ios/ patterns, meant for the
generated native projects, also matched modules/milink/android and
modules/milink/ios. The module's Swift and Kotlin code never reached the repo,
so CI builds shipped without it and the apps crashed at launch with
"Cannot find native module 'MiLink'".

Anchors the patterns to the app root, adds the module sources, and makes CI
fail if the module isn't linked into the APK or the iOS app.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@EndLess728
EndLess728 merged commit 20e7d19 into main Oct 15, 2026
5 checks passed
@EndLess728
EndLess728 deleted the fix/commit-native-module branch October 15, 2026 02:15
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