Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
marine_94's avatar
marine_94
Honored Guest
9 months ago

Is There an Official Way to Trigger a Refresh of the Universal Menu App List After Uninstall?

Hi,
 
I'm developing a Unity-based app for Meta Quest 3, and I've encountered an issue with the Universal Menu (App Library) not refreshing immediately after an app is uninstalled programmatically.
 
Here's the situation:
 
I uninstall a secondary app via PackageManager from within my main Unity app (using shell commands or pm uninstall).
 
The app is successfully removed from the system (confirmed via adb shell pm list packages).
 
However, the Universal Menu still shows the app icon.
 
When I try to launch it from the Universal Menu, it says "app not found" or simply fails to open.
 
This suggests that the Universal Menu caches the app list and does not automatically refresh it upon receiving PACKAGE_REMOVED.
 
My Question:
Is there any official and supported way for developers to manually or programmatically trigger a refresh of the Universal Menu's app list without requiring the user to:
 
Reboot the device
 
Wait for several minutes
 
Put the device to sleep and wake it up
 
I’ve searched through the Meta documentation and developer forums but haven’t found any API or intent that forces the Universal Menu (Oculus Shell or Home) to refresh its app list on demand.
 
If there is no official method, I would appreciate it if Meta could confirm this explicitly or provide guidance on any best practices.
 
Thanks in advance.