Flutter3, local_desktop_notifications on linux again #484
No reviewers
Labels
No Label
android
arch
backlog
blocked-on-external
bug
bugbash
component/bindings
component/bine
component/connectivity
component/cwtch
component/tapir
component/ui
cwtch-1.14
cwtch-1.15
cwtch-beta-1.1
cwtch-beta-1.10
cwtch-beta-1.11
cwtch-beta-1.12
cwtch-beta-1.13
cwtch-beta-1.2
cwtch-beta-1.3
cwtch-beta-1.4
cwtch-beta-1.5
cwtch-beta-1.5.x
cwtch-beta-1.6
cwtch-beta-1.7
cwtch-beta-1.8
cwtch-beta-1.9
design
duplicate
enhancement
flutter
funding-needed
help wanted
hybrid-groups
in-nightly
in-progress
invalid
ios
linux
mac
need-replication-or-investigation
ops
packaging
post-stable
question
questionable
requires-more-effort-than-we-can-spare
rust
scheduled
stable-blocker
tails
testing-needed
tests
tor
waiting-on-fix-confirmation
waiting-on-new-flutter-feature
whonix
windows
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/cwtch-ui#484
Loading…
Reference in New Issue
No description provided.
Delete Branch "flutter3_notify"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
a0f5473c57
toc66e3583ab
@ -176,6 +176,7 @@ class CwtchNotifier {
seenMessageCallback!(data["ProfileOnion"]!, identifier, DateTime.now().toUtc());
}
print("New Message from peer...");
delete
@ -129,0 +132,4 @@
// Cwtch can install in non flutter supported ways on linux, this code detects where the assets are on Linux
Future<String> detectLinuxAssetsPath() async {
delete or ?
now its being used! it was holding till it could be used
@ -129,0 +134,4 @@
// Cwtch can install in non flutter supported ways on linux, this code detects where the assets are on Linux
Future<String> detectLinuxAssetsPath() async {
//var devStat = FileStat.stat("assets");
//var localStat = FileStat.stat("data/flutter_assets");
delete or ?
@ -129,0 +138,4 @@
var homeStat = FileStat.stat((Platform.environment["HOME"] ?? "") + "/.local/share/cwtch/data/flutter_assets");
var rootStat = FileStat.stat("/usr/share/cwtch/data/flutter_assets");
/*if ((await devStat).type == FileSystemEntityType.directory) {
delete or ?
was stubbed out to test, reenabled
@ -148,3 +191,4 @@
}
Future<void> notify(String message, String profile, int conversationId) async {
print("notify if !globalAppState.focus so do? ${!globalAppState.focus}");
delete or EnvDebug
@ -151,1 +194,4 @@
print("notify if !globalAppState.focus so do? ${!globalAppState.focus}");
if (!globalAppState.focus) {
print("do notify!");
delete
@ -154,1 +201,4 @@
NotificationDetails(linux: LinuxNotificationDetails(suppressSound: true, category: LinuxNotificationCategory.imReceived(), icon: FilePathLinuxIcon(path.join(linuxAssetsPath, 'assets/knott.png')))),
payload: jsonEncode(NotificationPayload(profile, conversationId)));
print("done notify");
delete
@ -3,10 +3,14 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
screen_retriever
what is this about?
generated file, don't know
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/792
5fa6502460
to85d21299ff
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/793
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/795
2452f304ce
tod9acca7b1b
WIP: Flutter3, local_desktop_notifications on linux againto Flutter3, local_desktop_notifications on linux againDrone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/796
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/797