Frida Docs Unified
    Preparing search index...
    application: { dataPath: string | null; identifier: string; version: string }

    Type Declaration

    • ReadonlydataPath: string | null

      Gets the data path name of the current application, e.g. /data/emulated/0/Android/data/com.example.application/files on Android.

      This information is not guaranteed to exist.

      Il2Cpp.perform(() => {
      // prints /data/emulated/0/Android/data/com.example.application/files
      console.log(Il2Cpp.application.dataPath);
      });
    • Readonlyidentifier: string

      Gets 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: string

      Gets 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);
      });