Capacitor base64 to file

Code examples

3
0

capacitor base64 to file

try {
    Filesystem.writeFile({
      path: `test1/${fileTo.name}`,
      data: base64String,
      directory: FilesystemDirectory.Documents
    });
  } catch (e) {
    console.error("Unable to write file", e);
  }

Similar pages

Similar pages with examples

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................