Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamicIsland and Live activities support for iOS and iPadOS #2770

Open
hkdkfih opened this issue Aug 15, 2024 · 1 comment
Open

DynamicIsland and Live activities support for iOS and iPadOS #2770

hkdkfih opened this issue Aug 15, 2024 · 1 comment
Labels
enhancement New features, or improvements to existing features. not quite right The idea or PR has been reviewed, but more work is needed.

Comments

@hkdkfih
Copy link

hkdkfih commented Aug 15, 2024

What is the problem or limitation you are having?

DynamicIsland and Live activities support for iOS and iPadOS

Describe the solution you'd like

ios activitykit (https://developer.apple.com/documentation/activitykit and
https://developer.apple.com/design/human-interface-guidelines/live-activities)

Describe alternatives you've considered

_

Additional context

No response

@hkdkfih hkdkfih added the enhancement New features, or improvements to existing features. label Aug 15, 2024
@freakboy3742
Copy link
Member

Thanks for the suggestion. The issue with supporting a feature like DynamicIsland is that there is an extent to which it is "Apple specific" - it's a manifestation of a feature that only exists on iOS and iPadOS. That means it's not entirely compatible with a cross-platform toolkit like Toga.

The first step in any proposal like this one is to find a generic capability that exists on every platform, and then work out how to represent that generic capability with platform-specific APIs. You can see an example of what this sort of discussion look like with #97 - the discussion around system tray support.

There may well be a generic representation of this idea that could be added to Toga - but more research (especially on the options for Android) is required.

In the meantime, if you've got an app that you know is going to be iOS specific, you are able access native APIs directly using the Rubicon cross-platform layer. Your app will no longer be cross-platform, but you can have access to ActivityKit (and almost any other platform-specific API).

@freakboy3742 freakboy3742 added the not quite right The idea or PR has been reviewed, but more work is needed. label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features, or improvements to existing features. not quite right The idea or PR has been reviewed, but more work is needed.
Projects
None yet
Development

No branches or pull requests

2 participants