working registration

This commit is contained in:
Henry Hiles 2026-08-25 17:30:55 -04:00
commit 30ca08d911
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 4 additions and 5 deletions

View file

@ -14,7 +14,7 @@ class UnifiedPushController extends AsyncNotifier<bool> {
Future<bool> build() async { Future<bool> build() async {
final registered = await UnifiedPush.initialize( final registered = await UnifiedPush.initialize(
linuxOptions: .new( linuxOptions: .new(
dbusName: "nexus.federated.nexus", dbusName: "nexus.federated.nexus.UnifiedPush",
storage: UnifiedPushStorageSharedPreferences(), storage: UnifiedPushStorageSharedPreferences(),
background: isInBackground, background: isInBackground,
), ),

View file

@ -45,7 +45,6 @@ pkgs.mkShell {
GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride=${ANDROID_HOME}/build-tools/36.0.0/aapt2"; GRADLE_OPTS = "-Dorg.gradle.project.android.aapt2FromMavenOverride=${ANDROID_HOME}/build-tools/36.0.0/aapt2";
} }
// lib.optionalAttrs pkgs.stdenv.isLinux { // lib.optionalAttrs pkgs.stdenv.isLinux {
CPATH = lib.makeSearchPath "include" [ pkgs.glibc.dev ];
LD_LIBRARY_PATH = "./build/native_assets/linux:${lib.makeLibraryPath [ pkgs.zlib ]}"; LD_LIBRARY_PATH = "./build/native_assets/linux:${lib.makeLibraryPath [ pkgs.zlib ]}";
}; };
} }

View file

@ -1449,10 +1449,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: unifiedpush_android name: unifiedpush_android
sha256: "2e6684e0a1a39ad8d6c7bc0d197954d50686acb1b1a7614b18ab0e0126f5492a" sha256: a902e505e91c8e28b54b379bb27f255f66df409274a97af24d6719f12f0d13dc
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.4.1" version: "3.5.0"
unifiedpush_linux: unifiedpush_linux:
dependency: transitive dependency: transitive
description: description:
@ -1662,7 +1662,7 @@ packages:
source: hosted source: hosted
version: "3.0.3" version: "3.0.3"
webcrypto: webcrypto:
dependency: transitive dependency: "direct main"
description: description:
name: webcrypto name: webcrypto
sha256: "6b43001c4110856ff7fa5e5e65e7b2d44bec1d8b54a4d84d5fa2c7622267c5c1" sha256: "6b43001c4110856ff7fa5e5e65e7b2d44bec1d8b54a4d84d5fa2c7622267c5c1"