angular / angularfire

Angular + Firebase = ❤️
https://firebaseopensource.com/projects/angular/angularfire2
MIT License
7.7k stars 2.19k forks source link

ERROR ReferenceError: Proxy is not defined #2450

Closed JeongJun-Lee closed 4 years ago

JeongJun-Lee commented 4 years ago

Version info

Angular: Angular9

Firebase: Firebase 7.14.x

AngularFire: AngularFire6

Other (e.g. Ionic/Cordova, Node, browser, operating system): Ionic5, Cordova7, Capacitor2

How to reproduce these conditions

Failing test unit, Plunkr, or JSFiddle demonstrating the problem

Steps to set up and reproduce 1) Build Ionic Android App by Capacitor. 2) Load tha App on real phone of Android 6, Chome 79 3) Happens Proxy is not defined error from new AngularFireAuth.

Sample data and security rules

Debug output

Errors in the JavaScript console image

Output from firebase.database().enableLogging(true);

Screenshots

Expected behavior

It works well on Web App build by ionic serve. It works well on real phone of Android 10. So it need to work well on Android 6.

Actual behavior

rgant commented 4 years ago

Duplicate of #2296

jamesdaniels commented 4 years ago

You'll want to polyfill proxy.