kivy / kivy/python-for-android

unpackData is not called on service restart after MY_PACKAGE_REPLACED

Ouverte
#2,327 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
8.9k
Forks
2k
Merge moyen
12 h 20 min
PR mergées (30 j)
9

Description

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)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, python
Domaine
mobile-dev
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.