AdamTyler / react-dice-complete

Complete dice rolling functionality and animations
http://adam-tyler.com/react-dice-complete
ISC License
79 stars 26 forks source link

Need react-dice-complete Library for React Native #3

Closed amourya-systango closed 4 years ago

amourya-systango commented 7 years ago

Can you please provide react-dice-complete library for react native.

Thanks

AdamTyler commented 7 years ago

Is this something you are still looking for? I might have some free time soon to look into this

gHashTag commented 7 years ago

@AdamTyler Please Adam, it is very necessary, otherwise you have to do it through webview.

StuartMorris0 commented 6 years ago

@AdamTyler @gHashTag How do you get this working without it? I get the following:

Failed to load bundle(http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false) with error:(Unable to resolve module react-dice-complete/dist/react-dice-complete.css from PATHTOAPPFILE: Module react-dice-complete/dist/react-dice-complete.css does not exist in the Haste module map

AdamTyler commented 4 years ago

@StuartMorris0 converting this library to be used in React Native isn't a trivial change. I will have to rewrite large portions of the code. I've started to try and see how far I get but don't know if I'm going to take the time necessary to do so.

VED-StuartMorris commented 4 years ago

Thanks @AdamTyler I had to come up with a different solution, so we basically had an image of a dice that we animated, generated the end result, and ensured the end result image matched the dice number expected. Etc...

AdamTyler commented 4 years ago

React Native support is beyond the scope of this project