We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f0c5f commit 45b8d15Copy full SHA for 45b8d15
sdk/Notifo.SDK/Services/Settings.cs
@@ -7,6 +7,7 @@
7
8
using System;
9
using System.Collections.Generic;
10
+using System.Text.RegularExpressions;
11
using System.Threading;
12
using System.Threading.Tasks;
13
using Newtonsoft.Json;
@@ -17,7 +18,9 @@ namespace Notifo.SDK.Services
17
18
{
19
internal class Settings : ISettings
20
- private static readonly string SharedName = $"group.{AppInfo.PackageName}.notifo";
21
+ private static readonly string PrimaryPackageName = Regex.Replace(AppInfo.PackageName, @"\.([^.]*)ServiceExtension$", string.Empty);
22
+ private static readonly string SharedName = $"group.{PrimaryPackageName}.notifo";
23
+
24
private static readonly SemaphoreSlim Semaphore = new SemaphoreSlim(1, 1);
25
26
public string Token
0 commit comments