I want to start a procedure when the user's device starts

I want to start a procedure when the user’s Android Device switches on, like a background task. I’m using the FloatingView extension along with this, such that I want to display the shortcut via FloatingView extension when the device is switched on.

I’ve already got everything set-up for the FloatingView extension, and now I only need to display it when the device starts.

How can I do this?

This may help : ItoO - Background Tasks [special] 🥳