Goal: Build a cross-platform app that works on ios, android, and the web using Capacitor APIs: Storage, Filesystem, Camera. this app will be part of the new "your first app" guide, that uses all of our modern tools.
Issue is: running on the Web. Code here is intentionally simple - just trying to get it to work. once it does, will update to be cleaner and work with all platforms. steps:
Capture photo with Camera (base64 method used for web instead of file URI b/c Filesystem API writes a file using base64 string)
Write to Filesystem (this works, but gives me back weird data url from indexeddb).
Goal: Build a cross-platform app that works on ios, android, and the web using Capacitor APIs: Storage, Filesystem, Camera. this app will be part of the new "your first app" guide, that uses all of our modern tools.
Issue is: running on the Web. Code here is intentionally simple - just trying to get it to work. once it does, will update to be cleaner and work with all platforms. steps: