Does swiping from recent app screen kill the foreground service? I have read certain posts and done by myself and i found that on my device android kitkat 4.4.4 when i swipe the app from recent screen the foreground service doesn't stop, So does this behavior present on every version of android os or in some version foreground services are killed ?
Yes, this clear the App from the RAM(memory). This is valid from the Android 5.0+.
The foreground services are definitely stopped if executing. Same does not affect any background services if any running.