Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the library in react native app does not work #27

Open
3assy2018 opened this issue May 1, 2024 · 1 comment
Open

Using the library in react native app does not work #27

3assy2018 opened this issue May 1, 2024 · 1 comment

Comments

@3assy2018
Copy link

Description:

I used the standard code to initialize wave on my local machine, and it worked.
Meanwhile, copying the same code and running it in a react native application does not seem to work at all.
I am using endpoint to customise my URL, and I see in the queue worker with every load for the application I get Qruto\Wave\Events\SsePingEvent triggered in the queue.
All didn't work, and the Echo.error method gets triggered with event value of undefined in the callback.

Steps To Reproduce:

  • Initialise React native app
  • Install the package
  • Connect to a server with laravel-wave installed, and events configured
  • Run the app
  • Wave does not connect successfully.
@slavarazum
Copy link
Contributor

Hello! I'm sorry to hear you're having trouble to integrate Wave, for React native.
Personally, I'm not working with React native, however Echo and Wave are just JavaScript libraries which should work in any compatible environment.

In order to help you, I need the specifics of the problem you are experiencing regarding the Wave library itself.

I recommend that you format your bug report in more detail.

P.S. This article and the quote describe well the principles that will help successful collaboration in such issues.

https://open.substack.com/pub/thorstenball/p/the-basics?selection=544ad9d6-59f1-4208-9e44-4611b5f53c97&utm_campaign=post-share-selection&utm_medium=web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants