docs: add notes on iOS installs & use of window.location.href

This commit is contained in:
2025-11-11 18:58:54 -07:00
parent cb8d8bed4c
commit 2ca2c1d4b3
2 changed files with 4 additions and 1 deletions

View File

@@ -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;

View File

@@ -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(() => {