Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Feature request] Exit / close function for code apps (like Power Fx Exit())

Abierto
#498 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
api

Línea de trabajo

Start by reading the public API for @microsoft/power-apps/app and the existing host integration described in the issue; the repository files and tests are not named here. Clarify how the SDK can request host actions in both the mobile app and browser player, including sign-out. Done means an exit API returns the user to the app list in both environments and supports the requested sign-out behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

Describe the bug

Canvas apps can return the user to the app list with Exit() (and sign out with Exit(true)). Code apps have no equivalent: @microsoft/power-apps 1.5.0 only offers getContext, setConfig, data access and telemetry. Inside the player the app is a cross-origin iframe, so it can't close itself or navigate the host.

Request: add exit(options?: { signOut?: boolean }) to @microsoft/power-apps/app that asks the host to close the app — in the Power Apps mobile app back to the app list, in the browser player the same behaviour as canvas Exit().

Why: mobile-first code apps (bottom navigation) need an explicit "Exit app" action; the Android back button walks back page by page through the app's history first. Shared devices need Exit(true) for sign-out.

Environment information

  • pa 1.3.0, @microsoft/power-apps 1.5.0, Power Apps Android app.
  • CodeApp used via Power Apps Android Mobile App
Lenguaje dominante
TypeScript
Estrellas
516
Forks
145
Merge medio
23 h 41 min
PR fusionados (30 d)
18

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/PowerAppsCodeApps

Todos los issues de microsoft/PowerAppsCodeApps

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.