Watermelondb: null is not an object (evaluating 'NativeDatabaseBridge[MethodName]')

Created on 13 May 2020  路  2Comments  路  Source: Nozbe/WatermelonDB

Hi guys,
Getting error of null is not an object (evaluating 'NativeDatabaseBridge[MethodName]') watermelnodb on ios simulator 11.1
but for android simulator watermelondb installation is working.
Screenshot 2020-05-13 at 4 12 52 PM

Checked on other issues: [mostly related to header file in ios ]
That is already added.

Tried to use command pod install
getting error
Screenshot 2020-05-13 at 4 05 00 PM

Any idea?

All 2 comments

i don't think you correctly set up native code as per the instructions - seems like the native module is unavailable

@radex Thank you for your reply.
Previously I used autolink to link watemelondb with Xcode. When I Changed it with the manual process. It worked fine.

Xcode - 11.2.1
Screenshot 2020-05-29 at 3 27 21 PM

I faced another issue after this: https://github.com/Nozbe/WatermelonDB/issues/674
solution: npm uninstall react-native-flipper. Remove react-native-flipper from your project.

I hope, it can help someone.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mikebeyer picture mikebeyer  路  7Comments

bsr203 picture bsr203  路  6Comments

radex picture radex  路  6Comments

MikeWoots picture MikeWoots  路  5Comments

impactcolor picture impactcolor  路  4Comments