Giter Club home page Giter Club logo

Comments (6)

cecilphillip avatar cecilphillip commented on May 17, 2024 1

Respectfully, there really should be a layer between your database and your mobile app to mitigate security issues.

Just my opinion though...

from rethinkdb.driver.

bchavez avatar bchavez commented on May 17, 2024

Hi Samuel,

Thanks for raising the issue. I really appreciate it. Are you trying to install the driver reference part of a Xamarin mobile project?

From the error message, it seems like the the Xamarin project is probing for a portable version of the driver:

portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10

We don't ship or support portable driver references for mobile devices. Although, this might change in the future due to some recent changes in RethinkDB 2.3 with user authentication support. rethinkdb/rethinkdb#5461 rethinkdb/rethinkdb#5406

If you're looking to build a stock mono app with Xamarin Studio installing the driver reference should work. I think the proper setup project is listed under "Other Project Items / Mono / MonoMac" somewhere in the new project setup screen.

Also, I'm currently on vacation so I won't be back at work until sometime around April 25th. I apologize for the delay.

Thanks,
Brian

from rethinkdb.driver.

samukbg avatar samukbg commented on May 17, 2024

Thanks for the reply, I appreciate it.

Exactly I thought that this driver could work with a Xamarin.Forms PCL project that i am working on, but is there any work around to make it work? Or any RethinkDB C# driver that could work with PCL project (I didn't find any yet)?

Have a nice vacation btw

Thanks,
Sam

from rethinkdb.driver.

bchavez avatar bchavez commented on May 17, 2024

Hi Samuel,

I'm not aware of any C# RethinkDB driver that can work with PCL projects.

I don't see an immediate workaround for this driver except to actually target PCL and see what breaks. My guess is TcpClient, some concurrent data structures, and threading issues might need to be resolved. Most of the cross platform code we have now is in CrossPlatform.cs with all the preprocessor directives for .NET Core and Full Framework.

We have a "getting started" driver development guide that should help in case you want to compile the driver manually: https://github.com/bchavez/RethinkDb.Driver/wiki/Getting-Started

Hope that helps!
Brian

from rethinkdb.driver.

amazingalek avatar amazingalek commented on May 17, 2024

I am having the same issue when trying to use RethinkDb.Driver in a Xamarin PCL project. I would greatly appreciate an update to support authentication and PCL support. Looks like authentication is already implemented in the Java version? Keep up the great work! :)

from rethinkdb.driver.

bchavez avatar bchavez commented on May 17, 2024

Alrighty, so ... @samukbg , @aleksanderwaagr, @mehmetafsinyuce (UWP): I don't know if this will work and solve your issues, but RethinkDb.Driver is now compatible with netstandard1.3 which according to this chart _should_ make Xamarin Platform light up.

No guarantees tho... ⚠️ phones may burn up into piles of ashes! 🔥 🚒 😎

netstandard1.3 bits are here: RethinkDb.Driver v2.3.2-beta-1

And if it works, hit that close button with vengeance! 👍

Burn it down: https://www.youtube.com/watch?v=dxytyRy-O1k

from rethinkdb.driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.