I made the server and client parts. I used BaseUrl with https://. I did it from the description of your help "Quickstart". Everything worked fine for Windows, Mac OS. But when creating an application for iOS, when I click on the authorization button (as in the example) - nothing happens at all. It does not redirect to the browser. What am I doing wrong? Do I need to add something for the client on iOS?
Can you be more specific at what URL doesn't work? Which "authorization button" are you referring to, exactly?
You can't open the login form, or after the login is processed, you are not redirected to the original app?
Everything is very simple. I took your help as a basis. I just threw one button and one memo on the form. As in your example. When I click on the button, the program should open a browser, where I should enter my login and password. I just tried it even in Android. Everything works (and in Windows and Mac OS too). It doesn't work only in iOS. That is, when I click on the button, nothing happens at all. I took the example from here: Quickstart | TMS Sphinx documentation
I wonder if you can simply launch a browser from your iOS application? Can you please try to execute the following code and see if it works:
uses
MacApi.ObjectiveC, MacApi.ObjcRuntime, MacApi.Helpers,
iOSApi.Foundation,
iOSApi.UIKit;
...
var AUrl := 'https://www.tmssoftware.com';
TUIApplication.Wrap(TUIApplication.OCClass.sharedApplication)
.openURL(TNSURL.Wrap(TNSURL.OCClass.URLWithString(StrToNSStr(AUrl))));
Does it launch a web browser with TMS Software site?
At the same time, the application works on the simulator on iOS!
Yes, I can reproduce it here. Looks like iOS 18 deprecated the way we were launching the browser in iOS. We have fixed this in the meanwhile. Fix will be included in next release.
Thank you. Great news! I have another question about adding a translation (new language) via a JSON file. Who can I forward it to?
You can open a new topic here at Support Center and send it there. If you really prefer to send a private message you can click my name and click "Message" so send me a direct message.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.