Commit b8416d10 authored by Thomas Markiewicz's avatar Thomas Markiewicz

Updated plists, entitlements, and project file for librem one app identifiers

parent 6a935d59
......@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>PIA VPN AdBlocker</string>
<string>Librem Tunnel AdBlocker</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
......@@ -28,6 +28,6 @@
<string>$(PRODUCT_MODULE_NAME).ContentBlockerRequestHandler</string>
</dict>
<key>NSHumanReadableDescription</key>
<string>PIA VPN AdBlocker</string>
<string>Librem Tunnel AdBlocker</string>
</dict>
</plist>
......@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>PIA VPN Tunnel</string>
<string>Librem Tunnel</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
......
......@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>PIA VPN WG Tunnel</string>
<string>Librem Tunnel WG</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
......
......@@ -8,11 +8,11 @@
</array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.privateinternetaccess</string>
<string>group.one.librem</string>
</array>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)group.com.privateinternetaccess</string>
<string>$(AppIdentifierPrefix)group.one.librem</string>
</array>
</dict>
</plist>
This diff is collapsed.
......@@ -25,16 +25,16 @@ import PIALibrary
struct AppConstants {
static let appId = "955626407"
static let teamId = "5357M5NW9W"
static let appId = "" /// TODO: update for Librem One
static let teamId = "CNQ74B27V5"
static let appGroup = "group.com.privateinternetaccess"
static let appGroup = "group.one.librem"
static let appCenterAppId = "a2397c42-40ac-48e8-97e6-7498f0df0e1a"
static let appCenterAppId = ""
struct Reviews {
static var appReviewUrl = "https://itunes.apple.com/app/id\(appId)?action=write-review"
static var feedbackUrl = "https://www.privateinternetaccess.com/helpdesk/new-ticket"
static var feedbackUrl = "https://librem.one/support/"
}
struct Flags {
......@@ -70,10 +70,10 @@ struct AppConstants {
}
struct Extensions {
static let tunnelBundleIdentifier = "com.privateinternetaccess.ios.PIA-VPN.Tunnel"
static let tunnelWireguardBundleIdentifier = "com.privateinternetaccess.ios.PIA-VPN.WG-Tunnel"
static let tunnelBundleIdentifier = "one.librem.tunnel.Tunnel"
static let tunnelWireguardBundleIdentifier = "one.librem.tunnel.WG-Tunnel"
static let adBlockerBundleIdentifier = "com.privateinternetaccess.ios.PIA-VPN.AdBlocker"
static let adBlockerBundleIdentifier = "one.librem.tunnel.AdBlocker"
}
struct SiriShortcuts {
......@@ -82,13 +82,13 @@ struct AppConstants {
}
struct Web {
static let homeURL = URL(string: "https://www.privateinternetaccess.com/")!
static let homeURL = URL(string: "https://librem.one/")!
static let supportURL = URL(string: "https://www.privateinternetaccess.com/helpdesk")!
static let supportURL = URL(string: "https://librem.one/support/")!
static let privacyURL = URL(string: "https://www.privateinternetaccess.com/pages/privacy-policy/")!
static let privacyURL = URL(string: "https://librem.one/policy/")!
static let csEmail = "helpdesk+vpnpermissions.ios@privateinternetaccess.com"
static let csEmail = "support@librem.one"
static var stagingEndpointURL: URL? = {
guard let path = Bundle.main.path(forResource: "staging", ofType: "endpoint") else {
......@@ -163,6 +163,7 @@ struct AppConstants {
static let subscriptions = "itms-apps://apps.apple.com/account/subscriptions"
}
/// TODO: update for Librem One
struct Browser {
static let browserAppId = "598907571"
static let scheme = "inbrowser://?www.privateinternetaccess.com"
......@@ -176,12 +177,12 @@ struct AppConstants {
}
struct MagicLink {
static let url = "piavpn:login?token="
static let url = "libremtunnel:login?token="
}
struct Widget {
static let connect = "piavpn:connect"
static let view = "piavpn:view"
static let connect = "libremtunnel:connect"
static let view = "libremtunnel:view"
}
struct FeatureFlags {
......
......@@ -26,11 +26,10 @@
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleURLName</key>
<string>com.privateinternetaccess</string>
<string>one.librem.tunnel</string>
<key>CFBundleURLSchemes</key>
<array>
<string>privateinternetaccess</string>
<string>piavpn</string>
<string>libremtunnel</string>
</array>
</dict>
</array>
......
......@@ -22,11 +22,11 @@
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.privateinternetaccess</string>
<string>group.one.librem</string>
</array>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)group.com.privateinternetaccess</string>
<string>$(AppIdentifierPrefix)group.one.librem</string>
</array>
</dict>
</plist>
......@@ -23,7 +23,7 @@ import Foundation
public class WidgetUtils {
private static let appGroup = "group.com.privateinternetaccess"
private static let appGroup = "group.one.librem"
static var isVPNConnected: Bool {
var connected = false
......
......@@ -4,7 +4,7 @@
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.privateinternetaccess</string>
<string>group.one.librem</string>
</array>
</dict>
</plist>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment