handle incoming url for appclip

This commit is contained in:
Hailey
2024-06-16 19:09:26 -07:00
parent 10d4d10714
commit 07696d8eb7
3 changed files with 33 additions and 7 deletions
+7 -2
View File
@@ -22,8 +22,6 @@ const DARK_SPLASH_CONFIG_ANDROID = {
resizeMode: 'cover',
}
const ASSOCIATED_DOMAINS = ['applinks:bsky.app', 'applinks:staging.bsky.app']
module.exports = function (config) {
/**
* App version number. Should be incremented as part of a release cycle.
@@ -41,6 +39,13 @@ module.exports = function (config) {
const IS_TESTFLIGHT = process.env.EXPO_PUBLIC_ENV === 'testflight'
const IS_PRODUCTION = process.env.EXPO_PUBLIC_ENV === 'production'
const ASSOCIATED_DOMAINS = [
'applinks:bsky.app',
'applinks:staging.bsky.app',
// When testing local services, enter an ngrok (et al) domain here. It must use a standard HTTP/HTTPS port.
...(IS_DEV ? ['applinks:dc19-24-237-65-73.ngrok-free.app'] : []),
]
const UPDATES_CHANNEL = IS_TESTFLIGHT
? 'testflight'
: IS_PRODUCTION