cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Client application fails on launch on iOS 13

former_member476212
Discoverer
0 Kudos

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.

former_member428189
Discoverer
0 Kudos

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.

0 Kudos

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?

Accepted Solutions (0)

Answers (6)

Answers (6)

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];
// };

0 Kudos

This solution works. The first time you log in to the application it does not freeze with iOS less than 13.

Thank you Chandan Singh,

takaobaltazar
Explorer
0 Kudos

Hi Chandan, It worked! But is there a way or work around, to make it work as well in iOs 13.1?

[Edit] - It is now working from iOs 13.1 and below. Thank you so much Chandan! The reason why it is not working in iOs 13.1 a while ago, is because i am running the app from xCode to a device. But when it was deployed to the client store, or using diawi, it is working fine.

Thank you Chandan!

former_member637940
Discoverer
0 Kudos

Hi Chandan,

Would you know what will be the fix with Kapsel SDK version 3.0.10.0?

In my Kapsel SDK version, there's no CDVWKInAppBrowser.m file only CDVInAppBrowser.m.

We'd like to reduce effort for updating the app. Updating our in-house custom fiori client to new Kapsel SDK will take time.

Thank you.

0 Kudos

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

former_member428189
Discoverer
0 Kudos

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.

nwesseling
Explorer
0 Kudos

And where can I find the SMP Kapsel SDK 3.1 SP02 PL08?

former_member428189
Discoverer
0 Kudos

Here's how I find it:

  1. Navigate to https://launchpad.support.sap.com/#/softwarecenter/support/index
  2. Click on the "M" folder.
  3. Click on the SAP Mobile Platform SDK folder.
  4. Click on the SAP Mobile Platform SDK 3.1 folder.
  5. Click on the Kapsel SDK 3.1 item.
  6. The top zip file is the Kapsel SDK 3.1 SP02 PL8, dated September 11, 2019.

I don't have permission to download the file. A member of our Basis team downloads it for me.

0 Kudos

Hi Garret

I am facing the same issue. The App works on iOS13. However, it is just frozen on iOS12. Were you able to resolve this? Also, iOS13.1 is now out but there is no update on Kapsel SDK. Have you had any update from SAP on that?

Best Regards

Chandan Singh

takaobaltazar
Explorer
0 Kudos

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

ggunturu
Participant
0 Kudos

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/7c1d34ac70061014a3f4901d8070e...

former_member428189
Discoverer
0 Kudos

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.

ggunturu
Participant
0 Kudos

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.

grabz
Employee
Employee
0 Kudos

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)

0 Kudos
Akos Grabecz, I have Fiori client app and I am getting app crash issue on SMP SDK 3.1 SP02 PL02.Can you please suggest which version of SAP Mobile Platform (SMP) SDK supports ios 13?
pvannest
Participant
0 Kudos

hi Akos,

We build our custom fiori client using the mobile cloud build service. Can we expect the same?Meaning, day one support...

thanks

Peter

grabz
Employee
Employee
0 Kudos

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.