Skip to content

Support RN new arch#126

Open
huextrat wants to merge 1 commit intotschoffelen:masterfrom
huextrat:new-arch-support
Open

Support RN new arch#126
huextrat wants to merge 1 commit intotschoffelen:masterfrom
huextrat:new-arch-support

Conversation

@huextrat
Copy link
Copy Markdown

@huextrat huextrat commented Aug 25, 2023

This PR adds support for both new and old architecture.

This change is Android only, since only Android requires native dev for opening mail through an intent.

Suggestions / Discussions

  • Make naming clearer (ex: EmailPackage -> RNEmailPackage, EmailImpl -> RNEmailImpl, Email.java -> RNEmail.java)

⚠️ This change needs to be tested on several versions of RN with both architecture.

  • I've tested it on RN 0.72.4 with both old and new arch.

@tschoffelen
Copy link
Copy Markdown
Owner

Really appreciate your contribution! I haven't had time to test this yet, and might not for a while, but happy to merge this into master if you feel confident?

@huextrat
Copy link
Copy Markdown
Author

It would be better if someone take a look at the changes and did at least one old arch / new arch test to make sure everything is working

@pekq
Copy link
Copy Markdown

pekq commented Oct 7, 2025

Thanks for the great library!

Is there a possibility to get this merged? We'd like to keep using this library also with the New Arch.

@tschoffelen
Copy link
Copy Markdown
Owner

Yes I think it's about time! I will have a look in the next several weeks, but also happy to accept an updated version of this PR that is mergable.

@tschoffelen tschoffelen removed their assignment Oct 8, 2025
@JeongJuhyeon
Copy link
Copy Markdown

@tschoffelen #146 This seems to be the more recent PR to work from?

Would love to use this library but am unfortunately on new arch.

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.

4 participants