Giter Site home page Giter Site logo

Comments (7)

sureshjoshi avatar sureshjoshi commented on August 19, 2024

+1

from stetho-realm.

sureshjoshi avatar sureshjoshi commented on August 19, 2024

@Dragas Are you still running into this? Have you seen what might be causing it? I'm running into it too, and I'll start trying to debug it this weekend - but in the meantime if there is something you're running into that's obvious, it could be helpful.

from stetho-realm.

Dragas avatar Dragas commented on August 19, 2024

@sureshjoshi I still am running into it, but I didn't see anything else that looked obvious. Looking into other issues, #35 seems to be related as I'm getting the same downward arrow, signaling that database was expanded, without actual tables in it. Adding name parameter hides the default.realm table.

Then again, I didn't look much into it since debugging contents of the database wasn't my project's priority. Others who upvoted this issue seem to be running into it as well.

from stetho-realm.

sureshjoshi avatar sureshjoshi commented on August 19, 2024

So, I found one problem. It's how the Realm instance is being opened (a little bit roundabout right now). However, essentially, if you have a named Realm instance, it will fail to open. If you remove the name of your database (keeping with the default.realm file) it will work.

This also poses a problem when you have multiple databases - as only one will get opened, but the data will display as the same for both.

from stetho-realm.

sureshjoshi avatar sureshjoshi commented on August 19, 2024

@Dragas You can check out my PR to see how I got around this:

  1. Change the database params to getName() from getPath()
  2. Use only the default.realm, instead of named Realms

from stetho-realm.

cknibbe avatar cknibbe commented on August 19, 2024

+1

from stetho-realm.

zaki50 avatar zaki50 commented on August 19, 2024

I've released 2.1.0 that contains the fix.
I'll close this issue.

from stetho-realm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.