realm / realm-java

Realm is a mobile database: a replacement for SQLite & ORMs
http://realm.io
Apache License 2.0
11.47k stars 1.75k forks source link

ARC Welder support #1011

Open softkot opened 9 years ago

softkot commented 9 years ago

Using realm in android project to run application on most recent google chrome ARC Welder technology produce crash with log log_message: Trying to execute non-executable code at 0x0 called from (libtightdb-jni.so+0x89b09)

It would be nice to run smoothly android+realm applications natively with ARC Welder.

iflatness commented 9 years ago

I believe this may be related to #619, or at least last I checked that was also an issue

bmunkholm commented 9 years ago

No the issues is simply that ARC Welder requires us to rebuild the binaries with specific ARC Welder support. Every place where we use OS calls (like mmap()), they have to be replaced with ARC Welder library calls instead. It's not a light task.

mpost commented 9 years ago

@bmunkholm arcwelder is not a runtime environment it is just the tool to wrap the android apk with. From what i have gathered you would also have to make sure to support 64bit when running on a 64bit os.

And of course i would also be very interested in supporting chrome. :)

petersnoopy commented 9 years ago

I also find it would be nice to create Chrome-Apps with Realm!

haggerty-william commented 8 years ago

Are there any plans for supporting arc apps in the near future?

cmelchior commented 8 years ago

Hi @haggerty-william No, not at this time. We are continuously evaluating the order we implement features depending on user feedback, and so far this feature hasn't been that highly requested compared to others.

haggerty-william commented 8 years ago

That's a shame. For anyone who would want their Android app to work on ChromeOS when ARC is production ready, this is a deal breaker.

simc commented 8 years ago

Please consider supporting Chrome apps I really need that :/ Thank you!

ZakTaccardi commented 8 years ago

this is the sole reason I am not using Realm

haggerty-william commented 8 years ago

same here. I converted my companies app from sqlite to realm and then had to revert everything.

bmunkholm commented 8 years ago

Feel free to use the (new) +1 emoji in the top description so we can assess the popularity of this request.
Thanks!

lionelatrecisio commented 7 years ago

Have you made a decision about ARC? Since ARC will be deployed to many chromebooks, it would be a good idea to support ARC :)

Zhuinden commented 7 years ago

It could be a problem if Realm doesn't run on Chromebooks that run Android https://support.google.com/chromebook/answer/7021273?hl=en

ZakTaccardi commented 7 years ago

I'd close this issue with the full support for the play store on Chromebooks

arunkrishna2992 commented 7 years ago

As more Chromebooks are enabled with Google Play, now is a great time to support arc welder for realm.

vishna commented 7 years ago

Can anyone confirm Chromebook + Realm is indeed broken or is it just ARC Welder on Mac/Windows/Linux?