Mobile app development

Hi, I’ve added a custom handler to the mobile view by following the article https://academy.creatio.com/docs/8.x/mobile/mobile-development/customiz…. Everything works great, but I’ve run into a few issues:

  • I would like to make web service requests. Unfortunately, I couldn't find any equivalent to sdk.HttpClientService (from the desktop @creatio-devkit/common) inside @creatio/mobile-common. At the same time, I’m not sure how-or if it's even possible-to access the user context so I can retrieve the instance credentials and construct an authenticated request to Creatio.
  • I’m trying to read a system setting value, but it always returns null. No amount of synchronization, cache clearing, etc., seems to help. Here is the code I'm using:
const sysSettings = new sdk.SysSettingsService();
const siteUrl = sysSettings.getValueByCode('SiteUrl');
  • What is the best way to handle error logging on iOS? I tried using Logger.console('test'), but it doesn't work at all.

 

Like 2

Like

0 comments
Show all comments