message: no longer used?
diff: import { NativeModules } from "react-native"
  -/**
  - * Convert bytes to a hex encoded string
  - * @param {Buffer|Uint8Array} buf The input as bytes or base64 string
  - * @return {string} The output as hex
  - */
  -export const toHex = (buf) => {
  - if (!Buffer.isBuffer(buf) && !(buf instanceof Uint8Array)) {
  - throw new Error("Invalid input!")
  - }
  - return Buffer.from(buf).toString("hex")
  -}
  -
  export const emailIsValid = (email) => {
  return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)
  }
  