Skip to Content

Fiori Client application fails on launch on iOS 13

HI All,

A working Fiori Client(on iOS 12) application crashes hard when it is installed on a phone with iOS 13. Come September, this will result in massive issues at corporations globally where the fiori app is used once users upgrade to iOS13.

This fiori client was built using cordova 8.5.2 on cordova-ios 4.5.5. I have tried rebuilding the app using latest cordova and cordova-ios on latest Xcode beta for iOS 13 but the problem persists. The fiori client has nothing changed other than the standard URL in app-config.js

Appreciate if someone knows how to get the fiori apps working on iOS 13 and what is the right version mix to get this running. Issue seems to be with kapsel plugins mostly because other cordova based apps using a few of the kapsel SDK plugins run fine on iOS 13 without requiring a rebuild.

Add a comment
10|10000 characters needed characters exceeded

  • Hello! We have same problem. In console we see next log:

    2019-08-19 16:56:17.510196+0300 SAP[990:231710] IAB.close() called but it was already closed.

    2019-08-19 16:56:17.510220+0300 SAP[990:231710] IAB.close() called but it was already closed.

    2019-08-19 16:56:17.524753+0300 SAP[990:231710] Failed to load webpage with error: Не удалось завершить операцию. (NSURLErrorDomain, ошибка -999)

    2019-08-19 16:56:17.526246+0300 SAP[990:231710] Resetting plugins due to page load.

    2019-08-19 16:56:17.526294+0300 SAP[990:231710] IAB.close() called but it was already closed.

    2019-08-19 16:56:17.526314+0300 SAP[990:231710] IAB.close() called but it was already closed.

    2019-08-19 16:56:17.619699+0300 SAP[990:231935] NSURLConnection finished with error - code -1100

    2019-08-19 16:56:17.666047+0300 SAP[990:231958] NSURLConnection finished with error - code -1100

    2019-08-19 16:56:17.756305+0300 SAP[990:231946] NSURLConnection finished with error - code -1100

    2019-08-19 16:56:17.817036+0300 SAP[990:231943] NSURLConnection finished with error - code -1100

    2019-08-19 16:56:17.931728+0300 SAP[990:231710] Finished load of: file:///var/containers/Bundle/Application/8541A08C-CFDF-491A-B884-23F80BAA629B/SAP.app/www/index.html


    and nothing after that. Any ideas?

  • I'm having the same issue. I re-built our custom fiori client using the latest SAP Mobile Platform SDK version 3.1, with version 9.0.0 of Cordova and version 5.0.0 of the iOS platform for Cordova.

    When I try to debug the re-built app on my ios 13 phone through Xcode, I see the following exception message:

    *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unable to read data from legacy data vault during migration. No further info is available.'

    I'm able to run the re-built app on an ios 12 device without any issues.

Related questions

6 Answers

  • Posted on Sep 26, 2019 at 06:58 AM

    Hi Takao

    SAP has provided a solution for this. There will be an update to KapselSDK and new version should have the fix. However, if you do not want to wait for the new version. Please do the below mentioned change.

    Open file CDVWKInAppBrowser.m

    Find line 1136 and comment it like below

    // if (@available(iOS 13.0, *)){
    [[[[UIApplication sharedApplication] delegate] window] makeKeyAndVisible];
    // };

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2019 at 07:39 AM

    Hi Pratha, new OS releases are supported from the day when they're officially released. The development teams are continuously testing with the new OS Betas. You can read our approach in KBA: 2531786 - SMP SDKs and SCP SDKs approach to newer 3rd party OS releases (iOS, Android, Windows)

    Add a comment
    10|10000 characters needed characters exceeded

    • Sumit, SMP SDK 3.1 Kapsel SDK SP02 PL08 supports iOS13.

      Peter, Cloud Build and HAT are not yet compatible with iOS 13. The dev teams of these products will probably need some more time then what we have until the new iOS release. I suggest to stay on iOS 12 with these products.

      The support service itself is however ongoing, which is meaning that you can create tickets (MOB-CLD-BLD, CA-WDE-MOB, MOB-SDK-KAP, MOB-FC) about these incompatibility issues.

  • Posted on Aug 27, 2019 at 03:47 PM

    We have some iOS apps that are developed using SMP SDK 3.1.3( Kapsel logon plugin 4.1.8) and SAP UI5 1.52.8 libraries giving the same error. I tested our apps on iPadOS 13 beta 8.

    I also noticed that the SAP delivered "SAP Fiori" Client app has the same issue.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 04, 2019 at 12:18 PM

    I added the “ClienthubEntitlements” Entitlement in one of our app and it seems that it resolved the issue.

    The SAP help for login plugin mentions to add the “ClienthubEntitlements” Entitlement. For some reason it worked without it so far.

    https://help.sap.com/doc/d9c75eebcfa840c8a4aa4b0e6a8136de/3.0.15/en-US/7c1d34ac70061014a3f4901d8070ec76.html

    Add a comment
    10|10000 characters needed characters exceeded

    • Thank you for posting this. Adding the clienthubEntitlements helped me get past the data vault issue I was having. The re-built fiori_client app with latest kapsel SDK now opens and does not crash, but only displays a white page. When I run the same app on an ios 12 device it functions correctly. I tried building the app with cordova@9.0.0 with 5.0.1 of the ios platform, and also with cordova@8.0.0 with version 4.5.5 of the ios platform and in both cases it just displays the blank white screen. The output in Xcode and the console in the Safari web inspector don't provide any error messages that might explain this issue.

      The version of the SAP Mobile Platform SDK I used to build the fiori_client app is Kapsel SDK 3.1 SP02 PL7. We are connecting through our SAP Mobile Platform Server, which enables the user to login to the app using touch ID after supplying their user name and password on the initial login.

  • Posted on Sep 11, 2019 at 06:07 PM

    A new version of the Kapsel SDK is available effective today, September 11 2019. The version is SMP Kapsel SDK 3.1 SP02 PL08. I rebuilt our fiori client app with this version and it works on the iOS 13 beta! Unfortunately, it doesn't work with iOS 12 any more. Also the release notes state that this version will not function with iOS 13.1, and another Kapsel SDK version that works on iOS 13.1 will be coming in the "near future".

    For iOS 12, the app launches and allows login to Fiori. But once the home page is displayed, the app appears frozen, the UI doesn't respond to any tapping or scrolling.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Garret / Chandan,

      I am also facing the same issue. I have downloaded the Kapsel SDK 3.1 SP02 PL8, and it is working fine with iOs 13. However, the first launch of the application for iOs 12 and below, freeze on the login screen / initial page. But, after re-launching the application, it is now working fine.

      Has anyone resolve the issue?

      Regards,

      Takao Baltazar

  • Posted on Oct 02, 2019 at 07:30 PM

    Hi Partha,

    We are also facing the same issue. The applications SAP UI5 deployed on Portal Service is crashing in Fiori Client on iOS Device mostly in mobile.

    Everything works fine when we use Mobile browser or desktop browser but it is the Fiori Client on iPhone is giving error.

    Any response is very much appreciated.

    Thanks,

    Ravi Shankar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.