#146Ability to determine how far devices are to each other
Hello, I was wondering if there is a way to determine how far devices are to each other. To my understanding hype will automatically use whatever protocol/hardware available in my device to communicate with another device if both devices/instances can find each other on the network through NetworkObserver. Is there a way to find out how far they are to each other?
I'm trying to run the demo chat app in Swift and I keep getting the message "The device registration failed.".
Just before that, I see "NSURLConnection finished with error - code -1001" in the logs.
I also tried disabling app transport security and still can't get it to work.
Am I doing something wrong?
I've followed the steps provided on GitHub to set up the project and able to install the app on the real device.
> Added appIdentifier and accessToken.
YES, I have a working Internet connection. And tested on Mi-A1, Samsung Galaxy S6 edge+, Motorola Moto G XT1033.
When I open the App, It shows a dialog box with the following message.
Dialog Title: **Hype failed starting**
Dialog Message: **Suggestion: Please check your Internet connection. Description: The device registration failed. Reason: The HTTP request to the Hype server failed**
I followed all the steps for the HypeTwilioDemo, when running the app I get an error E/Twilio: Error retrieving channel:
The other error is: Fatal error while registering twilsock connection: 8: Message type list is empty
. July 13, 2018, 8:32 a.m.
#141Crash on iOS while sending a message to another device
It looks like the latest iOS framework is crashing while sending a message:
Any ideas about this?
In our iOS app, using the latest SDK (from last week), we often get the following notification from Hype:
- (void)hypeDidLoseInstance:(HYPInstance *)instance error:(HYPError *)error;
The error is: "The device became unreachable."
It is unclear why this would happen, since the devices are always on the same network, and always physically close to each other. The devices have both WiFi and Bluetooth enabled, and they're both running our app in the foreground. The error occurs whether or not Hype is being used.
Any ideas about this problem?
. July 2, 2018, 12:24 p.m.
Are you ready to build something great?
The Hype SDK creates peer-to-peer secure mesh networks between nearby devices, even without Internet.