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

Overhaul #24

Merged
merged 33 commits into from
Jul 13, 2023
Merged

Overhaul #24

merged 33 commits into from
Jul 13, 2023

Conversation

ammarahm-ed
Copy link
Collaborator

@ammarahm-ed ammarahm-ed commented Jul 5, 2023

  • Module metadata is extracted at runtime on both android & iOS
  • Little dependency on CLI hooks for autolinking.
  • Swift module support without patching swift files
  • Kotlin modules support
  • Initial support for Native Component libraries
  • Removed the need to patch NativeScriptApplication for modules such as react-native-firebase/notifee etc. Instead we can simply extend Android Application in JS from ReactCustomApplication as below:

application.android.ts:

/* eslint-disable @typescript-eslint/no-unused-vars */
@NativeClass()
@JavaProxy('com.tns.NativeScriptApplication')
class Application extends com.facebook.react.ReactCustomApplication {
  public onCreate(): void {
    super.onCreate();
  }

  public attachBaseContext(baseContext: android.content.Context) {
    super.attachBaseContext(baseContext);
  }
}

- Added BatchedBridge for registering custom JS modules that can
be invoked from native side
- Add missing uimanager classes required by native components
- Added auto types generation for view props
- Added streamlined interface for registering ViewManagers
- Add support for JSON data handling in android value converter
@ammarahm-ed ammarahm-ed changed the title extract metadata at runtime Overhaul Jul 5, 2023
@ammarahm-ed ammarahm-ed temporarily deployed to github-pages July 13, 2023 16:26 — with GitHub Pages Inactive
@ammarahm-ed ammarahm-ed temporarily deployed to github-pages July 13, 2023 16:37 — with GitHub Pages Inactive
@ammarahm-ed ammarahm-ed temporarily deployed to github-pages July 13, 2023 16:42 — with GitHub Pages Inactive
@ammarahm-ed ammarahm-ed temporarily deployed to github-pages July 13, 2023 17:23 — with GitHub Pages Inactive
@ammarahm-ed ammarahm-ed temporarily deployed to github-pages July 13, 2023 17:37 — with GitHub Pages Inactive
@ammarahm-ed ammarahm-ed merged commit 097294c into main Jul 13, 2023
3 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.

None yet

1 participant