Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13949

New Realm Java UI thread checks not documented

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Realm
    • None

    Description

      Description

      Realm Java 10.0.0 introduced checks for whether queries and transactions are executed on the UI thread. This does not seem to have propagated into the documentation at https://realm.io/docs/java/latest#writes

      CHANGELOG

      https://github.com/realm/realm-java/blob/master/CHANGELOG.md

      API Reference for Queries and transactions

      https://realm.io/docs/java/10.0.0/api/io/realm/RealmQuery.html

      https://realm.io/docs/java/10.0.0/api/io/realm/Realm.html#executeTransaction-io.realm.Realm.Transaction-

      And opt-in configuration for preventing exeptions

      https://realm.io/docs/java/10.0.0/api/io/realm/RealmConfiguration.Builder.html#allowQueriesOnUiThread-boolean-

      https://realm.io/docs/java/10.0.0/api/io/realm/RealmConfiguration.Builder.html#allowWritesOnUiThread-boolean-

       

       

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            nathan.contino@mongodb.com Nathan Contino (Inactive)
            claus.rorbech@mongodb.com Claus Rørbech
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 14 weeks, 5 days ago