Skip to content

fix(harmonyos): repair GenUI games and sign-in, and streamline mini app shortcuts - #5

Merged
wgqqqqq merged 4 commits into
mainfrom
wgq/miniapp-shortcut-flow
Nov 19, 2026
Merged

wgqqqqq merged 4 commits into
mainfrom
wgq/miniapp-shortcut-flow

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #3.

Keep the gallery footer free of a permanent pin button. During a drag, the target tells the user to release to confirm. On API 24 and later, check whether the requested shortcut was absent before pinning and appears while the system dialog is pending. When it appears, return to the launcher immediately. Older devices and unavailable queries use the system confirmation result. Cancelling keeps the gallery open.

Desktop shortcut launches use the existing OpenBitFun entry and skip the in-app brand reveal and home transition. The system cold-start window keeps the OpenBitFun icon.

The HarmonyOS GenUI host now serves scripted HtmlView games in an offline sandbox. Only the main document receives the native message port. Startup failures are included in the runtime probe.

When explicit sign-in confirms that a saved account record has lost its HarmonyOS keystore key, the app creates a new device identity and preserves records from the previous key generation.

Verification

  • Passed pnpm run check and all 15 focused gallery, desktop-card and startup-reveal tests.
  • Built and installed the signed HarmonyOS HAP. On a physical phone, verified release-to-confirm, cancellation, successful pinning and a cold launch into the Gomoku board from its desktop icon.
  • On the same physical phone, opened the existing Tank Battle and verified restart, movement, enemy spawning and player shots. Verified scoreboard increment/undo and a static HTML page. Tested sandbox startup failure reporting in the browser.
  • Reproduced the missing account key on the phone. After the fix, sign-in opened the authorization page. Credential entry was left to the account holder.
  • Tested on the local HarmonyOS phone. Remote scenarios were not exercised.

@wgqqqqq wgqqqqq changed the title fix(harmonyos): streamline mini app shortcut pinning and launch fix(harmonyos): repair GenUI games and sign-in, and streamline mini app shortcuts Nov 19, 2026
@wgqqqqq
wgqqqqq merged commit 3935665 into main Nov 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant