For distinguishing between Nextcloud and ownCloud we (android dev team, https://github.com/nextcloud/android/issues/188) need a proper way. I suggest to add this to status.php. Remaining problem is, that this will only work for new server versions and not for existing ones.