add eitaa-mini-app skill
This commit is contained in:
6 files changed
+402
No files matched your search
@@ -0,0 +1,51 @@
|
||||
# Platform, architecture, registration, and release
|
||||
|
||||
## Product model
|
||||
|
||||
An Eitaa **app** is a web application launched inside Eitaa's WebView. An Eitaa **mini app** is a direct Eitaa link to a web application under an app. Both use standard HTML, CSS, and JavaScript and can use the Eitaa WebApp SDK.
|
||||
|
||||
The normal request path is:
|
||||
|
||||
1. The user opens an app button or mini-app link in Eitaa.
|
||||
2. Eitaa opens the registered HTTPS URL in its WebView and exposes launch data through the SDK.
|
||||
3. The browser UI uses the SDK for native interaction.
|
||||
4. If identity or dynamic data is needed, the browser sends raw signed launch data to the developer's backend.
|
||||
5. The backend validates it, establishes its own session, and performs protected work.
|
||||
|
||||
A backend is optional for a purely local/static experience. It is required whenever the app trusts identity, stores private data, uses the app token, verifies authenticity remotely, or sends messages.
|
||||
|
||||
## Hosting contract
|
||||
|
||||
- Serve the final entry URL over valid HTTPS.
|
||||
- Register the exact final URL. The documented launch URL must not redirect.
|
||||
- Keep the whole app usable in a constrained mobile WebView: responsive layout, RTL where appropriate, safe-area padding, no popup-window assumptions, and explicit loading/error states.
|
||||
- Make browser mode honest. It may preview layout and harmless dialogs, but must not fabricate Eitaa authentication, permission approval, sensors, message delivery, QR scans, or other native results.
|
||||
|
||||
## EitaaYar registration
|
||||
|
||||
Use `https://eitaayar.ir`, complete developer identity verification, and open the Apps section. An app record includes:
|
||||
|
||||
- PNG/JPG profile image;
|
||||
- display title and unique username;
|
||||
- active/inactive status;
|
||||
- description and launch-button label;
|
||||
- exact HTTPS destination URL;
|
||||
- launch-card image and launch message.
|
||||
|
||||
The documentation snapshot says one app can contain up to five mini apps. A mini-app record includes its visible title, direct mini-app link, and destination web URL. Publication in the Eitaa mini-app center is requested from the mini-app edit page and is subject to approval.
|
||||
|
||||
Treat counts, review policy, form labels, and supported clients as changing platform facts. Recheck them when doing a real release.
|
||||
|
||||
## Client support
|
||||
|
||||
The supplied documentation's quick-start snapshot identifies Eitaa Android and Windows desktop as supported execution targets and says iOS and ordinary browser execution are unsupported for native behavior. Other source prose is less definitive. Do not promise support based on this snapshot alone; verify current Eitaa support before release.
|
||||
|
||||
## Release checklist
|
||||
|
||||
- The production URL is direct HTTPS and does not redirect.
|
||||
- The SDK is loaded from the official URL before app code.
|
||||
- Secrets and private server files are outside the public document root and deployment artifact.
|
||||
- Browser preview is clearly labeled and native-only controls degrade safely.
|
||||
- Authentication, permissions, contacts, message sending, native buttons, theme changes, safe areas, links, downloads, QR, sensors, and fullscreen are tested only where used.
|
||||
- The exact production URL, status, assets, button wording, and requested mini-app links are correct in EitaaYar.
|
||||
- The app is opened from real Eitaa Android and desktop after deployment.
|
||||
Reference in new issue
Block a user