Quoted By:
How to spoof in Android 7 / post march google security patch
>root your phone (magisk, supersu) (if you can't do it you don't deserve the benefits of spoofing)
>download and install GoGPS (theappninja is the developer)
>move app to system (PRIV-APP folder), you can do this by moving the folder from DATA or with lucky patcher
>unroot if supersu, if magisk then just activate magisk hide
There you go.