Skip to content

Commit 4767eaa

Browse files
committed
fix: Wrong Android userAgent
1 parent 74880eb commit 4767eaa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/Authentication/LoginForm.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,9 @@ export default function LoginForm() {
394394
key={webViewKey}
395395
ref={webViewRef}
396396
source={source}
397+
userAgent={Platform.OS === "android"
398+
? "Termix-Mobile/Android"
399+
: "Termix-Mobile/iOS"}
397400
style={{ flex: 1, backgroundColor: "#18181b" }}
398401
containerStyle={{ backgroundColor: "#18181b" }}
399402
onNavigationStateChange={handleNavigationStateChange}

0 commit comments

Comments
 (0)