Comments (5)
On this case i think you made the correct decision, good luck. I cant wait for using nostros :D
from nostros.
I saw you want to manage the ws connections after a long inactivity time, with this library it is possible too, you can develop the logic and call connect/ close connection on each relay
from nostros.
Hi @arejula27, Nostros already does a limited use of nostr-tools
Initially I wanted to use it as base library of the app, but I ended up facing 2 main problems:
- nostr-tools implements a version of ECMAScript not compatible with Android. If I remember correctly, it requires 2021 and Android is limited to 2019.
- React-Native has a single thread to manage everything related to JS (views included), so doing an intensive use of background tasks (for example relays communication) affected really badly to the performance resulting even in the app completely freezing for seconds.
This is why I decided to re-implement everything that can be parallelized in Java, it was the only way to have a good performance.
from nostros.
Have you tried @jb55's nostr-js
?
from nostros.
Yes I did but it was missing some functions I needed, I assumed nostr-tools
was a most recent version and decide to go forward with the Java version. The main problem as I said is that the background jobs with JS affects a lot the UX
from nostros.
Related Issues (20)
- copy text in posts (feature req.) HOT 7
- Copy npup or nevent in Direct Message doesn't work
- Since the image has already been displayed, why should the link to the image be displayed again in text? HOT 2
- unable to view invoices HOT 5
- Label/Aliases for npubs with no set name HOT 3
- feature req. remove the anti-functions in izzyondroid HOT 4
- Support nip 46 Nostr Connect HOT 2
- IzzyOnDroid incomplete HOT 28
- IzzyOnDroid incomplete
- Nostros pasted from your clipboard HOT 2
- Include open source video player HOT 6
- Include open source QR reader HOT 8
- Android navigation bar HOT 3
- question on libraries used HOT 5
- Issues loading timelines and posting notes HOT 3
- App crash in DM section HOT 2
- Add nostros to standard F-Droid repo
- Lost my followers and contacts HOT 5
- Certificate issue HOT 11
- Accessibility: unlabeled buttons with talkback
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nostros.