istornz/flutter_live_activities

Can this library be used without enabling app notifications?

WrathOP opened this issue · 0 comments

Can this library be used without enabling app notifications? I don't have an apple developer account so I can't have push notification and wanted to implement dynamic island. It technically should but I am getting a vague error:

`
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(LIVE_ACTIVITY_ERROR, can't launch live activity, The operation couldn’t be completed. (com.apple.ActivityKit.ActivityInput error 0.), null)

`
Running the project in XCode gives this:

SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget 'com.example.ultimate-Alarm-Clock.ultimate-alarm-clock' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace)., BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x600000c914a0 {Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (com.example.ultimate-Alarm-Clock.ultimate-alarm-clock)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (com.example.ultimate-Alarm-Clock.ultimate-alarm-clock)}}, FBSOpenApplicationRequestID=0xf0b3, NSLocalizedDescription=The request to open "com.apple.springboard" failed.}." UserInfo={NSLocalizedDescription=Failed to show Widget 'com.example.ultimate-Alarm-Clock.ultimate-alarm-clock' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace)., BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x600000c914a0 {Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (com.example.ultimate-Alarm-Clock.ultimate-alarm-clock)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (com.example.ultimate-Alarm-Clock.ultimate-alarm-clock)}}, FBSOpenApplicationRequestID=0xf0b3, NSLocalizedDescription=The request to open "com.apple.springboard" failed.}., NSUnderlyingError=0x600000c91b90 {Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace)., BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x600000c914a0 {Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (com.example.ultimate-Alarm-Clock.ultimate-alarm-clock)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (com.example.ultimate-Alarm-Clock.ultimate-alarm-clock)}}, FBSOpenApplicationRequestID=0xf0b3, NSLocalizedDescription=The request to open "com.apple.springboard" failed.}}}
Domain: DTXMessage
Code: 1
User Info: {
    DVTErrorCreationDateKey = "2024-01-02 20:29:03 +0000";
}
--


System Information

macOS Version 14.2.1 (Build 23C71)
Xcode 15.1 (22502) (Build 15C65)
Timestamp: 2024-01-03T01:59:03+05:30