-
-
Notifications
You must be signed in to change notification settings - Fork 709
Open
Labels
appstoreRelated to Apple App Store buildsRelated to Apple App Store buildsbugsomething broken that needs fixing, confirmed and reproduceablesomething broken that needs fixing, confirmed and reproduceable
Description
When sideloading via the AltStore the Bundle identifier isn't changed, causing the isAppStore check to incorrectly set to true.
Provenance/PVUI/Sources/PVSwiftUI/App Delegate/PVAppDelegate.swift
Lines 75 to 91 in 521c3ee
| 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
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
Metadata
Metadata
Assignees
Labels
appstoreRelated to Apple App Store buildsRelated to Apple App Store buildsbugsomething broken that needs fixing, confirmed and reproduceablesomething broken that needs fixing, confirmed and reproduceable