Giter VIP home page Giter VIP logo

realm-browser's People

Contributors

degill avatar dmytrodanylyk avatar jacobmuchow avatar jonasrottmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

realm-browser's Issues

Proguard issue

I get the following error when trying to build with minify enabled

Warning: de.jonasrottmann.realmbrowser.models.view.ModelsActivity: can't find referenced class de.jonasrottmann.realmbrowser.models.ModelsContract$SortMode

I have the rules in my proguard file as instructed

# Realm Browser -keep class de.jonasrottmann.realmbrowser.* { *; } -keep class android.support.v7.widget.SearchView { *; } -keep class android.support.v7.view.** { *; }

What am I doing wrong?

Confusing toast error on encrypted realm files

Small thing I noticed. Adding encryption to the Realm file and not adding the correct configuration causes this toast to show up:

Can't open realm instance. You must close all open realm instances before opening this file.

Probably best to catch the specific realm exception for this situation to prevent any confusion.

Compatibility broke since Realm 0.91.0

Since Realm v0.91.0 all deprecated methods were remove. This is particular bad for the method DynamicRealm#allObjects used by the realm-browser. As such, the content of realm-tables can not be viewed, the app rather crashes.

This is concerning.

Cannot use custom RealmConfiguration

You cannot access the Realm by creating a new RealmConfiguration that differs from the one used to open the Realm file earlier. To make this library broadly useful, we should be passing in a RealmConfiguration, not a filename.

  java.lang.IllegalArgumentException: Configurations cannot be different if used to open the same file. 
                                                               Cached configuration: 
                                                               realmFolder: /data/user/0/.../files
                                                               realmFileName : filename
                                                               canonicalPath: /data/data/.../files/filename
                                                               key: [length: 0]
                                                               schemaVersion: 0
                                                               migration: null
                                                               deleteRealmIfMigrationNeeded: true
                                                               durability: FULL
                                                               schemaMediator: io.realm.DefaultRealmModuleMediator@537edaba

                                                               New configuration: 
                                                               realmFolder: /data/user/0/.../files
                                                               realmFileName : filename
                                                               canonicalPath: /data/data/.../files/filename
                                                               key: [length: 0]
                                                               schemaVersion: 0
                                                               migration: null
                                                               deleteRealmIfMigrationNeeded: false
                                                               durability: FULL
                                                               schemaMediator: io.realm

Follow relationships

It would be nice to be able to follow a relationship and open the related object in its class.

Selection of fields to show do not persist

When changing the selection of fields to show for a given class, that selection will not be persisted and reset to default values when viewing that given class again.

It would be nice if such a selection can be made permanent.

Build fails if App uses FileProvider

Merging Errors: 
Error: Attribute provider#android.support.v4.content.FileProvider@authorities value=(...) from (unknown) is also present at AndroidManifest.xml:14:13-64 value=(de.jonasrottmann.realmbrowser). Suggestion: add 'tools:replace="android:authorities"' to <provider> element at AndroidManifest.xml:72:9-80:20 to override. app develop manifest 
Error: Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/filepaths) from (unknown) is also present at AndroidManifest.xml:19:17-64 value=(@xml/realm_browser_filepaths). Suggestion: add 'tools:replace="android:resource"' to <meta-data> element at AndroidManifest.xml to override. app develop manifest

Android Oreo not supported

Hi,

It seems that Android Oreo is not supported.
The app run fine but the realm browser notification doesn't appear.
Can someone confirm this issue ?

Thanks. I hope I will still be able to use this amazing tool for debugging in the future !

Compatible with AndroidX

When I click on the one row of table, I get this error:

Could not find class 'androidx.core.widget.NestedScrollView$AccessibilityDelegate', referenced from method androidx.core.widget.NestedScrollView.<clinit>

This error is about this line and is related to AndroidX, because realm-browser is not use AndroidX

Fixed with:

-keep class androidx.core.widget.NestedScrollView {*;}

Conflics with realm version

Hi,

just followed the readme :

debugCompile('com.github.jonasrottmann.realm-browser:realm-browser:v0.0.9') {
    exclude group: 'com.android.support'
}
testCompile('com.github.jonasrottmann.realm-browser:realm-browser-no-op:v0.0.9') {
    exclude group: 'com.android.support'
}
releaseCompile('com.github.jonasrottmann.realm-browser:realm-browser-no-op:v0.0.9') {
    exclude group: 'com.android.support'
}

but got this :

Error:Conflict with dependency 'io.realm:realm-android-library' in project ':myproject'. Resolved versions for app (3.1.2) and test app (3.0.0) differ. See http://g.co/androidstudio/app-test-app-conflict for details.
Error:Conflict with dependency 'io.realm:realm-annotations' in project ':myproject'. Resolved versions for app (3.1.2) and test app (3.0.0) differ. See http://g.co/androidstudio/app-test-app-conflict for details.

Could you do something not to get errors when realm version is different ?

edit : Between 3.0.0 and 3.1.2 they have done a migration, maybe that's why it's conflicting ?
I made it work with realm 3.0.0, thank you sooooo much for this ! So usefull for people without an OSX ๐Ÿ‘

Allow sharing of the/all realm files

It would be nice to have a share button to export the/all actual realm files to be able to view them within the realm-browser desktop client.

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.