openedx / openedx-app-android

The mobile app for Android for the Open EdX Platform.
Apache License 2.0
14 stars 19 forks source link

fix: Ensure cookies authentication prior to webview loading #312

Closed HamzaIsrar12 closed 2 months ago

HamzaIsrar12 commented 2 months ago

Description

Ensure cookies' expiry time is verified before loading an authenticated web view and address a race condition within the clearWebViewCookie method. This race condition caused the premature reset of authSessionCookieExpiration to -1 due to delays in the callback execution.

Closes #306