Skip to content

feat: support Lynx extension autolink#87

Draft
jianliang00 wants to merge 1 commit into
tiktok:mainfrom
jianliang00:p/wangjianliang/sparkling-autolink-rfc
Draft

feat: support Lynx extension autolink#87
jianliang00 wants to merge 1 commit into
tiktok:mainfrom
jianliang00:p/wangjianliang/sparkling-autolink-rfc

Conversation

@jianliang00
Copy link
Copy Markdown
Contributor

Summary

  • extend sparkling autolink to discover RFC-style lynx.ext.json packages while keeping legacy module.config.json support
  • generate Android and iOS autolink registries for NativeUI, NativeModules, services, and legacy Sparkling methods
  • wire generated registries into the Android/iOS templates and Sparkling runtime registries

Validation

  • pnpm --filter @lynx-js/sparkling-app-cli test
  • ./gradlew :lynx-extensions-xelement-input:compileDebugKotlin --no-daemon in a temporary Sparkling app
  • RBENV_VERSION=3.2.8 pod install in a temporary Sparkling app
  • xcodebuild -workspace SparklingGo.xcworkspace -scheme SparklingGo -configuration Debug -destination id=CC54C560-C172-4AC7-A5E4-12CC919A4082 -derivedDataPath /tmp/sparkling-autolink-bnpm-e2e-derived build
  • installed and launched the temporary iOS app on the iPhone 16 Pro simulator with @lynx-extensions/xelement-input@0.0.2 from bnpm

Notes

  • Android app integration still needs a published Sparkling Maven artifact that contains the new autolink runtime classes; the extension module itself compiles successfully.

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