code: void putApp(Context context) {
      try {
        PackageManager packageManager = context.getPackageManager();
        PackageInfo packageInfo = packageManager.getPackageInfo(context.getPackageName(), 0);
        Map<String, Object> app = createMap();
        putUndefinedIfNull(app, APP_NAME_KEY, packageInfo.applicationInfo.loadLabel(packageManager));
        putUndefinedIfNull(app, APP_VERSION_KEY, packageInfo.versionName);
        putUndefinedIfNull(app, APP_NAMESPACE_KEY, packageInfo.packageName);
        app.put(APP_BUILD_KEY, String.valueOf(packageInfo.versionCode));
        put(APP_KEY, app);
      } catch (PackageManager.NameNotFoundException e) {
        // ignore
      }
    }
docs: Fill this instance with application info from the provided {@link Context}. No need to expose a
  getter for this for bundled integrations (they'll automatically fill what they need
  themselves).