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

Closes #19: Bubble cannot start on android 14 #21

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dhiaCodes
Copy link

This change adds a type declaration in the Android manifest, which is required for apps targeting Android 14.
If an app that targets Android 14 doesn't define types for a given service in the manifest, then the system will raise MissingForegroundServiceTypeException upon calling startForeground() for that service.
Read more here: https://developer.android.com/about/versions/14/changes/fgs-types-required

Related Issues:

…n trying to start the bubble on ANDROID 14
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there, welcome to Dash Bubble! 👋🏻

I'm glad you're interested in contributing to this plugin. It's a great way to learn more about the codebase and to help grow the Flutter community 💙

Your pull request will be reviewed by the maintainers and worked on as soon as possible. If you have any questions or need help, feel free to reach out to me @moazelsawaf. I am always happy to assist you 💙

Happy Coding! 😊

@Copperbolt25
Copy link

Hi @dhiaCodes , can you help me with this.
Is there any way I can edit my code to fix this issue. Right now my app crashes when the target sdk is 34.

@dhiaCodes
Copy link
Author

Hey @Copperbolt25, you can change your pubspec.yaml to use the dash_buble package from this url.
This forked repo will fix your issue.

dash_bubble:
    git:
      url: https://github.com/dhiaCodes/dash_bubble.git
      ref: bubble-cannot-start-android14

PS: consider removing the package first from pubspec.yaml then run flutter pub get, then add the code above and run the command again.

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

Successfully merging this pull request may close these issues.

2 participants