From 2ca2c1d4b3388a89778a4eb9f109ffe5079e199f Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Tue, 11 Nov 2025 18:58:54 -0700 Subject: [PATCH] docs: add notes on iOS installs & use of window.location.href --- BUILDING.md | 3 +++ src/views/DeepLinkRedirectView.vue | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/BUILDING.md b/BUILDING.md index 0928cf66da..5d2cea77fa 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -1156,6 +1156,9 @@ gem_path=$(which gem) shortened_path="${gem_path:h:h}" export GEM_HOME=$shortened_path export GEM_PATH=$shortened_path + +cd ios/App +pod install ``` ##### 1. Bump the version in package.json for `MARKETING_VERSION`, then `grep CURRENT_PROJECT_VERSION ios/App/App.xcodeproj/project.pbxproj` and add 1 for the numbered version; diff --git a/src/views/DeepLinkRedirectView.vue b/src/views/DeepLinkRedirectView.vue index bb72e223d3..d8201c18ae 100644 --- a/src/views/DeepLinkRedirectView.vue +++ b/src/views/DeepLinkRedirectView.vue @@ -177,7 +177,7 @@ export default class DeepLinkRedirectView extends Vue { const redirectUrl = this.isMobile ? this.deepLinkUrl : this.webUrl; // Method 1: Try window.location.href (works on most browsers) - window.location.href = redirectUrl; + window.location.href = redirectUrl; // Do not use this on native apps! The channel to Capacitor gets messed up. // Method 2: Fallback - create and click a link element setTimeout(() => {