When sideloading via the AltStore the Bundle identifier isn't changed, causing the isAppStore check to incorrectly set to true.
|
public var isAppStore: Bool { |
|
guard Bundle.main.bundleIdentifier!.hasPrefix("org.provenance-emu.provenance") else { |
|
ILOG("Bundle id \(Bundle.main.bundleIdentifier ?? "null") is NOT official. Disabling Provenance Plus checks.") |
|
return false |
|
} |
|
guard let appType = Bundle.main.infoDictionary?["PVAppType"] as? String else { |
|
ILOG("appType \( Bundle.main.infoDictionary?["PVAppType"] ?? "null") is NOT official. Disabling Provenance Plus checks.") |
|
return false |
|
} |
|
let isAppStore = appType.lowercased().contains("appstore") |
|
if isAppStore { |
|
ILOG("isAppStore true.") |
|
} else { |
|
ILOG("isAppStore false.") |
|
} |
|
return isAppStore |
|
} |
Expected:
isAppStore should be false
Actual:
isAppStore is true
Reproduce:
- Download IPA from github
- Sideload with AltStore
- Launch Provenance
APP VERSION
3.1.0
APP SOURCE
- Provenance-Emu GitHub (Official)
INSTALLED BY
Side-Loading
PLATFORM
iOS
iOS/tvOS VERSION
18.6
🚫 We DO NOT support unofficial builds installed from 3rd-party sites. (Official Install)
❓ Need help or have a suggestion? Join our Official Discord
When sideloading via the AltStore the Bundle identifier isn't changed, causing the
isAppStorecheck to incorrectly set to true.Provenance/PVUI/Sources/PVSwiftUI/App Delegate/PVAppDelegate.swift
Lines 75 to 91 in 521c3ee
Expected:
isAppStoreshould be falseActual:
isAppStoreis trueReproduce:
APP VERSION
3.1.0
APP SOURCE
INSTALLED BY
Side-Loading
PLATFORM
iOS
iOS/tvOS VERSION
18.6
🚫 We DO NOT support unofficial builds installed from 3rd-party sites. (Official Install)
❓ Need help or have a suggestion? Join our Official Discord