🚀 Launch 3.2.0+133
This commit is contained in:
@@ -395,7 +395,12 @@ final rpcServerStateProvider =
|
|||||||
final label = data['args']['activity']['details'] ?? 'Unknown';
|
final label = data['args']['activity']['details'] ?? 'Unknown';
|
||||||
final appId = socket.clientId;
|
final appId = socket.clientId;
|
||||||
try {
|
try {
|
||||||
await setRemoteActivityStatus(ref, label, appId);
|
await setRemoteActivityStatus(
|
||||||
|
ref,
|
||||||
|
label,
|
||||||
|
appId,
|
||||||
|
data['args']['activity'],
|
||||||
|
);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
developer.log(
|
developer.log(
|
||||||
'Failed to set remote activity status: $e',
|
'Failed to set remote activity status: $e',
|
||||||
@@ -435,6 +440,7 @@ Future<void> setRemoteActivityStatus(
|
|||||||
Ref ref,
|
Ref ref,
|
||||||
String label,
|
String label,
|
||||||
String appId,
|
String appId,
|
||||||
|
Map<String, dynamic> meta,
|
||||||
) async {
|
) async {
|
||||||
final apiClient = ref.read(apiClientProvider);
|
final apiClient = ref.read(apiClientProvider);
|
||||||
await apiClient.post(
|
await apiClient.post(
|
||||||
@@ -445,6 +451,7 @@ Future<void> setRemoteActivityStatus(
|
|||||||
'is_automated': true,
|
'is_automated': true,
|
||||||
'label': label,
|
'label': label,
|
||||||
'app_identifier': appId,
|
'app_identifier': appId,
|
||||||
|
'meta': meta,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@@ -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
|
# 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
|
# 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.
|
# 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:
|
environment:
|
||||||
sdk: ^3.7.2
|
sdk: ^3.7.2
|
||||||
|
Reference in New Issue
Block a user