Closed Shugabuga closed 7 years ago
I will take a look at this. The other method I had thought of would slow down the installation process so much that it wasn't worth it (downloading the IPA to the device, unpacking it, looking into the info.plist file and getting the bundle ID in order to install the app with the correct bundle ID).
It worked. Now, if only there was a way to access that function from within App Installer.
Pretty sure you can with URI schemes. Might try to make a button that opens that part of settings (forewarning: the code will be bad, as I suck with obj-c).
Sounds good to me! The bundle ID of the scar app is com.appinstaller.app if you need it
Okay. My plan is to have button to launch to relevant page in Settings under Install button
As long as it works, don't worry about design, as we can fix that later. All we need is for the button to go straight to the scar app's page, making deletion much easier.
Okay, so been working on it and it sorta works.
1) the URL scheme for storage on iOS 11 is unknown or nonexistent. I can't test on iOS 10 (only have a daily driver on iOS 11), but I think I got it right. You might want to double-check though. 2) I don't think you can go to a specific app's "storage page" so you can easily delete it (it might be possible, just not discovered yet though).
I think I am going to submit the pull request anyways, as it only helps (plus it's meant to go with AppSync, which is is on jailbroken [non-iOS 11] devices). The line dealing with the URL scheme is just one line, and can be easily updated in the future (by me or someone else).
Screenshot:
This user from /r/sideloaded was able to remove the scar apps created by a non-jailbroken store, which might be useful for this project.
Comment in Question
Maybe the same method would work for scar apps created with App-Installer? I can't test as I don't have a paid developer account to use, nor have AppSync.