翻訳が見つかりません

日本語版はまだ準備中です。現在はEnglish版を表示しています。

English版を開く

Cordova to Capacitor File Conversion

1 min readby Patrick Miller

A reference guide for mapping file system directory aliases when migrating from Cordova to Capacitor, covering iOS and Android platform differences.

Cordova and Capacitor use different conventions and aliases to refer to standard directories on iOS and Android.

I checked the source code and here is how the different aliases map up:

Android Conversion

iOS Conversion

Sources:

  1. https://capacitorjs.com/docs/apis/filesystem#enums
  2. https://cordova.apache.org/docs/en/11.x/reference/cordova-plugin-file/