Skip to content

Modules iOS & android vs Cross-Platform Native Modules (C++) #270

Closed Answered by cortinico
wordofhope asked this question in Q&A
Discussion options

You must be logged in to vote

Can you please explain what's the difference and when we should use one over the other.

The core difference is wether you want to have a pure C++ Native Module, so that all the logic is stored in C++, or not.

The "Android & iOS" Modules, have the implementation written in the platform layer.

So for example if you need to access Android specific APIs, you'll go that way. If instead you're working on say a crypto library, you can go the C++ way, as you'll have a single implementation to maintain.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cortinico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants