In order to uninstall the mSpy app from a device, you can follow the guide below:
IOS devices:
Go to Cydia > Installed > press IphoneInternalService > Modify > Delete
Android devices:
Go to Settings > Security > Device administrators > Update service > Disable > Go back to Settings > Applications > Update service > Uninstall