diff --git a/native/utils/neynar-utils.js b/native/utils/neynar-utils.js new file mode 100644 index 000000000..f75b0712e --- /dev/null +++ b/native/utils/neynar-utils.js @@ -0,0 +1,12 @@ +// @flow + +let neynarKey: ?string = null; +try { + // $FlowExpectedError: file might not exist + const { key } = require('../facts/neynar.json'); + neynarKey = key; +} catch { + console.log('native/facts/neynar.json does not exist.'); +} + +export { neynarKey };