pub fn request_auth() -> Result<bool, Error>Expand description
Ask for permission to display notifications (blocks caller).
Returns Ok(true) if granted, Ok(false) if denied.
Uses futures_lite::future::block_on rather than crate::block_on_main because the requestAuthorization
completion handler fires on an Apple-internal dispatch queue, not the main run loop.
There’s no need to pump NSRunLoop here; don’t change this to block_on_main.