A universal module that gets native application information such as its ID, app name, and build version at runtime
Overall
score
98%
{
"context": "This evaluation assesses how well the engineer uses the expo-application package to detect the Apple Push Notification service environment on iOS. The focus is on proper usage of the package's iOS-specific push notification environment detection capability.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses correct function",
"description": "Uses getIosPushNotificationServiceEnvironmentAsync() from expo-application to retrieve the APN environment",
"max_score": 40
},
{
"name": "Handles return values",
"description": "Correctly handles all three possible return values: 'development', 'production', and null",
"max_score": 25
},
{
"name": "Platform error handling",
"description": "Properly handles UnavailabilityError thrown on non-iOS platforms (Android, web)",
"max_score": 20
},
{
"name": "Async implementation",
"description": "Correctly implements async/await or Promise handling since getIosPushNotificationServiceEnvironmentAsync() returns a Promise",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-expo-application