Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6290

Is there a clean way to call an external sdk with Java files in React Native?

$
0
0

I have a React Native cli project for an Android app. I want to use a java sdk (Matter: https://github.com/project-chip/connectedhomeip) to call some functions from there for my Android app. Since this is an sdk that changes I don't want to change the java code inside of this (so I can't change the code to use NativeModules). Is there a clean solution for my problem or would it be possible to make another Folder where I have Java files that implement the NativeModules and just call the original Java files from the sdk?


Viewing all articles
Browse latest Browse all 6290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>