CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-expo-application

A universal module that gets native application information such as its ID, app name, and build version at runtime

Overall
score

98%

Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how well the engineer uses the expo-application package to access and display application metadata (name, ID, version, and build). The focus is on correct usage of the four core constants provided by the package.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses applicationName",
      "description": "Correctly imports and uses the `applicationName` constant from expo-application to access the app name",
      "max_score": 20
    },
    {
      "name": "Uses applicationId",
      "description": "Correctly imports and uses the `applicationId` constant from expo-application to access the bundle ID/application ID",
      "max_score": 20
    },
    {
      "name": "Uses nativeApplicationVersion",
      "description": "Correctly imports and uses the `nativeApplicationVersion` constant from expo-application to access the version number",
      "max_score": 20
    },
    {
      "name": "Uses nativeBuildVersion",
      "description": "Correctly imports and uses the `nativeBuildVersion` constant from expo-application to access the build number",
      "max_score": 20
    },
    {
      "name": "Null handling",
      "description": "Properly handles null values returned by expo-application constants (which occur on web platform) by displaying appropriate fallback text or checking for null",
      "max_score": 15
    },
    {
      "name": "Direct constant access",
      "description": "Accesses metadata synchronously using the constants directly rather than incorrectly treating them as async functions or methods",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-expo-application

tile.json