grab/superapp-sdk / skills
grabjs-superapp-sdk
VerifiedAPI reference for `@grabjs/superapp-sdk`. Use when building a MiniApp that runs in the Grab SuperApp WebView and needs to call native features (camera, payments, authorization, authentication, permission, location, device storage, container UI customization) via the Grab `JSBridge`. Keywords: miniapp, webview, android, ios, jsbridge, grab, superapp.
references/modules/SplashScreenModule.md
View on GitHub# SplashScreenModule
## API Reference
SDK module for controlling the native splash / Lottie loading screen via `JSBridge`.
| Method | Returns | Description |
| :--- | :--- | :--- |
| `dismiss()` | `Promise<DismissSplashScreenResponse>` | Dismisses the native splash (Lottie) loading view if it is presented. |
## `dismiss`
Dismisses the native splash (Lottie) loading view if it is presented.
**Signature:** `dismiss(): Promise<DismissSplashScreenResponse>`
This method can return the following `status_code` values:
- `204` (No Content): No splash screen shown, or it was closed successfully.
- `400` (Bad Request): Invalid request parameters.
- `403` (Forbidden): Missing consent for the required OAuth scope.
- `500` (Internal Server Error): Unexpected error while invoking `JSBridge`.
- `501` (Not Implemented): Not in the Grab app WebView environment.
```typescript
import { SplashScreenModule, isSuccess, isErrorResponse } from '@grabjs/superapp-sdk';
const splashScreen = new SplashScreenModule();
const response = await splashScreen.dismiss();
if (isSuccess(response)) {
console.log('dismissed splash screen successfully');
} else if (isErrorResponse(response)) {
console.error(`Error ${response.status_code}: ${response.error}`);
} else {
console.error('Unhandled response');
}
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |