ConstReadonlydataPath: string | nullReadonlyidentifier: stringGets the identifier name of the current application, e.g.
com.example.application on Android.
In case the identifier cannot be retrieved, the main module name is returned instead, which typically is the process name.
Il2Cpp.perform(() => {
// prints com.example.application
console.log(Il2Cpp.application.identifier);
});
Readonlyversion: stringGets the version name of the current application, e.g. 4.12.8.
In case the version cannot be retrieved, an hash of the IL2CPP module is returned instead.
Il2Cpp.perform(() => {
// prints 4.12.8
console.log(Il2Cpp.application.version);
});
Gets the data path name of the current application, e.g.
/data/emulated/0/Android/data/com.example.application/fileson Android.This information is not guaranteed to exist.