The relevant code in Cordova Ubuntu is this
src/plugins/fileapi.cpp m_persistentDir(QDir::homePath() + "/.local/share/cordova-ubuntu/persistent/" + QString(cordova->get_app_dir().toUtf8().toBase64()))
src/cordova.cpp QString Cordova::get_app_dir() { return m_www.absolutePath(); }
So, in theory, doing something like base64.b64encode(absolute_path_dir) should work.
The relevant code in Cordova Ubuntu is this
src/plugins/ fileapi. cpp (QDir:: homePath( ) + "/.local/ share/cordova- ubuntu/ persistent/ " + QString( cordova- >get_app_ dir().toUtf8( ).toBase64( )))
m_persistentDir
src/cordova.cpp :get_app_ dir() { ath();
QString Cordova:
return m_www.absoluteP
}
So, in theory, doing something like base64. b64encode( absolute_ path_dir) should work.