ā2025 Jan 15 11:16 AM - edited ā2025 Jan 15 11:20 AM
we are facing an issue with the SAP Mobile Services Client application. The app is crashing frequently, and we receive the error message: "Mobile Svcs keeps stopping".
Request clarification before answering.
@Riyaz_abdul please validate the original issue with recent release of MDK client (25.6) and let us know if you still experience the same problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tested the original issue with the latest MDK client version 25.6, and I can confirm that I am not facing the issue anymore. Everything seems to be working fine in the recent release.
Thank you for the update and support.
@Riyaz_abdul I was able to reproduce the issue and have informed the team to investigate further.
It appears to be caused by a missing title value in an object cell, which prevents the image in the Avatar from being handled properly on Android. However, I donāt see any issues on iOS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Riyaz_abdulCould you share the page metadata so I can understand exactly what you've tried?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jitendra_Kansal78,Thank you for your response! Here is the page metadata I am using:
{
"Controls": [
{
"FilterFeedbackBar": {
"ShowAllFilters": false,
"_Type": "Control.Type.FilterFeedbackBar"
},
"_Type": "Control.Type.SectionedTable",
"_Name": "SectionedTable",
"Sections": [
{
"Header": {
"_Type": "SectionCommon.Type.Header",
"_Name": "SectionCommonTypeHeader0",
"AccessoryType": "None",
"UseTopPadding": false
},
"Separators": {
"TopSectionSeparator": false,
"BottomSectionSeparator": true,
"HeaderSeparator": true,
"FooterSeparator": true,
"ControlSeparator": true
},
"_Type": "Section.Type.ObjectTable",
"Target": {
"EntitySet": "Supplier_table",
"Service": "/mdk_mqbid/Services/Myservice.service",
"QueryOptions": ""
},
"_Name": "SectionObjectTable0",
"Visible": true,
"EmptySection": {
"Caption": "No record found!",
"FooterVisible": false
},
"ObjectCell": {
"ContextMenu": {
"Items": [],
"PerformFirstActionWithFullSwipe": true,
"LeadingItems": [],
"TrailingItems": [],
"_Type": "ObjectCell.Type.ContextMenu"
},
"Title": "{title}",
"Subhead": "{doc_id}",
"Footnote": "{main_invitationId}",
"Description": "{invitationId}",
"StatusText": "{smvendor_id}",
"SubstatusText": "{phone_main}",
"PreserveIconStackSpacing": false,
"AccessoryType": "DisclosureIndicator",
"Tags": [],
"AvatarStack": {
"Avatars": [
{
"Image": ""
}
],
"ImageIsCircular": false
},
"Icons": [],
"OnPress": "/mdk_mqbid/Actions/Myservice/Supplier_table/NavToSupplier_table_Detail.action",
"_Type": "ObjectTable.Type.ObjectCell",
"Selected": false
},
"Search": {
"Enabled": true,
"Placeholder": "Item Search",
"BarcodeScanner": true,
"Delay": 500,
"MinimumCharacterThreshold": 3
},
"DataPaging": {
"ShowLoadingIndicator": true,
"LoadingIndicatorText": "Loading more items, please wait..."
},
"HighlightSelectedItem": false
}
],
"LoadingIndicator": {
"Enabled": true,
"Text": "Loading, please wait..."
}
}
],
"_Type": "Page",
"_Name": "Supplier_table_List",
"ActionBar": {
"Items": [
{
"_Type": "Control.Type.ActionBarItem",
"_Name": "ActionBarItem0",
"Caption": "",
"SystemItem": "Add",
"Position": "Right",
"IsIconCircular": false,
"OnPress": "/mdk_mqbid/Actions/Myservice/Supplier_table/NavToSupplier_table_Create.action"
}
],
"_Name": "ActionBar0",
"_Type": "Control.Type.ActionBar",
"Caption": "$(L,Supplier_table)"
}
}
I noticed that the app crashes only when the AvatarStack block is included in the metadata and the Title field is empty for one of the records. Hereās the specific part of the metadata:
"AvatarStack": {
"Avatars": [
{
"Image": ""
}
],
"ImageIsCircular": false
},
"Icons": []
When I remove the AvatarStack block (as shown above), the app stops crashing even if the Title field is blank.
Could this issue be related to the Avatar component interacting with empty or null Title fields? Let me know if additional details are needed.
@Riyaz_abdul I just tried it on my Android device and didn't experience any crashes.
I did a fresh download of the MDK client from Google Play and was able to see the agreement screen. Is this the process you followed?
Could you look into the Client Logs if you see any relevant info? Refer this document.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for trying it out and confirming it works on your device! Let me provide more details about the issue:
The crash happens only under specific conditions:
If I remove the Avatar property, the app doesnāt crash, even when the Title field is blank.
I am also facing a problem with the Action Bar in my app. It seems to be taking up more space than expected
@Riyaz_abdul Thanks for sharing the version details.
Did you freshly install the MDK client version 24.11.1 from the Play Store and then observe this behavior? Or did you already have a previous version (lower than 24.11.1), and after upgrading to 24.11.1, you started seeing the problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Riyaz_abdul Could you share the MDK client version? You can find the details in the device Settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.