We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 693ed5c commit 2e8b62dCopy full SHA for 2e8b62d
src/hooks/useCheckForAppUpdate.ts
@@ -5,7 +5,10 @@ import * as Application from 'expo-application'
5
import { useEffect, useState } from 'react'
6
import { Platform, Alert, Linking } from 'react-native'
7
8
-const currentVersion = Application.nativeApplicationVersion || 'unknown'
+// 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'
12
const { OS } = Platform
13
14
export const useCheckForAppUpdate = () => {
0 commit comments