How to access location for "always"?

Hi devs!
I have access to the location when in use.
So, how to get access location for “always” like “Swarm”.

Maybe https://github.com/christocracy/cordova-plugin-background-geolocation