android – how one can verify if a 3rd get together library is written in native code or in javascript in react native

[ad_1]

Often the README displayed on the repo homepage will say someway. If not some issues to search for

React-native libraries will use Node.js, so they may all have a bundle.json within the root of their repo. Native libraries is not going to.

Native code will possible use dependency managers like Cocoapods, Carthage, Swift Package deal Supervisor, Gradle. So search for xxxx.podspec, xxx.cartfile, Package deal.swift, xxxx.gradle within the root of the repo. React-Native is not going to.

Libraries will almost at all times embrace utilization / set up directions. Once more if these point out node, then its react. If it mentions the above instruments or swift / objective-c or kotlin / java, then its native

The exception can be uncommon libraries that supply a number of platforms and will have the entire above. However once more, the directions within the README will say. The one actual recommendation is to learn the README

[ad_2]

Leave a Reply