ssap_app/node_modules/expo-dev-launcher/ios/SwiftUI/UpdatesTab/UpdateUtils.swift

6 lines
394 B
Swift

func formatUpdateUrl(_ permalink: String, _ message: String) -> String {
let updatePermalink = "url=\(permalink.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? "")"
let updateMessage = "updateMessage=\(message.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? "")"
return "expo-dev-client://expo-development-client?\(updatePermalink)&\(updateMessage)"
}