0

I have an simple android app written using Xamarin. At start up time it tries to do certain REST calls to an backend. This works fine in my emulator and when I usb debug on my S7. But when I try to deploy using hockeyapp every single api call seems to fail.

I have looked through the manifest files, and the INTERNET permission is set.

Anyone have any ideas?

phantom
  • 7
  • 2
  • Are you getting a specific error when it fails? – hvaughan3 May 31 '16 at 00:17
  • It seeems that the HTTPGet messages are working but not HTTPPost. Is there some kind of encoding that is changed? – phantom May 31 '16 at 07:49
  • Just saw a similar thread where GET worked and POST did not. That had to do with HTTPS urls and self-signed certs. Have you tested the app in release mode on an emulator or only in debug mode? – hvaughan3 May 31 '16 at 12:29
  • Yes, now that i tried the release build cant connect neither. And when I deployed debug build using hockeyapp it works. Question is how to fix this? We are not using any HTTPS urls only plain http. – phantom May 31 '16 at 14:20
  • Is there any difference between the release URLs and the debug URLs? What about differences between your android project properties in debug and release? – hvaughan3 May 31 '16 at 14:39
  • Found the error. was linking both sdk and user libs in release. when just linking to sdk it works like a charm. – phantom May 31 '16 at 15:59
  • Good stuff! Glad you figured it out – hvaughan3 May 31 '16 at 17:07

0 Answers0