diff --git a/android/app/build.gradle b/android/app/build.gradle
index 8aa8b755..8ca97b18 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -85,6 +85,7 @@ dependencies {
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
implementation "net.zetetic:android-database-sqlcipher:4.4.0" // needed for moor_ffi w/ sqlcipher
+ implementation 'com.github.UnifiedPush:android-connector:1.0.0-beta3' // needed for unifiedpush
}
if(file("google-services.json").exists()){
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index a26dd12c..3411808c 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -74,6 +74,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
(context, listen: false);
}
-class MatrixState extends State {
- Client client;
+class MatrixState extends State with WidgetsBindingObserver {
+ FluffyClient client;
Store store = Store();
@override
BuildContext get context => widget.context;
+ BackgroundPush _backgroundPush;
+
Map get shareContent => _shareContent;
set shareContent(Map content) {
_shareContent = content;
@@ -75,15 +78,7 @@ class MatrixState extends State {
final StreamController