AhsanAyaz / AhsanAyaz/quran-notes-keeper

Handling FIREBASE_MEASUREMENT_ID

Đang mở
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
13
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The `.env.example` contains `VITE_FIREBASE_MEASUREMENT_ID`, but it is actually unused in the codebase. If I may suggest, we need to either:

1. Use it for analytics properly
```ts
const firebaseConfig = {
...
measurementId: import.meta.env.VITE_FIREBASE_MEASUREMENT_ID,
};

const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
```
2. Remove it from `.env.example`

I'll be happy to push the fix once a decision is made!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.