Giter Club home page Giter Club logo

Comments (10)

radi-cho avatar radi-cho commented on June 4, 2024

Yeah, I got the following error when run gradlew assembleRelease:

FATAL EXCEPTION: mqt_native_modules
  Process: com.rsg.chess, PID: 6237
  java.lang.RuntimeException: java.util.concurrent.ExecutionException:
  Unable to load script from assets 'threads/._index.thread.bundle'.
  Make sure your bundle is packaged correctly or you're running a packager server.

Highlight: threads/._index.thread.bundle

Can you suggest how to fix it? @Traviskn

from react-native-threads.

Traviskn avatar Traviskn commented on June 4, 2024

Hi @radi-cho, can you show me your javascript code that is creating the thread? I suspect you may need to remove the leading ./ from your thread name. Apologies for the confusion, I probably need to update the example app and documentation

from react-native-threads.

Traviskn avatar Traviskn commented on June 4, 2024

The code that is replacing / with _ is in this file: https://github.com/joltup/react-native-threads/blob/master/android/src/main/java/com/reactlibrary/RNThreadModule.java#L61
I haven't gotten around to refactoring this code, but if removing this code that is changing the file path get's your app working we'd love to have a PR 😃

from react-native-threads.

radi-cho avatar radi-cho commented on June 4, 2024

image
Hello! Sorry about that but I made my own thread solutin because I had no time to wait your fix or response. However I like this package pretty much and it's good that you still maintain it. If you have not enough time for managing project like this another users, like me can stop using it and migrate to something else... So...

If you want you can grant write access to RSG Group and we will help with the maintenance 😃 😄 😀

Also please try to help to the other waiting people:

from react-native-threads.

Traviskn avatar Traviskn commented on June 4, 2024

react-native-threads is used in production every day in Jolt's applications. It works quite well for us and we maintain it primarily to meet the needs of our software. It is challenging to prioritize the time to field support questions here in Github, especially when not enough details are provided (such as a code sample replicating the error).

If users like yourself are able to find or create better solutions, that is great. The fact that you were able to re-implement your own solution within 10 days is pretty impressive! While we aren't wanting to give write access to developers outside of Jolt at this time, we are always open to pull requests.

from react-native-threads.

radi-cho avatar radi-cho commented on June 4, 2024

Great, thanks!

from react-native-threads.

radi-cho avatar radi-cho commented on June 4, 2024

Also can new developers join joltup?

from react-native-threads.

Traviskn avatar Traviskn commented on June 4, 2024

The Joltup Github organization at this time is for employees of Jolt, so getting hired would be the way to join

from react-native-threads.

AareFabrik avatar AareFabrik commented on June 4, 2024

Hello,

I had the same issue. For production the ./ will get translated to ._

Please update the example app and the docs. For now it is not possible to have the index.thread.bundle file in a folder. It has to be in the rootDirectory.

from react-native-threads.

Traviskn avatar Traviskn commented on June 4, 2024

The latest release fixes this issue, sorry it took me so long to get to it! example app and docs should work as expected, particularly android in release mode

from react-native-threads.

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.