
import { NativeModules } from 'react-native'

let RNPS = NativeModules.RNPasscodeStatus

// written out for clarity
const { supported, status, get } = RNPS
export default { supported, status, get }


import { NativeModules } from 'react-native'

let RNPS = NativeModules.RNPasscodeStatus

// written out for clarity
// { supported, status, get } = RNPS
export default RNPS

Remove unnecessary destructure to fix Jest tests
Remove unnecessary destructure to fix Jest tests

This fixes this issue -> https://github.com/tradle/react-native-passcode-status/issues/1