mirror of
https://github.com/tooot-app/app
synced 2025-01-05 05:59:15 +01:00
Seems like it is still not using EAS updates?!
This commit is contained in:
parent
3e9585fcb7
commit
1620963863
@ -36,14 +36,14 @@ const mapEnvironment = <T = unknown>({
|
||||
|
||||
const isDevelopment =
|
||||
__DEV__ ||
|
||||
['development'].some(channel => Updates.channel === channel)
|
||||
['development'].some(channel => (Updates.channel || Updates.releaseChannel) === channel)
|
||||
|
||||
const isCandidate = ['candidate'].some(channel =>
|
||||
Updates.channel === channel
|
||||
(Updates.channel || Updates.releaseChannel) === channel
|
||||
)
|
||||
|
||||
const isRelease = ['release'].some(channel =>
|
||||
Updates.channel === channel
|
||||
(Updates.channel || Updates.releaseChannel) === channel
|
||||
)
|
||||
|
||||
export { mapEnvironment, isDevelopment, isCandidate, isRelease }
|
||||
|
Loading…
Reference in New Issue
Block a user