SyncConfiguration - ErrorHandler

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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 López Gutiérrez (Inactive)
            Reporter:
            Christian Melchior (Inactive)
            Archiver:
            Marc Greenfield

              Created:
              Updated:
              Resolved:
              Archived: