edmofro
edmofro

Reputation: 312

Is Realm compatible with React Native 0.29?

Updating to React Native involves changing the application template as described in the release notes here https://github.com/facebook/react-native/releases/tag/v0.29.0

I have followed those instructions, but am unable to start the app (even after complete remove and reinstall). Get the following error:

FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring project ':app'.

    A problem occurred configuring project ':realm'. Could not resolve all dependencies for configuration ':realm:_debugCompile'. Could not find com.android.support:support-v4:23.2.1.

Is this my mistake somewhere, or is Realm not compatible with React Native 0.29? I note in the release notes they mention

Plugins which pass activity reference in the constructor need to be updated to extend ReactContextBaseJavaModule use getCurrentActivity to get the activity reference. This change is backward compatible.

Upvotes: 4

Views: 473

Answers (1)

edmofro
edmofro

Reputation: 312

I just needed to update my Android SDK - no compatability issues with Realm and RN 0.29!

Upvotes: 3

Related Questions