Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

jeep-sqlite_loader does not export applyPolyfills

Đang mở
#592 4 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, sqlite
Lĩnh vực
database, web-dev

Hướng nghiên cứu

Bắt đầu với src/routes/+layout.svelte trong bản tái hiện được liên kết và chạy các bước thiết lập npm được liệt kê trong trình duyệt. Kiểm tra cách jeep-sqlite_loader cung cấp applyPolyfills và cách loader cùng pwaElements được khởi tạo. Được xem là hoàn tất khi ví dụ сохраня cơ sở dữ liệu của nó trong trình duyệt sau khi nâng cấp phiên bản.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug/fix needs: triage

Plugin version:

@capacitor-community/sqlite == 6.0.2
jeep-sqlite == 2.8.0

Platform(s):

Database not saving on web but works on android

Current behavior:

Database doesn't persist in browser

Expected behavior:

Database persists in browser

Steps to reproduce:

git clone [email protected]:jepiqueau/vite-sveltekit-capacitor-sqlite.git
cd vite-sveltekit-capacitor-sqlite
npm i
npm audit fix
npm i @capacitor/cli@latest @capacitor/core@latest @capacitor/android@latest @capacitor/ios@latest @capacitor-community/sqlite@latest --force

In src/routes/+layout.svelte, remove applyPolyfill:

    // applyPolyfills().then(() => {
        pwaElements(window);

        jeepSqlite(window);
    // });

Additional Notes

The data persists using the old version (5.7.2 I think) but upon upgrade, I don't know how to apply the necessary polyfills

I'm happy to apply the changes to the example repo

Ngôn ngữ chính
Swift
Star
663
Fork
159
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của capacitor-community/sqlite

Tất cả issue của capacitor-community/sqlite

Issue tương tự

Thêm issue về Swift

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.