Skip to content

After uicache the application will re-request notification permissions #372

@invalidunit

Description

@invalidunit

No Duplicates Issue

  • I'm sure I've searched on the issue tracker before creating one.

Expected Behavior?

Under normal circumstances the app should still have the appropriate notification permissions after the icon cache has been rebuilt

Current Behavior?

Every time the desktop icon cache is rebuilt, the app will ask for notification permissions again

Possible Solution?

I found that I only need to set the app type to user before rebuilding the desktop icon cache (uicache). trollstore will set the type back to system when rebuilding the icon cache, and the app will open normally after logging out, and will not ask for notification permission again.
All it takes is to slightly improve the trollstore's steps to rebuild the icon cache by setting all app types to user before rebuilding the desktop icon cache

Steps to Reproduce

TrollStore Version

TrollStore 1.4.4

iOS/iPadOS version

iOS 15.4.1 & iPadOS 15.4.1

iDevice Model

iPhone14.5 & iPad13.1

Other info of your environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions