Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Apr 8, 2024
2 parents 37783ad + a3458bf commit 4e65f26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
using Android.Bluetooth;

namespace Shiny.BluetoothLE;
namespace Shiny.BluetoothLE;


public record AndroidConnectionConfig(
bool AutoConnect = true,
GattConnectionPriority ConnectionPriority = GattConnectionPriority.Balanced
Android.Bluetooth.GattConnectionPriority ConnectionPriority = Android.Bluetooth.GattConnectionPriority.Balanced
) : ConnectionConfig(
AutoConnect
);
2 changes: 1 addition & 1 deletion src/Shiny.Logging.Sqlite/Shiny.Logging.Sqlite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsVersion)" />
<PackageReference Include="sqlite-net-pcl" Version="1.9.141-beta" />
<PackageReference Include="sqlite-net-pcl" Version="1.9.172" />
</ItemGroup>

</Project>
4 changes: 3 additions & 1 deletion src/Shiny.Push/Platforms/Android/AndroidPushNotification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ public NotificationCompat.Builder CreateBuilder()

if (not != null)
{
// TODO: config OR click_action
var intent = new Intent(not.ClickAction ?? ShinyPushIntents.NotificationClickAction);
foreach (var item in this.NativeMessage.Data)
intent.PutExtra(item.Key, item.Value);

var pendingIntent = PendingIntent.GetActivity(
this.Platform.AppContext,
99,
Expand Down

0 comments on commit 4e65f26

Please sign in to comment.