Skip to content

Commit ae0f975

Browse files
committed
docs: soften exitLiveActivity deprecation message
1 parent 7783648 commit ae0f975

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/create-release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
echo "✓ Updated pubspec.yaml version to ${NEW_VERSION}"
160160
161161
# Update podspec version
162-
sed -i '' "s|s.version = '[^']*'|s.version = '${NEW_VERSION}'|" ios/onesignal_flutter.podspec
162+
sed -i '' "s|s\.version[[:space:]]*=[[:space:]]*'[^']*'|s.version = '${NEW_VERSION}'|" ios/onesignal_flutter.podspec
163163
echo "✓ Updated ios/onesignal_flutter.podspec version to ${NEW_VERSION}"
164164
165165
# Update android build.gradle version

lib/src/liveactivities.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class OneSignalLiveActivities {
2020
///
2121
/// Only applies to iOS.
2222
@Deprecated(
23-
'This API is no longer supported and will be removed in a future release.')
23+
'Currently unsupported, avoid using this method.')
2424
Future<void> exitLiveActivity(String activityId) async {
2525
if (defaultTargetPlatform == TargetPlatform.iOS) {
2626
return await _channel.invokeMethod(

0 commit comments

Comments
 (0)