alienator88 / Pearcleaner

A free, source-available and fair-code licensed mac app cleaner
https://itsalin.com/appInfo/?id=pearcleaner
Other
745 stars 18 forks source link

[BUG] App requesting reminders access #42

Closed MED1975 closed 2 months ago

MED1975 commented 2 months ago

When launching the app for the first time you are prompted to grant access to Reminders

The app should not need this access or prompt for it.

Version 3.4.1 macOS 14.4.1 M1 iMac

I am able to reset this request using

tccutil reset Reminders com.alienator88.Pearcleaner

And on subsequent launches the permission is requested again.

alienator88 commented 2 months ago

I honestly have no idea why that would be coming up, as the entitlements and the code only requests access to Full Disk permissions and Accessibility/System Events permissions. In order to request access to Reminders, I'd need to be using this function here and there's no trace of that in my app: https://developer.apple.com/documentation/eventkit/ekeventstore/4162273-requestfullaccesstoreminders


Pearcleaner Entitlements:

<key>com.apple.security.automation.apple-events</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>


Full Disk permission request code: https://github.com/alienator88/Pearcleaner/blob/71a3b030d92d54e7fea3a7cad8a63c671e409033/Pearcleaner/Logic/Utilities.swift#L88

Accessibility permission request code: https://github.com/alienator88/Pearcleaner/blob/71a3b030d92d54e7fea3a7cad8a63c671e409033/Pearcleaner/Logic/Utilities.swift#L121


Has this always been an issue for you? I've had no other reports of this since the app was released in November '23.

MED1975 commented 2 months ago

Hi

Thanks for your reply. This is the first time I have installed your app, and is on a brand new Sonoma install so it’s very odd indeed.

As an aside, I am also prompted on every start of your app to grant other permissions. See the 2nd screenshots that shows what is going on.

[Screenshot 2024-04-10 at 17.10.04.png]

[Screenshot 2024-04-10 at 17.10.32.png]

Sent from my iPhone

On 10 Apr 2024, at 16:39, Alin Lupascu @.***> wrote:

 You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

I honestly have no idea why that would be coming up, as the entitlements and the code only requests access to Full Disk permissions and Accessibility/System Events permissions. In order to request access to Reminders, I'd need to be using this function here and there's no trace of that in my app: https://developer.apple.com/documentation/eventkit/ekeventstore/4162273-requestfullaccesstoreminders

Pearcleaner Entitlements:

com.apple.security.automation.apple-events com.apple.security.files.user-selected.read-only

Full Disk permission request code: https://github.com/alienator88/Pearcleaner/blob/71a3b030d92d54e7fea3a7cad8a63c671e409033/Pearcleaner/Logic/Utilities.swift#L88

Accessibility permission request code: https://github.com/alienator88/Pearcleaner/blob/71a3b030d92d54e7fea3a7cad8a63c671e409033/Pearcleaner/Logic/Utilities.swift#L121

Has this always been an issue for you? I've had no other reports of this since the app was released in November '23.

— Reply to this email directly, view it on GitHubhttps://github.com/alienator88/Pearcleaner/issues/42#issuecomment-2047884480, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANVXPHRIE3LHD2PDKJZQTJDY4VMK7AVCNFSM6AAAAABGAVFQB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXHA4DINBYGA. You are receiving this because you authored the thread.Message ID: @.***>

alienator88 commented 2 months ago

I'm not seeing any attached screenshots btw, just the screenshot text.

If you go to your macos Settings > Privacy & Security, do you see Pearcleaner in the list for Full Disk Access and Accessibility? If no, try to drag the app in there and enable the toggle.

Side note, is your profile on your mac a standard user or admin user?

alienator88 commented 2 months ago

Is this still an issue?

MED1975 commented 2 months ago

It was but I have removed it from my Mac now. Sent from my iPhone

On 18 Apr 2024, at 18:27, Alin Lupascu @.***> wrote:

 You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

Is this still an issue?

— Reply to this email directly, view it on GitHubhttps://github.com/alienator88/Pearcleaner/issues/42#issuecomment-2064657560, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANVXPHUDHT4XLPAKGLMGVU3Y5766VAVCNFSM6AAAAABGAVFQB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRUGY2TONJWGA. You are receiving this because you authored the thread.Message ID: @.***>