How to install APK update in Android Kiosk Mode using Flutter without closing the app?

4 hours ago 1
ARTICLE AD BOX

I am building a Flutter-based Android kiosk application.

My application runs in kiosk/lock task mode and communicates with a local server.
The flow is:

Flutter app starts in kiosk mode

App hits an API periodically

API returns whether a new APK update is available

Flutter downloads the new APK successfully

The issue is during installation.

Since the device is in kiosk mode, the app cannot be closed normally, and Android blocks leaving the app screen.
I want to:

Download and install the new APK automatically

Keep the kiosk experience active

Avoid manually exiting kiosk mode

Ideally, keep the application operational during the update

Support unattended updates on enterprise devices/tablets

Businesses do not allow MDM or any internet connectivity, only local vpn

Questions:

How can I install a newly downloaded APK while the app is running in kiosk mode?

Is it possible to update the app silently without closing it?

Can this be achieved from Flutter only, or is native Android code required?

What is the recommended enterprise approach for this scenario?

I am currently using:

Flutter

Android kiosk mode (Lock Task Mode)

Method channels for native Android integration

Local API server for update management

Any guidance, architecture suggestions, or production-grade approaches would be appreciated.

Read Entire Article