No data are visible in the firebase analytics console in localhost
timeisgolden opened this issue · 1 comments
timeisgolden commented
Describe the bug
I have implemented this firebase analytics module in my ionic/capacitor project, which is based on angular
- 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.
- 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?
gasci commented
I am having the same issue. I believe the web part doesn't function anymore?