Bootstrap
Bootstrap copied to clipboard
Enabling tweak injection breaks application permissions
After respring, the mobile app cannot receive push notifications, and the app cannot be found in the settings
disable tweak and re-able tweek enabler , app can receive push notifications
i add _TrollStore
file under app's directories, so it can be found by strollstore, then i user trollstore switch user , app can receive push notifications and same for switch back , but if now i kill app ,open failed and crashed foreever 😂
I believe it's how the bootstrap functions. This is a legitimate issue. Reproduce with Discord by enabling Discord in the bootstrap, downloading the Enmity tweak from https://enmity.app, respring and whatnot, and you won't receive notifications.
I believe it doesn't show in settings because it isn't actually the 100% original app anymore, you can see this in 'Show Details' when installing a tweak that modifies applications in Sileo, the TeamID code signature stuff.
Currently,
- No known PERMANENT fix for notifications.
- Disable tweak injection in Bootstrap's AppEnabler to show app in settings (think of switching an app from System to User in TrollStore)
Application permissions (notifications, camera, microphone) are reset when messing with apps in the bootstrap. To reproduce application permission reset, open AppEnabler, disable and enable an app. This will ASK PERMISSIONS AGAIN on app open or when the specific permission is needed. Custom app icons (think of the custom app icons you can set in Sileo > Profile Picture > Alternate Icons) are RESET when an application is disabled/enabled through AppEnabler.
Enabling tweak injection into apps CHANGES THE APP. It isn't the same anymore. It will act like a completely different app. Permissions will reset, icons will reset, some permissions don't even work, you won't get notifications, URL schemes are lost (where's Sileos URL scheme?), App Store doesn't recognize the applications (can we use shims or whatever, dummy apps?), this breaks widgets (you can test this by enabling tweak injection into the App Store), and Settings can't view battery usage data. THIS IS KNOWN. This can't be fixed as this isn't a full-fledged jailbreak, it's doing what it can!
Until we get a full jailbreak, I believe this issue will continue to exist. It's unfortunate, but it's how this works.
I believe it's how the bootstrap functions. This is a legitimate issue. Reproduce with Discord by enabling Discord in the bootstrap, downloading the Enmity tweak from https://enmity.app, respring and whatnot, and you won't receive notifications.
I believe it doesn't show in settings because it isn't actually the 100% original app anymore, you can see this in 'Show Details' when installing a tweak that modifies applications in Sileo, the TeamID code signature stuff.
Currently,
- No known fix for notifications.
- Disable tweak injection in Bootstrap's AppEnabler to show app in settings (think of switching an app from System to User in TrollStore)
Application permissions (notifications, camera, microphone) are reset when messing with apps in the bootstrap. To reproduce application permission reset, open AppEnabler, disable and enable an app. This will ASK PERMISSIONS AGAIN on app open or when the specific permission is needed. Custom app icons (think of the custom app icons you can set in Sileo > Profile Picture > Alternate Icons) are RESET when an application is disabled/enabled through AppEnabler.
Enabling tweak injection into apps CHANGES THE APP. It isn't the same anymore. It will act like a completely different app. Permissions will reset, icons will reset, some permissions don't even work, you won't get notifications, URL schemes are lost (where's Sileos URL scheme?), App Store doesn't recognize the applications (can we use shims or whatever, dummy apps?), and this breaks widgets (you can test this by enabling tweak injection into the App Store). THIS IS KNOWN. This can't be fixed as this isn't a full-fledged jailbreak, it's doing what it can!
Until we get a full jailbreak, I believe this issue will continue to exist. It's unfortunate, but it's how this works.
@"filza",
@"db-lmvo0l08204d0a0",
@"boxsdk-810yk37nbrpwaee5907xc4iz8c1ay3my",
@"com.googleusercontent.apps.802910049260-0hf6uv6nsj21itl94v66tphcqnfl172r",
@"sileo",
@"zbra",
@"santander",
@"icleaner",
@"xina",
@"ssh",
@"apt-repo",
@"cydia",
@"activator",
@"postbox",
we blocked these urlschemes to avoid jailbreak detection, we will restore them once we can inject into system processes.
When you enable tweaks for an app in the appstore, it will be registered as a removable system app just like it is in the trollstore, so you may not see them in preferences. You can disable tweaks for it at any time to restore it.
We tested the notifications of the app store app on iOS15/16. As long as the app has registered the notification service and can receive message notifications normally before enabling tweak for it, it should also be able to receive message notifications normally after enabling tweak. .
well, it does not get notifications after rebooting the device or rebuilding the apps, and we'll try to fix that.
the current workaround is to disable tweaks for the app, launch the app once, and then enable tweaks for the app. iOS will still retain the notification for it until you reboot/respring the device.
Bit of a side effect, but tweaks that list user applications (namely for enabling tweak functionality) will cease to function unless given a 'global injection' (inject into all apps) feature. You can't enable tweak injection into an app (that is now system) and use a tweak that specifically targets a user application. There is no point in time where both can occur, being tweak injection, and the tweak recognizing the user app and enabling its functionality. Most tweaks are globally injected, not requiring you to choose specific applications in its preferences.
com.apple.Preferences cannot be launched through a lot of ways (other than homescreen and Siri to name a few) with tweak injection enabled (tested on A13 17.0 with PreferenceLoader and known working tweaks that contain preference bundles).
well, it does not get notifications after rebooting the device or rebuilding the apps, and we'll try to fix that.
So have you found out the solution to that issue yet? The push notifications of App Store apps after enabling the tweak.
well, it does not get notifications after rebooting the device or rebuilding the apps, and we'll try to fix that.
So have you found out the solution to that issue yet? The push notifications of App Store apps after enabling the tweak.
There is currently no permanent fix.
well, it does not get notifications after rebooting the device or rebuilding the apps, and we'll try to fix that.
So have you found out the solution to that issue yet? The push notifications of App Store apps after enabling the tweak.
There is currently no permanent fix.
Understood!
This issue is kind of tricky. For one, the issue with notifications has been fixed. On the other hand, rebuilding applications in the Bootstrap application will essentially reset permissions for applications, prompting you to allow them when next requested by the application, though it seems to be only all TrollStore apps.
Will close. Mitigation to this issue is as simple as setting up the applications again, or simply not rebuilding the applications, as issues that would be fixed by this button are usually fixable by other means.