kivy / kivy/python-for-android

unpackData is not called on service restart after MY_PACKAGE_REPLACED

Abierto
#2,327 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
8.9k
Forks
2k
Merge medio
12 h 20 min
PR fusionados (30 d)
9

Descripción

There is currently no call to `unpackData` when a `PythonService` is started in the background, as a response to `MY_PACKAGE_REPLACED` intent (on app background update). This leaves restarted service running out-of-date bytecode.

Sample code for `MY_PACKAGE_REPLACED` receiver: [MyBroadcastReceiver](https://github.com/kivy/kivy/wiki/Starting-Kivy-App-and-Service-on-bootup-on-Android)

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Read the MY_PACKAGE_REPLACED receiver example and trace how a background-started PythonService is launched. Locate the service-restart path and existing unpackData calls, then verify that the restarted service refreshes bytecode after an app update.

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

Evaluación

Stack tecnológico
android, python
Área
mobile-dev
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.