-
Notifications
You must be signed in to change notification settings - Fork 11
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
Documentation update #2
Comments
I just realized that nothing has changed in this fork except the metadata :) so I would assume it still has the same problem as the plugin from the main repo... Not a bugger, I'll try to repack the plugin to match capacitor 3+imports. If you do so in the meantime, please let me know not to waste the time on the same thing. thanks |
@panksi Did you ever make this compatible with capacitor 3? (Or find anything else that already is?) |
After much trial and error, I've been able to get this plugin to work with react (admittedly not Vue but hopefully the general steps will work for you too). Once you install the plugin, a couple of set up steps:
Then, use it as below: First, you have to import it as: Then, create a socket and bind it to a port:
Then set up listeners or send stuff:
Something like this. |
Sorry for the late reply bro, for me it turned out that the complete Java part of the app (opening the socket for Android) was missing, so I abandoned the experiment. Maybe this from comment bellow will work... |
Hi,
an example of how the plugin is instanced and how it works would be nice. ex. now I have this issue:
And dunno what to do with it :)
I am using the latest Ionic with VUE and the latest Capacitor
please help, thanks upfront
The text was updated successfully, but these errors were encountered: