Removes the pageHide event listeners added by addPageHideEventListener, because the 'visibilitychange' uses
an internal proxy to detect the visibility state you SHOULD use a unique namespace when calling addPageHideEventListener
as the remove ignores the listener argument for the 'visibilitychange' event.
Parameters
listener: any
The specific listener to remove for the 'pageshow' event only (ignored for 'visibilitychange')
OptionalevtNamespace: string | string[]
The unique namespace used when calling addPageShowEventListener
Removes the pageHide event listeners added by addPageHideEventListener, because the 'visibilitychange' uses an internal proxy to detect the visibility state you SHOULD use a unique namespace when calling addPageHideEventListener as the remove ignores the listener argument for the 'visibilitychange' event.