1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Using EAS update

This commit is contained in:
xmflsct
2022-08-16 22:39:54 +02:00
parent d0bdb08bbe
commit 70c90b6a47
15 changed files with 40 additions and 44 deletions

View File

@ -36,14 +36,14 @@ const mapEnvironment = <T = unknown>({
const isDevelopment =
__DEV__ ||
['development'].some(channel => Updates.releaseChannel.includes(channel))
['development'].some(channel => Updates.channel === channel)
const isCandidate = ['candidate'].some(channel =>
Updates.releaseChannel.includes(channel)
Updates.channel === channel
)
const isRelease = ['release'].some(channel =>
Updates.releaseChannel.includes(channel)
Updates.channel === channel
)
export { mapEnvironment, isDevelopment, isCandidate, isRelease }