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

How to pass user-defind class level object from react native javascript to android?

$
0
0

I am passing params from JS to android to call storeSettings this method instead of that i want to pass Setting as the class-level object to android .is it possible to pass a class level object to android?

@ReactMethod
    public void storeSettings(String storeId, String deviceId, String boxId, Boolean communication, String frontIp, String rearIp, Promise p){
}

Viewing all articles
Browse latest Browse all 29639

Trending Articles



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