Code Monkey home page Code Monkey logo

focusplsnobadges's People

Contributors

aydenp avatar dvagala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

focusplsnobadges's Issues

Reading incorrect value of the ‘Hide Notification Badges’ toggle

Steps to reproduce:

  1. Create a new focus mode on iOS with ‘Hide Notification Badges’ option disabled. The app is behaving correctly.
  2. Enable the ‘Hide Notification Badges’ option on iOS on that focus mode. The app noticed this and correctly turn off badges on mac os.
  3. Disable the ‘Hide Notification Badges’ option on iOS on that focus mode. The app is reading incorrect value, it is not able to turn on the notification badges. Trying to switching between the other focus modes and still not reading the correct value.

iOS 15.6.1
Mac Os 12.4

Observe Focus mode changes

I don't like that we have a timer running every second. Is there a way to observe these changes, such as NSDistributedNotificationCenter?

Performance Degredation with Reminders App

I've noticed that the Apple Reminders app is unusually slow when FocusPlsNoBadges is active and when there's a suppressed badge notification.

Steps to Reproduce:

  1. Open Apple Reminders
  2. Ensure a notification badge is displayed, by having an item "Overdue" or "Due Today"
  3. Begin a FocusPlsNoBadges session
  4. Reminders takes several seconds to respond per action
  5. Complete the overdue item, so that no badge would normally be displayed
  6. After a few seconds, Reminders begins to operate normally, with low latency between each action

It seems the suppression of the badges affects the performance of this application. Please let me know how I can provide logs to better diagnose the issue, thanks!

MacOS Sonoma Support

Building the project on Sonoma 14.0, I get the following error:

FocusPlsNoBadges/ModelFiles+Current.swift:15: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=257 "The file “Assertions.json” couldn’t be opened because you don’t have permission to view it." UserInfo={NSFilePath=/Users/benwalker/Library/DoNotDisturb/DB/Assertions.json, NSUnderlyingError=0x600003f2c000 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}

I'm not sure if this is a global problem or just one on my local machine. I've tried changing the file's permissions but nothing's been working. Feel free to close this immediately if it's not reproducible.

Thanks!

Add a request to have full disk access

Currently the App crashes when trying to access "Assertions.json".

This is fixed though by providing the App Full Disk Access.

Generally I think the app would benefit from a minimal User Interface (like a menu bar service)

Update readme to clarify build & archive

Thanks for the work on this cool workaround!

Just a suggestion - maybe update the readme to clarify a couple of things:

  1. Full disk access must be granted in order to successfully build.

  2. If user is unable to export a .app of the archive from Xcode; the .app file can also be found within the .xcarchive file itself (right click>Show Package Contents>Products)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.