Saber on iOS freezes when adding new note
Before submitting an issue, please check the following
- [x] I have searched for similar issues (both open and closed) and cannot find a duplicate
- [x] I agree to follow the Code of Conduct
Describe the bug
Upon launching Saber, and adding a new note, the note screen opens but the tools don’t work, the app freezes & cannot be closed without swiping it away. Rebooting and relaunching doesn’t solve the problem. Drawing isn’t possible. Note the whiteboard function works.
iPad Pro 10.5, iOS 17.7.5. Saber v0.25.4 App Store 25040
Log: SEVERE at 2025-03-23 11:56:28.980807 PlatformException(bgTaskSchedulingFailed(Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)") error, Scheduling the task using BGTaskScheduler has failed.
This may be due to too many tasks being scheduled but not run.
See the error for details: Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)"., null, null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370)
SEVERE at 2025-03-23 11:56:29.143135 PlatformException(DarwinAudioError, Failed to set source. For troubleshooting, see https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, AVPlayerItem.Status.failed on setSourceUrl: Unknown error, null)
To reproduce
- Launch Saber
- Press + button
- Press “new note”
- App freezes and the icons appear dimmer than those in the whiteboard function which does work.
Expected behavior
Ability to draw!
Saber version
v0.25.4 App Store 25040
Device
- Device: iPad Pro 10.5
- OS: 17.7.5
Anything else?
Whiteboard function works ok.
I have the exact issue on my third-generation iPad Air running iPadOS 18.3.2. As for you, my Whiteboard. And the logs for me…
SEVERE at 2025-03-27 07:08:45.025222
PlatformException(bgTaskSchedulingFailed(Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)") error, Scheduling the task using BGTaskScheduler has failed.
This may be due to too many tasks being scheduled but not run.
See the error for details: Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)"., null, null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370)
<asynchronous suspension>
#2 Workmanager.registerOneOffTask (package:workmanager/src/workmanager.dart:192)
<asynchronous suspension>
SEVERE at 2025-03-27 07:08:45.253868
PlatformException(DarwinAudioError, Failed to set source. For troubleshooting, see https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, AVPlayerItem.Status.failed on setSourceUrl: Unknown error, null)
This seems to be a known issue with iOS media players. Below, I found details and a possible fix or hint for the issue. https://github.com/bluefireteam/audioplayers/issues/1546#issuecomment-1845187654
@rhizoma temporary fix: disable pencil sound in settings. And before you freak out, Set the Main pen to no pressure ajustement (click on the icon and then set it to the stroke that is same thick everywhere.
Thanks, but unfortunately, the fix doesn’t work for me. I turned off pencil sound and set the pen to ballpoint as suggested. Was only able to do this in the Whiteboard app. Still frozen in the Note app.
===
Log: SEVERE at 2025-03-30 08:18:12.425016 PlatformException(bgTaskSchedulingFailed(Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)") error, Scheduling the task using BGTaskScheduler has failed.
This may be due to too many tasks being scheduled but not run.
See the error for details: Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)"., null, null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370)
SEVERE at 2025-03-30 08:18:12.471145 PlatformException(DarwinAudioError, Failed to set source. For troubleshooting, see https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, AVPlayerItem.Status.failed on setSourceUrl: Unknown error, null)
OK I figured it out I changed multiple settings, the others I thought had no impact, but now with more testing, try changing prompt to rename note to true
Turning on “Prompt you to rename new notes” solved the problem, thanks!
I have this issue and the tick box works for root files but not creating in folders. Just get white screen then hangs, have to crash out (Also have on android with no issues)
I ran into this a while ago and disabled the prompting for new name on note creation. Unfortunately, the issue appeared again today and I can't create any new notes any more. Right before, I created two folders and moved some files. I am facing this on iOS, but also using the Mac OS client.
I have this issue and the tick box works for root files but not creating in folders. Just get white screen then hangs, have to crash out (Also have on android with no issues)
I can confirm that the „rename on create“-workaround only works on the root folder.
also in v0.25.6
v0.25.8 it's fixed, thx