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

Prevent multiple iOS initializations #203

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Prevent multiple iOS initializations #203

merged 1 commit into from
Nov 16, 2023

Conversation

rohitsangwan01
Copy link
Contributor

@rohitsangwan01 rohitsangwan01 commented Nov 16, 2023

Fix: #189

When we use flutter_background_service, it calls a new flutterEngine for background tasks, which calls
registrar methods of plugins again, which causes that issues
No implementation found for method listen on channel player_context_subscription

Or another reason is: if we try to subscribe to these streams, before connection, they will throw error, because spotify_sdk plugin is setting FlutterStreamHandler only after connecting to Spotify, so for this added instructions in readme

Copy link
Collaborator

@fotiDim fotiDim left a comment

Choose a reason for hiding this comment

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

LGTM

@fotiDim fotiDim merged commit 6fd2963 into brim-borium:main Nov 16, 2023
2 checks passed
@fotiDim fotiDim changed the title Fix multiple initialziations Prevent multiple iOS initializations Nov 16, 2023
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.

MissingPluginException(No implementation found for method listen on channel player_context_subscription)
2 participants