This native iOS application is used by Mahlwerk's Technician to view and process various tasks.
This application consumes Mahlwerk's Backend's Odata Service for fetching the task details and for all of its operations.
- SAP BTP SDK for iOS is used for User Authentication, Fiori UI Controls, Onboarding and Offline Data Synchronization.
- Install Cocoapods dependency manager.
- Install Apple Xcode IDE.
- Clone the repository and run
pod install
in this directory. - Open
Mahlwerk.xcworkspace
in Xcode.
CocoaPods specifications for frameworks in the SAP BTP SDK for iOS.
-
Put the App ID into the highlighted place in OnboardingFlowProvider.swift:
-
Copy the App Id (see first step) & Server URL (from API Tab) from Mobile services cockpit and paste it in ODataOnBoardingStep.swift.
-
Change the AppId, Redirect URL , Authorization End Point, Client Id, Token EndPoint to your Application credentials in Mobile Services Cockpit.
-
Copy Client ID, Redirect Url, OAuth Authorization URL, OAuth Token URL from Security Tab in SAP Mobile Services cockpit.
-
Paste these credentials in ConfigurationsProvider.plist file
-
Redirect URL in OAUTH_REDIRECT_URL & endUserUI
-
Client Id in OAUTH_CLIENT_ID
-
OAuth Authorization URL in AUTH_END_POINT
-
OAuth Token URL in TOKEN_END_POINT