forked from trent_larson/crowd-funder-for-time-pwa
fix: resolve cross-platform SQLite JSON parsing inconsistencies
- Add platform-agnostic parseJsonField utility to handle different SQLite implementations - Web SQLite (wa-sqlite/absurd-sql) auto-parses JSON strings to objects - Capacitor SQLite returns raw strings requiring manual parsing - Update searchBoxes parsing to use new utility for consistent behavior - Fixes "[object Object] is not valid JSON" error when switching platforms - Ensures compatibility between web and mobile SQLite implementations Fixes: searchBoxes parsing errors in databaseUtil.ts Related: contactMethods field has similar issue (needs same treatment)
This commit is contained in:
892
package-lock.json
generated
892
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user