Port navigate and weather

This commit is contained in:
James Babcock committed 2026-09-18 23:46:27 -07:00
1 parent 2b3e068a23
commit 9e18745e53
33 files changed
+630 -60

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { Utils } from '@nativescript/core'
declare const global: any
export function openUrlOnPhone(url: string): boolean {
if (!/^https?:\/\//i.test(url)) return false
if (NSThread.isMainThread) void Utils.openUrl(url)
else global.postMessage({ type: 'open-url', url })
return true
}