Http methods on Apple Watch using System.Net.Http

2 posts, 0 answers
  1. madamx
    madamx avatar
    3 posts
    Member since:
    May 2018

    Posted 05 Jul 2018 Link to this post

    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 
  2. Lance | Principal TSE
    Admin
    Lance | Principal TSE avatar
    1043 posts

    Posted 05 Jul 2018 Link to this post

    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
Back to Top