No Duplicates Issue
Expected Behavior?
Widget can get it own sandbox
Current Behavior?
Widget get and return 'com.icraze.gtatracker' sandbox path.
In iOS 14 and iOS 17.0 it show: /var/mobile/Containers/Data/Application/{com.icraze.gtatracker}
In iOS 15 and iOS 16 it show: /var/mobile/Containers/Data/PluginKitPlugin/{com.icraze.gtatracker}
Possible Solution?
I didn't come up with a solution, I can only try to get the Widget and the incorrect Sandbox directory in my application.
And I reviewed the source code of TrollStore, and I did not find any information about com.icraze.gtatracker, but I remember that gtatracker is the installer for devices with A12 and above on TrollStore 1.
Steps to Reproduce
- I try to develop a battery info TrollStore application, and this is my code: WidgetController (Sorry more Chinese comment) currently an unreleased version, still under test.
getWidgetBatteryData()this function. Widget will use NSLog output there sandbox path.
- When I finished building this Widget, it couldn't access the data, so I tried using NSLog to make the Widget output its own sandbox directory.
- In iOS 14 and iOS 17.0 it show:
/var/mobile/Containers/Data/Application/{com.icraze.gtatracker}In iOS 15 and iOS 16 it show: /var/mobile/Containers/Data/PluginKitPlugin/{com.icraze.gtatracker}
I expect it to access its own sandbox, I did not use AppGroup to share data; I let the main program search for PluginKitPlugin to get its directory. You can check getWidgetSandboxDirectory() -> [String]
I don't know why it's like this, I think maybe it's a problem with my list of rights? I still let iOS allocate a sandbox for me.
This bug is very strange, because I remember that TrollStore 2 no longer uses gtatracker to install TrollStore on iOS 16 and iOS 17.0, yet gtatracker still appears.
TrollStore Version
TrollStroe 2.1
iOS/iPadOS version
iOS 14.3 iOS 15.3.1 iOS 15.4.1 iOS 15.5 iOS 16.5 iOS 16.6 iOS 17.0
iDevice Model
iPhone 12 mini iPhone 13 mini iPhone 13 Pro iPhone 13 Pro Max iPhone 11 iPhone SE 3
Other info of your environment
macOS 15.2 Xcode 16.2 Theos 2.5
No Duplicates Issue
Expected Behavior?
Widget can get it own sandbox
Current Behavior?
Widget get and return
'com.icraze.gtatracker'sandbox path.In iOS 14 and iOS 17.0 it show:
/var/mobile/Containers/Data/Application/{com.icraze.gtatracker}In iOS 15 and iOS 16 it show:
/var/mobile/Containers/Data/PluginKitPlugin/{com.icraze.gtatracker}Possible Solution?
I didn't come up with a solution, I can only try to get the Widget and the incorrect Sandbox directory in my application.
And I reviewed the source code of TrollStore, and I did not find any information about com.icraze.gtatracker, but I remember that gtatracker is the installer for devices with A12 and above on TrollStore 1.
Steps to Reproduce
getWidgetBatteryData()this function. Widget will use NSLog output there sandbox path./var/mobile/Containers/Data/Application/{com.icraze.gtatracker}In iOS 15 and iOS 16 it show:/var/mobile/Containers/Data/PluginKitPlugin/{com.icraze.gtatracker}I expect it to access its own sandbox, I did not use AppGroup to share data; I let the main program search for PluginKitPlugin to get its directory. You can check
getWidgetSandboxDirectory() -> [String]I don't know why it's like this, I think maybe it's a problem with my list of rights? I still let iOS allocate a sandbox for me.
This bug is very strange, because I remember that
TrollStore 2no longer usesgtatrackerto install TrollStore on iOS 16 and iOS 17.0, yetgtatrackerstill appears.TrollStore Version
TrollStroe 2.1
iOS/iPadOS version
iOS 14.3 iOS 15.3.1 iOS 15.4.1 iOS 15.5 iOS 16.5 iOS 16.6 iOS 17.0
iDevice Model
iPhone 12 mini iPhone 13 mini iPhone 13 Pro iPhone 13 Pro Max iPhone 11 iPhone SE 3
Other info of your environment
macOS 15.2 Xcode 16.2 Theos 2.5