diff --git a/lib/pods/activity/activity_rpc.dart b/lib/pods/activity/activity_rpc.dart index 037c9f0d..075d087b 100644 --- a/lib/pods/activity/activity_rpc.dart +++ b/lib/pods/activity/activity_rpc.dart @@ -395,7 +395,12 @@ final rpcServerStateProvider = final label = data['args']['activity']['details'] ?? 'Unknown'; final appId = socket.clientId; try { - await setRemoteActivityStatus(ref, label, appId); + await setRemoteActivityStatus( + ref, + label, + appId, + data['args']['activity'], + ); } catch (e) { developer.log( 'Failed to set remote activity status: $e', @@ -435,6 +440,7 @@ Future setRemoteActivityStatus( Ref ref, String label, String appId, + Map meta, ) async { final apiClient = ref.read(apiClientProvider); await apiClient.post( @@ -445,6 +451,7 @@ Future setRemoteActivityStatus( 'is_automated': true, 'label': label, 'app_identifier': appId, + 'meta': meta, }, ); } diff --git a/pubspec.yaml b/pubspec.yaml index ecbe2211..5638622b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 3.2.0+132 +version: 3.2.0+133 environment: sdk: ^3.7.2