This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { browser } from '$app/environment'; | |
import { isProd } from '$lib/stores/globals'; | |
let isInstalled = false; | |
let triedToInstall = false; | |
const params_of_interest = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'ref', 'z']; | |
const umami_website_id = 'YOUR_WEBSITE_ID'; | |
const umami_url = `https://YOUR_DOMAIN/script.js`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Set path to your XCODE Workspace | |
IOS_WORKSPACE="ios/App/App.xcworkspace" | |
# Set your device UDID | |
DEVICE_UDID="XXXXXXXX-YYYYYYYYYYYYYYYY" | |
# Build the Svelte app and copy assets to the iOS platform | |
npm run build && npx cap copy ios |