<commit_before>import { NativeModules } from 'react-native';
import DeviceInfo from 'react-native-device-info';

const { getVersion, getSystemName, getSystemVersion } = DeviceInfo;

export default !NativeModules.RNDeviceInfo ?
  '' :
  `ZulipMobile ${getVersion()} (${getSystemName()} ${getSystemVersion()})`;<commit_msg>Fix user-agent to matches other apps format Fixes #257<commit_after>import { NativeModules } from 'react-native';
import DeviceInfo from 'react-native-device-info';

const { getVersion, getSystemName, getSystemVersion } = DeviceInfo;

export default !NativeModules.RNDeviceInfo ?
  '' :
  `ZulipMobile/${getVersion()} (${getSystemName()} ${getSystemVersion()})`;
{'fraction_non_alphanumeric': 0.14202049780380674, 'fraction_numerical': 0.004392386530014641, 'mean_word_length': 6.953488372093023, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2189570', 'n_tokens_mistral': 203, 'n_tokens_neox': 210, 'n_words': 46}