Uploaded image for project: 'Realm Kotlin'
  1. Realm Kotlin
  2. RKOTLIN-291

SyncConfiguration - ErrorHandler

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      See https://github.com/realm/realm-kotlin/issues/195

       

      Similar to Realm Java we should expose a Sync Session error handler

      SyncConfiguration.Builder(user, partition)
        .errorHandler(handler: SyncSession.ErrorHandler)
        .build()
      
      // Java interface
      public interface ErrorHandler {
          void onError(SyncSession session, AppException error);
      }

      See also https://github.com/realm/realm-kotlin/issues/415

       

       

       

       

            Assignee:
            eduardo.lopezgutierrez@mongodb.com Eduardo López Gutiérrez (Inactive)
            Reporter:
            christian.melchior@mongodb.com Christian Melchior (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: