You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: drop screen fullscreen duplicates and return null/false when unsupported (#218) (15f132c), closes #200
BREAKING CHANGES
@rtorcato/browser-common/screen no longer exports
enterFullscreen, exitFullscreen or isFullscreen; import them from @rtorcato/browser-common/fullscreen. Functions that returned undefined
on unsupported environments now return null (screen, location, common,
orientation, geolocation.watchPosition, permissions, mediadevices,
battery, notifications, serviceworkers, backgroundtasks.registerBackgroundFetch,
fullscreen.enterFullscreen/exitFullscreen), and isLandscape, isPortrait and
isFullscreen return false instead of undefined. Replace === undefined checks with === null; ?. and ?? are unaffected.