diff --git a/lyrebird_ios/device_service.py b/lyrebird_ios/device_service.py index cd60ae4..a81a80e 100644 --- a/lyrebird_ios/device_service.py +++ b/lyrebird_ios/device_service.py @@ -73,10 +73,10 @@ def publish_devices_info_event(self, online_devices, app_name): app_info = device_info.get_app_info(app_name) if app_info.get('AppName'): message_info['app'] = { - 'name': app_info['AppName'], + 'appName': app_info['AppName'], 'version': app_info['VersionNumber'], 'build': app_info['BuildNumber'], - 'bundleID': app_info['BundleID'] + 'packageName': app_info['BundleID'] } except Exception: _log.error('Can\'t read app info') diff --git a/setup.py b/setup.py index 875b5a1..8000472 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='lyrebird-ios', - version='0.2.5', + version='0.2.6', packages=['lyrebird_ios'], url='https://github.com/meituan/lyrebird-ios', author='HBQA',