This is a migrated thread and some comments may be shown as answers.

Http methods on Apple Watch using System.Net.Http

1 Answer 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
madamx
Top achievements
Rank 1
madamx asked on 05 Jul 2018, 09:10 AM
Hello there - I am looking for a way to do basic Http requests on the Apple Watch, preferably (but not necessarily) using System.Net.Http
I know you guys would like to see some code, but I am convinced that the issue lies elsewhere
When run on the simulator the Http requests works perfectly. But when it is run on a physical Apple Watch the app always 'crashes' instantly. 
The app also 'crashes' if I surround the call using try/catch. I suspect that the app is not being crashed by a flaw in the code, but rather that the app is being suspended by the Apple Watch OS.
Maybe I need to fill in some entitlements for the Apple Watch to perform web calls?
Have anyone had any success performing web calls on an Apple Watch using Xamarin? Any pointers would be greatly appreciated 

1 Answer, 1 is accepted

Sort by
0
Lance | Senior Manager Technical Support
Telerik team
answered on 05 Jul 2018, 04:44 PM
Hi Madamx,

Telerik UI for Xamarin doesn't have any custom HttpClient implementations that can assist you with this, this forum is specific to issues surrounding the Telerik UI for Xamarin components.

I recommend posting this question on one of the following communities so that the overall Xamarin dev community can assist.

- StackOverflow (stackoverflow.com)
- XamarinChat Slack (visit xamarinchat.herokuapp.com to be invited automatically)
- Xamarin Forums (forums.xamarin.com)

Good luck!

Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
madamx
Top achievements
Rank 1
Answers by
Lance | Senior Manager Technical Support
Telerik team
Share this question
or