Show TOC

iOS ApplicationsLocate this document in the navigation structure

Develop an OData online, occasionally offline, or offline application.

NoteThe following image contains links to more information.
Develop an OData online, occasionally offline, or offline application. Setting Up the iOS Development Environment Configure the application in the SAP Mobile Platform Server Management Cockpit or HANA Cloud Platform Mobile Services Cockpit. MAF logon components implement user onboarding workflows. Client Hub is a native application a user installs on the device that allows multiple business applications to share common credentials enabling an SSO-style behavior. The Client Hub, integrated with Logon Manager, simplifies user onboarding and configuration to enable easier and faster enterprise-wide deployments. Client Hub is an additional layer of management on top of the shared keychain, and allows end users to control which applications are using their credentials. The Client Hub reduces the effort required by the end user to manage multiple passwords for mobile applications and improves the user experience. Client Hub supports both OData and Hybrid (Kapsel) applications. APIs for SAML and Mobile Place. The SAP Mobile Platform SDK provides a set of features and APIs (collectively referred to as supportability) that captures errors, traces and logs events and performance, then uploads this information to the SAP Mobile Platform Server, where it can be analyzed from the cockpit The iOS HttpConversationManager is an iOS networking library that enables sending and receiving of HTTP requests and responses between an iOS app and server securely, and is built on top of NSURLSession and related classes, extending the high-level abstractions built into CocoaTouch to meet SAP OData framework and corporate standards for security, traceability, and logging. The HttpConversationManager operates with native CocoaTouch constructs (for example NSURL and NSMutableURLRequest); however, it also uses some specific classes, protocols, and properties that comply with the special requirements for which it was built. The Supportability API logs messages and supports end-to-end tracing through the enterprise system. Understand the basic flow of developing a native iOS application that consumes online OData feeds. Understand how to develop a native iOS, Android, or Windows application that uses an offline OData store. Understand how to implement a "technical cache" to extend native Odata applications that use an online OData store for read requests in environments where the application is occasionally offline due to network issues. CUD requests do not go through the cache. The SAP Mobile Platform SDK for iOS provides three APIs for accessing and manipulating an OData source. MAF reusable controls allow you to use native iOS UI controls (such as buttons and labels) that display a default SAP style, from a prebuilt library. You can skin these components at runtime to match customer branding, without recompiling the source code. MAF also contains a set of complex controls, such as the calendar, the tree view, and locale-aware controls. These complex controls, which provide additional runtime skinning capabilities, are built from the simple MAF controls. The Extensibility Framework is an SDK for iOS applications, providing to developers the ability to add or replace screens or subviews, change navigation patters, update the data model, add custom actions, and so on. You can use it when developing new applications, but you can also extend existing applications with little effort; you need not recompile and redistribute the apps. The Mobile Application Workbench (MAW) lets you  customize mobile applications that you build using Mobile Application Framework (MAF). You can change SAP-supplied configurations (also called application metadata), package the changes, and deploy them to the SAP Mobile Platform. Packages are provisioned to mobile applications that have subscribed to change notifications. (Optional) Enable Apple Push Notifications (APNS) for an iOS application. Open your project in Xcode to test and run the native OData application on a device or simulator. Deploy the native OData applications to iOS devices. Once the application is deployed on the device, either through the App store or as an adhoc or enterprise build, to debug problems you need to analyze the crash logs and console output from the device. Review information about common problems that arise when working with SAP Mobile Platform SDK.