# Ionic 6 app dont work on android v8.1 but works on android v6 devices

**URL:** <https://forum.ionicframework.com/t/ionic-6-app-dont-work-on-android-v8-1-but-works-on-android-v6-devices/201065>\
**Category:** Ionic Angular\
**Created:** [December 10, 2020, 4:35pm UTC](https://forum.ionicframework.com/t/ionic-6-app-dont-work-on-android-v8-1-but-works-on-android-v6-devices/201065 "2020-12-10T16:35:31Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![aminem2080](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/aminem2080/32/135307_2.png) [@aminem2080](https://forum.ionicframework.com/u/aminem2080)\
**Post date:** [December 19, 2020, 11:25am UTC](https://forum.ionicframework.com/t/ionic-6-app-dont-work-on-android-v8-1-but-works-on-android-v6-devices/201065/18 "2020-12-19T11:25:31Z")

</div>

> [@ReferenceError: globalThis is not defined](https://forum.ionicframework.com/t/referenceerror-globalthis-is-not-defined/201520/1):
>
> now i found a way to remote debugg it in chrome devtools, this is the error output:
> 
> ```auto
> ReferenceError: globalThis is not defined
> at Module.<anonymous> (vendor-es5.js:158248)
> at Module.spgP (vendor-es5.js:158400)
> at __webpack_require__ (runtime-es5.js:85)
> at Module.ZAI4 (main-es5.js:295)
> at __webpack_require__ (runtime-es5.js:85)
> at Module.zUnb (main-es5.js:647)
> at __webpack_require__ (runtime-es5.js:85)
> at Object._ (main-es5.js:19)
> at __webpack_require__ (runtime-es5.js:85)
> at checkDeferredModules (runtime-es5.js:46)
> capacitor.handleError @ capacitor-runtime.js:358
> capacitor.handleWindowError @ capacitor-runtime.js:378
> 
> ```
> 
> if i follow in those vendor-es5.js files the error that they is un undefined  
> globalThis. on these line of angular fire
> 
> `globalThis.ɵAngularfireInstanceCache || (globalThis.ɵAngularfireInstanceCache = new Map());`
> 
> help me know what to

---

_[View the full topic](https://forum.ionicframework.com/t/ionic-6-app-dont-work-on-android-v8-1-but-works-on-android-v6-devices/201065)._
