AAMfP, (edited )
@AAMfP@fosstodon.org avatar

Hi folks at @briar @delta and @Jami .
I need your help and hints, please.

Can I (easily) embed one of your communication protocols in a React Native + TypeScript app?

I'm creating an app (TKCompanionApp at @fdroidorg) that is currently as strong in privacy as possible (no permissions at all, not even Internet!), but I would like to allow users to directly share data and I'm wondering which is the simplest way to do so, respecting their privacy.

delta,
@delta@chaos.social avatar

@AAMfP @briar @fdroidorg @Jami Yes you can, our desktop client is react + typescript for example. There are two libraries to use our rust core:

  1. the old CFFI bindings: https://github.com/deltachat/deltachat-core-rust/tree/main/node (docs: https://js.delta.chat )
  2. the new jsonRPC bindings: https://github.com/deltachat/deltachat-core-rust/tree/main/deltachat-jsonrpc

You can find examples here: https://github.com/deltachat-bot/echo/

AAMfP,
@AAMfP@fosstodon.org avatar

@delta
Thank you!! 🫶🏻
@briar @fdroidorg @Jami

treefit,
@treefit@fosstodon.org avatar

@AAMfP @delta @briar @fdroidorg @Jami though note that the rust core is a native dependency, so you would need to make a react native plugin to use it, you can look at our android client code and ask us if you need help with that.

AAMfP,
@AAMfP@fosstodon.org avatar

@treefit
Thanks for the note!
@delta @briar @fdroidorg @Jami

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • DreamBathrooms
  • modclub
  • tacticalgear
  • GTA5RPClips
  • magazineikmin
  • thenastyranch
  • Youngstown
  • InstantRegret
  • rosin
  • slotface
  • everett
  • mdbf
  • cubers
  • JUstTest
  • ngwrru68w68
  • normalnudes
  • cisconetworking
  • Durango
  • khanakhh
  • Leos
  • ethstaker
  • tester
  • anitta
  • osvaldo12
  • megavids
  • provamag3
  • lostlight
  • All magazines