Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RNDemo - native module call
import {NativeModules} from 'react-native';
NativeModules.Approov.fetchApproovToken(input)
.then(token => {
// do something useful...
})
.catch((error) => {
throw error;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment