Skip to content

Commit bb1199e

Browse files
committed
fix: text fixes for device check
1 parent 4cdc2ac commit bb1199e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rapidaai/react",
3-
"version": "1.1.61",
3+
"version": "1.1.62",
44
"description": "An easy to use react client for building generative ai application using Rapida platform.",
55
"repository": {
66
"type": "git",

src/audio/compatibility.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export function isIosDevice(): boolean {
2626
if (typeof navigator === "undefined") return false;
2727
return (
2828
/iPad|iPhone|iPod/.test(navigator.userAgent) ||
29+
/iPad|iPhone|iPod/.test(navigator.platform) ||
2930
// iPad on iOS 13+ reports as "MacIntel" with touch support
3031
(navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1) ||
3132
(navigator.userAgent.includes("Mac") && "ontouchend" in document)

0 commit comments

Comments
 (0)