python-for-android icon indicating copy to clipboard operation
python-for-android copied to clipboard

unpackData is not called on service restart after MY_PACKAGE_REPLACED

Open mzakharocsc opened this issue 5 years ago • 0 comments

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

mzakharocsc avatar Sep 30 '20 15:09 mzakharocsc