From 2cee36e86b8b26c1dee5f88f4e021b628b068761 Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Mon, 18 Aug 2025 09:12:02 -0500 Subject: [PATCH] fix(android): polyfill globalThis for API 28 devices Fixes: #14450 Cherry-pick-of: #14541 --- android/KMEA/app/src/main/assets/other-polyfills.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/android/KMEA/app/src/main/assets/other-polyfills.js b/android/KMEA/app/src/main/assets/other-polyfills.js index 2102a07134..b90767039c 100644 --- a/android/KMEA/app/src/main/assets/other-polyfills.js +++ b/android/KMEA/app/src/main/assets/other-polyfills.js @@ -14,4 +14,7 @@ if(!Array.prototype.includes){ Array.prototype.includes = function(search){ return !!~this.indexOf(search); } -} \ No newline at end of file +} + +// This file is only referenced by the main Web engine; its "global" object is `window`. +var globalThis = window; \ No newline at end of file