Documentation
¶
Overview ¶
Package iosapp is the link to Rivolt's iPhone app: one setting, RIVOLT_IOS_APP_URL, that every surface (the Settings row, the share card, the store banner, /app, the welcome and statement emails) reads. Empty, or anything but a plain App Store or TestFlight link, means the app is not promoted anywhere.
Index ¶
Constants ¶
const EnvURL = "RIVOLT_IOS_APP_URL"
EnvURL is the setting.
const Line = "Rivolt is also an iPhone app: "
Line is the one plain sentence the emails carry; the link follows it.
Variables ¶
This section is empty.
Functions ¶
func AppStoreID ¶
AppStoreID is the numeric app id of an apps.apple.com link ("" for TestFlight or anything else), for the Smart App Banner.
func URL ¶
func URL() string
URL is the configured link, or "" when unset or not acceptable. Acceptable: https, host apps.apple.com or testflight.apple.com, no query, fragment or credentials (a link with tracking parameters or Apple tokens in the query is refused, and so is any other host, which also keeps /app from being an open redirect).
Types ¶
This section is empty.