capacitor-community / capacitor-community/firebase-analytics
No data are visible in the firebase analytics console in localhost
- Dominant language
- Java
- Stars
- 178
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I have implemented this firebase analytics module in my ionic/capacitor project, which is based on angular
1. I am using the following command for hot-reloading.
```ng serve --host 192.168.1.198 --port 8100```
- capacitor.config.ts
```
const config: CapacitorConfig = {
appId: "com.test.forms",
appName: "*test*",
webDir: "www",
server: {
url: "http://192.168.1.198:8100",
cleartext: true,
},
plugins: {
SplashScreen: {
launchAutoHide: false,
showSpinner: true,
},
Keyboard: {
resize: KeyboardResize.Ionic,
},
},
};
```
when I launch this on my iphone, Data are visible in the dashboard.

2. If I remove the server option in capacitor.config.ts and run ```ionic server```, No data are visible in the dashboard.
```
const config: CapacitorConfig = {
appId: "com.***.forms",
appName: "***",
webDir: "www",
plugins: {
SplashScreen: {
launchAutoHide: false,
showSpinner: true,
},
Keyboard: {
resize: KeyboardResize.Ionic,
},
},
};
```
look like the app with ```localhost``` doesn't work.
**Expected behavior**
I have to see the data in the dashboard in case if I test the app in localhost.
Could you help me?
Contributor guide
Assessment
This issue has not been assessed yet.