Skip to content

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

Open
dhiaCodes wants to merge 3 commits into
moazelsawaf:mainfrom
dhiaCodes:bubble-cannot-start-android14
Open

Closes #19: Bubble cannot start on android 14#21
dhiaCodes wants to merge 3 commits into
moazelsawaf:mainfrom
dhiaCodes:bubble-cannot-start-android14

Conversation

@dhiaCodes
Copy link
Copy Markdown

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
Copy Markdown

@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
Copy Markdown

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
Copy Markdown
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