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

iOS: hide lock screen player after calling clearAllItems() #67

Open
chungmarcoo opened this issue Mar 8, 2023 · 1 comment
Open

iOS: hide lock screen player after calling clearAllItems() #67

chungmarcoo opened this issue Mar 8, 2023 · 1 comment

Comments

@chungmarcoo
Copy link

chungmarcoo commented Mar 8, 2023

I try to call clearAllItems method after my custom music player is closed, however the music player in lock screen still visible. Is there any way to get rid of the lock screen player after calling clearAllItems. In addition, I tried to remove the following code from Info.plist, the lock screen music player will be gone after the music is stopped by the system. But the background playing feature is needed from my own app. Is there any solution? Thanks

	<key>UIBackgroundModes</key>
	<array>
		<string>audio</string>
		<string>fetch</string>
	</array>
@dasantonym
Copy link

+1 I've got the same problem on iOS. The lock screen player stays visible after calling clearAllItems. Android seems to work properly.

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

No branches or pull requests

2 participants