Skip to content

Commit 2e8b62d

Browse files
chore: Update useCheckForAppUpdate to NOT use real app version
1 parent 693ed5c commit 2e8b62d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/hooks/useCheckForAppUpdate.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ import * as Application from 'expo-application'
55
import { useEffect, useState } from 'react'
66
import { Platform, Alert, Linking } from 'react-native'
77

8-
const currentVersion = Application.nativeApplicationVersion || 'unknown'
8+
// FIXME: Remove '100.100.100' when you'll build real app
9+
// For now backend is using youtube app to check for updates
10+
// In real app this should be replaced with real version
11+
const currentVersion = '100.100.100' || Application.nativeApplicationVersion || 'unknown'
912
const { OS } = Platform
1013

1114
export const useCheckForAppUpdate = () => {

0 commit comments

Comments
 (0)