π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] register platform channel router
Priyanshu Dangare3604cc8e2538
diff --git a/mobile/apps/photos/plugins/ente_photos_platform/android/src/main/kotlin/io/ente/photos/platform/PhotosPlatformPlugin.kt b/mobile/apps/photos/plugins/ente_photos_platform/android/src/main/kotlin/io/ente/photos/platform/PhotosPlatformPlugin.ktindex 4cce8e9769..d74ed15e94 100644--- a/mobile/apps/photos/plugins/ente_photos_platform/android/src/main/kotlin/io/ente/photos/platform/PhotosPlatformPlugin.kt+++ b/mobile/apps/photos/plugins/ente_photos_platform/android/src/main/kotlin/io/ente/photos/platform/PhotosPlatformPlugin.kt@@ -1,20 +1,20 @@package io.ente.photos.platform-import io.ente.photos.platform.flutter.DeviceHealthChannelAdapter+import io.ente.photos.platform.flutter.PhotosPlatformChannelRouterimport io.ente.photos.platform.flutter.ProcessLockChannelAdapterimport io.flutter.embedding.engine.plugins.FlutterPluginclass PhotosPlatformPlugin : FlutterPlugin {- private val deviceHealthAdapter = DeviceHealthChannelAdapter()+ private val channelRouter = PhotosPlatformChannelRouter()private val processLockAdapter = ProcessLockChannelAdapter()override fun onAttachedToEngine(binding: FlutterPlugin.FlutterPluginBinding) {- deviceHealthAdapter.attach(binding)+ channelRouter.attach(binding)processLockAdapter.attach(binding)}override fun onDetachedFromEngine(binding: FlutterPlugin.FlutterPluginBinding) {- deviceHealthAdapter.detach()+ channelRouter.detach()processLockAdapter.detach()}}