diff options
author | Snow Pettersen <aickck@gmail.com> | 2024-12-11 20:28:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-12 04:28:15 +0000 |
commit | 20ac42a5a324ad553324d15ad868a1fea1868641 (patch) | |
tree | 04edf4888d2f32d3b1da073b1aa1845292dc3990 /src/lib/bitdrift.ts | |
parent | c8745a9ab0a99ac3cf484e00760e72d1e9f28dfc (diff) | |
download | voidsky-20ac42a5a324ad553324d15ad868a1fea1868641.tar.zst |
configure the bitdrift Capture SDK (#6979)
* configure bitdrift Capture SDK * remove console log * use the new url * add patch to fix devtool interaction * update patches * fix patch * add BITDRIFT_API_KEY to .env.example
Diffstat (limited to 'src/lib/bitdrift.ts')
-rw-r--r-- | src/lib/bitdrift.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/bitdrift.ts b/src/lib/bitdrift.ts new file mode 100644 index 000000000..2b22155e7 --- /dev/null +++ b/src/lib/bitdrift.ts @@ -0,0 +1,7 @@ +import {init} from '@bitdrift/react-native' + +const BITDRIFT_API_KEY = process.env.BITDRIFT_API_KEY + +if (BITDRIFT_API_KEY) { + init(BITDRIFT_API_KEY, {url: 'https://api-bsky.bitdrift.io'}) +} |