GithubHelp home page GithubHelp logo

bluebubblesapp / bluebubbles-helper Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 8.0 6.29 MB

A helper for the BlueBubbles macOS Server App to hook into private APIs

License: Apache License 2.0

Objective-C 99.63% C 0.20% Ruby 0.17%

bluebubbles-helper's People

Contributors

bricktheworld avatar elliotnash avatar jjoelj avatar john-whiting avatar maxwellfortney avatar mrsylerpowers avatar tneotia avatar zlshames 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bluebubbles-helper's Issues

Huge intermittent CPU usage from helper renderer

Occasionally I get an error from the bluebubbles app on Windows 11 complaining it can't connect to the server. When I check proxmox stats it shows my MacOS VM at 100% CPU usage. Today I managed to get there in time and found the "BlueBubbles Helper (Renderer).app" executable consuming 100% of all 4 CPU cores allocated. This quickly recovers after a couple of minutes.

I'm running BB 1.9.2 on intel MacOS 14.2. Nothing else running on the VM, just iMessage and BB. I'm not running in headless mode, if that matters. Happy to provide any additional logs, etc, needed.

From the server log, it looks like BB may have restarted at that time, it has entries indicating a startup then, but no indications in the log why.

[2023-12-18 12:41:13.018] [info]  Updated message from [You]: ["REMOVED"; Date: 12/18/2023, 12:41:07 PM] - [Text Delivered -> 12/18/2023, 12:41:12 PM]
[2023-12-18 13:02:46.264] [info]  Performing initial setup...
[2023-12-18 13:02:46.318] [info]  Initializing filesystem...
[2023-12-18 13:02:46.322] [info]  Initializing server database...
[2023-12-18 13:02:46.965] [info]  Connecting to iMessage database...
[2023-12-18 13:02:47.199] [info]  Initializing FindMy Repository...
[2023-12-18 13:02:47.201] [info]  Starting IPC Listeners..
[2023-12-18 13:02:47.203] [info]  Delaying server startup by 10 seconds
[2023-12-18 13:03:00.713] [info]  Running pre-start checks...
...
[2023-12-18 13:03:03.138] [info]  Starting Private API Helper listener...
[2023-12-18 13:03:03.139] [debug] [PrivateApiService] Starting Private API Helper Services...
[2023-12-18 13:03:03.144] [info]  [PrivateApiService] Starting socket server on port 45670
[2023-12-18 13:03:03.154] [debug] Attempting to uninstall Private API Helper Bundle...
[2023-12-18 13:03:03.156] [debug] Plugin directory not found: /Library/Application Support/MacEnhance/Plugins
[2023-12-18 13:03:03.158] [debug] Plugin directory not found: /Library/Application Support/SIMBL/Plugins
[2023-12-18 13:03:03.159] [info]  Starting iMessage Database listeners...
[2023-12-18 13:03:03.160] [info]  Starting chat listeners...
[2023-12-18 13:03:03.199] [debug] Injecting Messages Helper DYLIB...
[2023-12-18 13:03:03.204] [debug] Killing process: Messages
[2023-12-18 13:03:07.408] [info]  Successfully started HTTP server
[2023-12-18 13:03:11.610] [info]  Failed to kill parent process (Messages)! Error: Error: Command failed: killall "Messages"
No matching processes belonging to you were found
[2023-12-18 13:03:11.641] [info]  Client Authenticated Successfully (Total Clients: 1)

Edit: False alarm, my VM rebooted on its own. Problem is on my end.

Killed my bluetooth and wifi

just wanted to let you know it, that's it, my bluetooth and my wifi just stopped working, booted with ubuntu on a pendrive and both worked just fine, I have to reinstall macos.

FaceTime Private API: Joins Call and Immediately Leaves, Making Link No Longer Helpful

Upon answering a call, the server joins the FaceTime, makes the link, sends it back to the client and then leaves but since the Android phone hasn't joined the call through the link immediately, and instead has to enter a name, permissions, etc., the call ends because the macOS server has left with no one left for the caller to talk to. Is there any reason for the macOS server to leave/Would it be unreasonable to keep the server in the call forever or until the client actually joins? I am also running this macOS server without a webcam, could this be the issue instead/Does the server need to have a webcam?

[Feature request] Show other user's focus mode status

This is distinct from #21, this is a feature request for the app to display other user's focus mode status. For example, a chat on the native app(s) will show "[User] has notifications silenced" due to their focus mode settings. When you send a message while the other user has notifications silenced as such, the status for the message shows as "Delivered quietly." It would be nice to have this functionality in BlueBubbles as well.

The native feature also has a button to "send a notification," overriding the default behavior of delivering the notification quietly. This would be a nice feature as well, but I'm personally not too concerned about it (and it might be worthy of a separate issue/request for itself)

Private API (v0.0.14) Crashes iMessage Whenever it is Used

Mid 2009 MBP - El Capitan 10.11.6
BlueBubbles Server v1.5.5
mySIMBL v0.8.1 (72)
BlueBubbles-Helper v0.0.14

iMessage quits unexpectedly whenever a private API feature is used.

iMessage Error:
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[IMChat sendMessageAcknowledgment:forChatItem:withMessageSummaryInfo:]: unrecognized selector sent to instance 0x7fce2bcd48d0'
terminating with uncaught exception of type NSException
abort() called

iMessage Crash.txt

Screen Shot 2023-03-28 at 9 59 36 AM

Private API installed successfully through mySIMBL and restarted the BlueBubbles Server, but other helper versions don't work as well (0.0.11, 0.0.10, etc.) Log doesn't show any issues aside from the private helper API disconnecting (Whenever a message or reaction is sent)
Screen Shot 2023-03-28 at 10 00 16 AM

mySIMBL Configuration:
Screen Shot 2023-03-28 at 10 03 49 AM

I appreciate any help with this!

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.