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 1625e8a..2c6ba10 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -77,10 +77,10 @@ packages: dependency: transitive description: name: archive - sha256: be169cf6ac481e052c4538715d88841d567150dfe1df38aaec76461a4e7b39f2 + sha256: ace891da0862b0e4cabbb064ee3fd87b2728b898949fdb366d83fe98342c9f19 url: "https://pub.dev" source: hosted - version: "4.1.0" + version: "4.2.0" args: dependency: transitive description: @@ -253,10 +253,10 @@ packages: dependency: transitive description: name: cross_file - sha256: "92c9c43c383bfa1c32079d3bc492d55d6d4318044b7b47edaff8971cbb555c51" + sha256: f141ea4f277af142a0356955707f6556f37b03947d39d55585981a06ca437bd6 url: "https://pub.dev" source: hosted - version: "0.3.5+4" + version: "0.3.5+5" crypto: dependency: transitive description: @@ -277,10 +277,10 @@ packages: dependency: transitive description: name: cupertino_ui - sha256: "7ed8ce4159d342eec4c65f4ea6eec57adaf9365404378541f38efc1da20a5b3d" + sha256: "2137c0d41f3b62cc4d3d2495e6c354bd6b6133cd21c6bb155736cc31dbd49a11" url: "https://pub.dev" source: hosted - version: "1.0.0" + version: "1.0.1" dart_style: dependency: transitive description: @@ -891,10 +891,10 @@ packages: dependency: "direct main" description: name: material_ui - sha256: "4f3f38b9953df0a87d6bf5f21880029f77c47048487d5339410c39936be4683b" + sha256: "7ba1ca315d50a004791dbab290417c52a61466d56db2822fe3c5c2994903110c" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.1.0" measure_size: dependency: "direct main" description: @@ -1521,10 +1521,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: @@ -1734,7 +1734,7 @@ packages: source: hosted version: "3.0.3" webcrypto: - dependency: transitive + dependency: "direct main" description: name: webcrypto sha256: "6b43001c4110856ff7fa5e5e65e7b2d44bec1d8b54a4d84d5fa2c7622267c5c1" diff --git a/pubspec.yaml b/pubspec.yaml index 520cb91..9159199 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -78,13 +78,14 @@ dependencies: package_info_plus: 10.2.1 app_links: 7.2.1 file_selector: 1.1.0 - material_ui: 1.0.1 - unifiedpush: ^6.2.0 - unifiedpush_storage_shared_preferences: ^1.0.0 + material_ui: 1.1.0 + unifiedpush: 6.2.0 + unifiedpush_storage_shared_preferences: 1.0.0 dev_dependencies: build_runner: 2.16.0 flutter_lints: 6.0.0 + webcrypto: 0.6.0 freezed: 4.0.0 riverpod_lint: 3.1.8 flutter_launcher_icons: 0.14.4