Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { NativeModules } from 'react-native';
- const nativeModule = NativeModules.NativeLogger;
- export const log = async () => {
- const result = await nativeModule.logAsync('Logged value');
- console.log(`[NativeModule] results = ${result}`);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement