A universal module that gets native application information such as its ID, app name, and build version at runtime
Overall
score
98%
{
"context": "This criteria evaluates how well the engineer uses the expo-application package to retrieve and format the app's last update timestamp. The focus is on correct usage of getLastUpdateTimeAsync() and proper error handling for platform-specific functionality.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Import statement",
"description": "Correctly imports getLastUpdateTimeAsync from expo-application package",
"max_score": 15
},
{
"name": "Function call",
"description": "Calls getLastUpdateTimeAsync() to retrieve the last update time",
"max_score": 25
},
{
"name": "Async handling",
"description": "Properly handles the Promise returned by getLastUpdateTimeAsync() using async/await or .then()",
"max_score": 20
},
{
"name": "Date formatting",
"description": "Correctly formats the Date object returned by getLastUpdateTimeAsync() to the required format (YYYY-MM-DD HH:MM:SS)",
"max_score": 20
},
{
"name": "Error handling",
"description": "Implements error handling for cases where getLastUpdateTimeAsync() throws or fails (e.g., UnavailabilityError on non-Android platforms), returning 'Unknown' as specified",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-expo-application