sarbagyastha / youtube_player_flutter

A Flutter plugin for inline playback or streaming of YouTube videos using the official iFrame Player API.
https://youtube.sarbagyastha.com.np
BSD 3-Clause "New" or "Revised" License
694 stars 788 forks source link

[assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 #551

Open martin-robert-fink opened 2 years ago

martin-robert-fink commented 2 years ago

Describe the bug I have the video player inside a DialogBox to make it easy to get rid of the video when done. Whenever I close the video (by closing the dialog, I get this error stream:

PullToRefreshControl - dealloc
[assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
[ProcessSuspension] 0x10cdf9320 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=1640, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}

To Reproduce I tried this with the example code provided and I get the same error

Expected behavior No errors

Screenshots Not relevant

Technical Details:

Additional context Add any other context about the problem here.

ttraenkler commented 2 years ago

@martin-robert-fink Having the same error with an iOS in app browser redirect (in a PWA project unrelated to youtube_player_flutter). Were you able to resolve this issue?

martin-robert-fink commented 2 years ago

Sorry, no solution yet...

smykytyn commented 2 years ago

Any updates on this? Started seeing the same error message in Simulator in a native app project.

MANTENN commented 2 years ago

All I know is it has to do with this: https://developer.apple.com/news/?id=jxky8h89

I'm building a custom browser—but I can't get user inputted URLs to load. so I'm facing the same issue.

avizak commented 1 year ago

@martin-robert-fink Having the same error with an iOS in app browser redirect (in a PWA project unrelated to youtube_player_flutter). Were you able to resolve this issue?

@martin-robert-fink Having the same error with an iOS in app browser redirect (in a PWA project unrelated to youtube_player_flutter). Were you able to resolve this issue?

hi Maybe you find any solution? i have same issue with pwa wrapper and sign up with google

EArminjon commented 1 year ago

Personnaly i stop using this package and now use https://pub.dev/packages/youtube_player_iframe which have less problem. (No double thumbnail issue, no overlay issue, no closing issue, etc)