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

Dynamic island is thin black line only #111

Open
angelinai opened this issue Jan 29, 2025 · 4 comments
Open

Dynamic island is thin black line only #111

angelinai opened this issue Jan 29, 2025 · 4 comments
Labels
need details Need more details to investigate

Comments

@angelinai
Copy link

No matter how and where I run (even the example) in iPhone 16 Pro/18.2 get a thin black line. I get activity ID is there no dynamic island updates / or states update. All I see is a thin line across the width if the simulator.

Image

@sophie-maney
Copy link

sophie-maney commented Feb 6, 2025

Just adding a comment to confirm that we are also running into this issue (so it's reproducible).

We have tried changing the widget from the flutter_live_activities example code to Apple's own live widget example with the same result (when starting it via the live_activities plugin).

We have also tried running it on iOS 18.1 Simulator and on a real iPhone - both also resulted in the thin black line. We couldn't get the lock screen live activity to show up at all regardless of simulator or device.

What seems interesting is that giving an incorrect appGroupId to LiveActivities().init() doesn't seem to change anything - both create the same broken live activity.

I have done all the other troubleshooting steps (Correcting Build Phases order in XCode, disintegrating pods & flutter clean, double-checking our Apple Group Identifier etc.).

I'll keep debugging this for a bit today so I'll post an update if I find a solution.

Edit: Using 2.2.0 also didn't fix it.

@istornz
Copy link
Owner

istornz commented Feb 6, 2025

Thanks for raising the issue, that's very strange, I can reproduce the issue too :/

I will try to find what is going wrong...

Edit: It's working well with the latest version of the plugin (2.3.0) on a physical device iPhone 14 Pro - iOS 18.2.1. But it's not working with the simulator (iOS 18.1).

What physical device did you try on? @sophie-maney

Edit 2: I can make it working on the simulator iPhone 16 Plus - iOS 18.2 (I do not change anything on the code)

Image

@istornz istornz added the need details Need more details to investigate label Feb 6, 2025
@angelinai
Copy link
Author

There is some type of disconnect between the activity and the widget UI update.

@amxfonseca
Copy link

What physical device did you try on? @sophie-maney

Apart from testing in the simulator I’ve tried it on a iPhone 16 Pro running the latest iOS version. Same behavior was observed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need details Need more details to investigate
Projects
None yet
Development

No branches or pull requests

4 participants