Realm-js: AndroidX Support

Created on 12 Jul 2019  Â·  8Comments  Â·  Source: realm/realm-js

Goals

We need AndroidX support in order to use realm.js on RN 0.60+

O-Community T-Duplicate

Most helpful comment

Hi @kneth! Thanks for the response. The biggest concern is not being able to deploy Android apps because of the new requirements (64-bit compatability and AndroidX) starting on August 1st. So for things like my team, it's less the desire to upgrade RN 0.60+ for new features and more to ensure we don't get blocked from being able to release new versions of our app.

Thank you for your time and consideration. We are happy to post feedback on alpha/beta builds if they are made available.

All 8 comments

@zek I don't know yet what it will require to support RN 0.60 and AndroidX - and can't give you an ETA for it. Said that, yes, it is definitely something we will look into.

Hi @kneth! Thanks for the response. The biggest concern is not being able to deploy Android apps because of the new requirements (64-bit compatability and AndroidX) starting on August 1st. So for things like my team, it's less the desire to upgrade RN 0.60+ for new features and more to ensure we don't get blocked from being able to release new versions of our app.

Thank you for your time and consideration. We are happy to post feedback on alpha/beta builds if they are made available.

Need to have it ASAP

There shouldn't be anything in Realm-JS that depends on the support library. This is the build.gradle file that ships for React Native: https://github.com/realm/realm-js/blob/master/react-native/android/publish_android_template#L92

@zek What are you seeing that makes you believe that Realm-JS doesn't work with AndroidX?

I tried it rn 0.60 while Hermes was activated. I got building error.

On 28 Jul 2019 Sun at 16:45 Christian Melchior notifications@github.com
wrote:

There shouldn't be anything in Realm-JS that depends on the support
library. This is the build.gradle file that ships for React Native:
https://github.com/realm/realm-js/blob/master/react-native/android/publish_android_template#L92

@zek https://github.com/zek What are you seeing that makes you believe
that Realm-JS doesn't work with AndroidX?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/realm/realm-js/issues/2451?email_source=notifications&email_token=AA2NQ6ZBXUY674E3HYNZKMDQBWPHPA5CNFSM4IB3GI6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26676A#issuecomment-515764216,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2NQ67TSPESLCVYSLQJARLQBWPHPANCNFSM4IB3GI6A
.

I tried it rn 0.60 while Hermes was activated. I got building error.

Disable Hermes.

Yes, Realm currently doesn't work with Hermes. See https://github.com/realm/realm-js/issues/2455

Therefore we should close this issue and continue on #2455

Was this page helpful?
0 / 5 - 0 ratings