Open aboozaid opened 6 years ago
@iotashan @Friendly-Robot @thibmaek if anyone could help
Have you tried registering the event listeners? Sometimes devices aren't detected again after they disconnect. For me personally, I used both advertise-browse
at the same time so broadcasting and detecting would happen near simultaneously. Maybe try that. With the available event listeners and especially the 'receivedMessage' listener, a whole flow of coordinations can be set up so that advertisers would not know about browsers that aren't advertising and vice versa. Hope that helps!
I also recommend looking at the source code in the android/ios folders for a fuller comprehension of what's going on. It's actually pretty straight forward. Im leaving the country tonight so might not be able to reply. Best of luck!
Does anyone solve this? i get empty array instead. @assemmohamedali @Friendly-Robot
First I have made a simple app to test this library I have two buttons one the first to advertise to make that first mobile shows to another and so the second for another device to discover (I still didn't know the idea I'm just testing) so the problem is nothing happens 👎 (I can't be able to see anything either advertise nor discover device)
This my simple code below: ` export default class App extends Component {
constructor() {
} getNearbyPeers(peers) {
} render() {
} }