From b8c5a3713cd7212f46b891576b0d21954290526b Mon Sep 17 00:00:00 2001 From: yumiguan <41277086+yumiguan@users.noreply.github.com> Date: Mon, 3 Jun 2019 20:20:12 +0800 Subject: [PATCH] v0.2.6 bugfix/change device info in event bus (#25) * fix getting package name error * fix --- lyrebird_ios/device_service.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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',