Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find any Realms #128

Open
simonkarmy opened this issue Sep 20, 2023 · 3 comments
Open

Cannot find any Realms #128

simonkarmy opened this issue Sep 20, 2023 · 3 comments

Comments

@simonkarmy
Copy link

simonkarmy commented Sep 20, 2023

Any Idea why I cannot see any realms
Screenshot 2023-09-20 at 11 18 13 PM

initializing realm on db.ts

const config: BaseConfiguration = {
  schema: [DayEntryDAO],
  schemaVersion: 1,
  path: 'testing_realm',
};
export const realm = new Realm(config);

Adding it on the App.tsx

return (
    <GestureHandlerRootView style={{ flex: 1 }}>
      <RealmPlugin realms={[realm]} />
      <SafeAreaProvider>
          <Routes />
      </SafeAreaProvider>
    </GestureHandlerRootView>
  );

Knowing that console.log(realm.path); show this output

/Users/userme/Library/Developer/CoreSimulator/Devices/F5D6A9FC-C607-4BFB-870F-93DF5B1B0FA7/data/Containers/Data/Application/50BC9C07-EEF5-484E-89EB-C2C421A8E082/Documents/testing_realm

Packages info
"realm-flipper-plugin-device": "^1.1.0",
"realm": "^12.1.0",
"react-native": "0.71.4",

Note that no error message on the logs and saving/loading data from the realm working normally, only it is not visible on Flipper

@jimjam88
Copy link

I'm having the same problem. Reading and writing to my realms without any issues - Flipper just can't see the realms.

However, I am seeing an error message in the Flipper logs:

"unhandledrejection" event intercepted: {message: "Receiver getRealms not found."}

Installed packages:

"react-native-flipper": "^0.212.0",
"realm-flipper-plugin-device": "^1.1.0",

Flipper UI Version: 0.221.0

@andrefelipeschulle
Copy link

andrefelipeschulle commented Oct 9, 2023

same problem here...
using realm v12

@hpelitebook745G2
Copy link

hpelitebook745G2 commented Oct 22, 2023

If you open Troubleshoot > Open Logs and you'd get these errors:
Error: Unable to send receivedCurrentQuery to realm, connection error: Error: flipper-server: timeout for command 'client-request-response'
or
flipper realm "receiver getrealms not found."

In my case, I try any of these steps:

  • Restart Flipper
  • Clear or refresh
Screenshot 2023-10-23 at 1 55 22 AM
  • Last resort is delete this folder /Users/<user>/Library/Application Support/Flipper
  • Or click More > Settings > "Reset all local storage based state" and restart Flipper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants