angular / angularfire

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

Analytics not working on IOS after upgraded to angularfire 7 & firebase 9 #3202

Open dodomui opened 2 years ago

dodomui commented 2 years ago

Version info

Angular: 13.3.1

Firebase: 9.6.10

AngularFire: 7.3.0

Other (e.g. Ionic/Cordova, Node, browser, operating system): Ionic CLI : 6.19.0 Ionic Framework : @ionic/angular 6.0.14 @angular-devkit/build-angular : 13.3.1 @angular-devkit/schematics : 13.3.1 @angular/cli : 13.3.1 @ionic/angular-toolkit : 6.1.0

Capacitor:

Capacitor CLI : 3.4.3 @capacitor/android : 3.4.3 @capacitor/core : 3.4.3 @capacitor/ios : 3.4.3

Utility:

cordova-res : 0.15.4 native-run : 1.5.0

System:

NodeJS : v16.13.0 (/Users/nelsonmui/.nvm/versions/node/v16.13.0/bin/node) npm : 8.6.0 OS : macOS Monterey

How to reproduce these conditions

Failing test unit, Stackblitz demonstrating the problem

Steps to set up and reproduce It was working previously at @angular/fire 6 with firebase 8. After upgrading to the latest version, there's totally no data showing up on iOS. But it was just fine on Android and Web.

I had set iosScheme to ionic, will it be the problem? If not unable to launch ionic app after upgrade to angular/fire 7 + firebase 9.

Sample data and security rules

Debug output

Errors in the JavaScript console

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

Screenshots

Expected behavior

Actual behavior

google-oss-bot commented 2 years ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

dodomui commented 2 years ago

Is it possible to set checkProtocolTask to null using @angualr/fire?