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.
- Configure your machine for securely downloading the SAP BTP SDK for iOS frameworks
- Clone the repository and run
pod install
in this directory. - Open
Mahlwerk.xcworkspace
in Xcode.
-
Copy the Destination Name (used as Destination ID) from the Mobile Connectivity feature of your app in Mobile services cockpit:
-
Set the App ID as value for the field Application Identifier and Destination ID for Destinations > Technician of AppParameters.plist file:
-
Update the Redirect URL, Authorization End Point, Client Id, Token EndPoint to your application credentials in ConfigurationProvider.plist.
P List Label | Copy Value | Cockpit Location |
---|---|---|
clientID |
Client ID | Security Tab |
redirectURL |
Redirect URL | Security Tab |
oauth2.endUserUI |
Redirect URL | Security Tab |
oauth2.authorizationEndpoint |
OAuth Authorization URL | Security Tab |
oauth2.tokenEndpoint |
OAuth Token URL | Security Tab |
host |
Redirect URL without the https protocol | Security Tab |