diff --git a/lib/controllers/unified_push.dart b/lib/controllers/unified_push.dart index 3097e6d..0e7d1aa 100644 --- a/lib/controllers/unified_push.dart +++ b/lib/controllers/unified_push.dart @@ -14,7 +14,7 @@ class UnifiedPushController extends AsyncNotifier { Future build() async { final registered = await UnifiedPush.initialize( linuxOptions: .new( - dbusName: "nexus.federated.nexus", + dbusName: "nexus.federated.nexus.UnifiedPush", storage: UnifiedPushStorageSharedPreferences(), background: isInBackground, ), diff --git a/linux/nix/devshell.nix b/linux/nix/devshell.nix index dd3c78e..8bc8641 100644 --- a/linux/nix/devshell.nix +++ b/linux/nix/devshell.nix @@ -45,7 +45,6 @@ pkgs.mkShell { GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride=${ANDROID_HOME}/build-tools/36.0.0/aapt2"; } // lib.optionalAttrs pkgs.stdenv.isLinux { - CPATH = lib.makeSearchPath "include" [ pkgs.glibc.dev ]; LD_LIBRARY_PATH = "./build/native_assets/linux:${lib.makeLibraryPath [ pkgs.zlib ]}"; }; } diff --git a/pubspec.lock b/pubspec.lock index 20e661e..4426c39 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1449,10 +1449,10 @@ packages: dependency: transitive description: name: unifiedpush_android - sha256: "2e6684e0a1a39ad8d6c7bc0d197954d50686acb1b1a7614b18ab0e0126f5492a" + sha256: a902e505e91c8e28b54b379bb27f255f66df409274a97af24d6719f12f0d13dc url: "https://pub.dev" source: hosted - version: "3.4.1" + version: "3.5.0" unifiedpush_linux: dependency: transitive description: @@ -1662,7 +1662,7 @@ packages: source: hosted version: "3.0.3" webcrypto: - dependency: transitive + dependency: "direct main" description: name: webcrypto sha256: "6b43001c4110856ff7fa5e5e65e7b2d44bec1d8b54a4d84d5fa2c7622267c5c1"