Skip to content

Commit

Permalink
Merge pull request #2836 from BlueBubblesApp/development
Browse files Browse the repository at this point in the history
v1.14.0 hotfix 1
  • Loading branch information
zlshames authored Nov 7, 2024
2 parents e07a990 + 92d3cee commit ec70b21
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.Service
import android.content.pm.ServiceInfo.FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING
import android.content.Context
import android.content.Intent
import android.util.Log
import android.os.Build
import android.os.IBinder
import androidx.core.app.NotificationCompat
import androidx.core.app.ServiceCompat
import com.bluebubbles.messaging.Constants
import com.bluebubbles.messaging.R
import com.bluebubbles.messaging.services.backend_ui_interop.DartWorkManager
Expand Down Expand Up @@ -69,9 +71,11 @@ class SocketIOForegroundService : Service() {

// Create notification for foreground service
createNotificationChannel()
startForeground(
ServiceCompat.startForeground(
this,
Constants.foregroundServiceNotificationId,
createNotification(DEFAULT_NOTIFICATION)
createNotification(DEFAULT_NOTIFICATION),
FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING
)

// if the service is enabled, but the server URL is missing, update the notification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class _SendAnimationState
);
_message.generateTempGuid();
outq.queue(OutgoingItem(
type: (_message.attributedBody.isNotEmpty) ? QueueType.sendMultipart : QueueType.sendMessage,
type: (_message.attributedBody.isNotEmpty && !ss.isMinSonomaSync) ? QueueType.sendMultipart : QueueType.sendMessage,
chat: controller.chat,
message: _message,
));
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: Send iMessages on Android using BlueBubbles!
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

version: 1.14.0+67
version: 1.14.0+69
publish_to: none

environment:
Expand Down

0 comments on commit ec70b21

Please sign in to comment.