The Predix Mobile SDK is a comprehensive suite of tools, frameworks and source examples that will enable and educate you on building mobile applications for the Industrial Internet of Things (IIoT). To get started, follow this documentation:
- [Get Started with the Mobile Service and Mobile SDK] (https://www.predix.io/docs#rae4EfJ6)
- [Running the Predix Mobile Sample App] (https://www.predix.io/docs#EGUzWwcC)
- [Creating a Mobile Hello World Webapp] (https://www.predix.io/docs#DrBWuHkl)
Then, come back to this site to find all of the tools and examples to follow along.
##Predix Mobile App Container Predix Mobile SDK includes Predix Mobile Reference App Containers for both iOS and Electron for Windows. The Mobile Reference App Container is a platform-specific environment in which Predix mobile applications are run.
For iOS, you build the Predix Mobile Reference App Container for iOS.
For Mac, you build the Predix Mobile Reference App Container for macOS.
For Electron, you download and install the Predix Mobile Reference App Container for Electron for Windows.
##pm CLI The Predix Mobile pm command line tool allows you to manage your Predix Mobile apps and your mobile backend processes. It includes a set of commands that are invoked through the pm command line interface. These tools depend on both the Cloud Foundry and UAAC command line tools, so make sure they are installed and properly configured prior to installing the pm tool. You must install and configure the Cloud Foundry cf CLI and uaac CLI before installing the pm CLI.
##Predix Mobile Client Core Services Framework The Predix Mobile SDK provides several services as REST APIs to provide functionality to hybrid or native Mobile applications. The Client SDK consuming application, the Predix Mobile App Container, can interact with these local services following this general URL structure: http://pmapi//. The Predix Mobile App Container interprets URL requests and delegates them to the services in the Predix Mobile Client Core Services framework , which respond with a JSON payload describing the result of the call.
For additional technical documentation see the Wiki in this repo.
- WEB-APPs
- Predix Mobile Sample app - MobileExample-WebApp-Sample
- Offline Authentication app - MobileExample-WebApp-OfflineAuthentication
- Send Command app - MobileExample-WebApp-SendCommand
- Asset integration app - MobileExample-WebApp-AssetIntegration
- Microservices
- Sample Command Processor - MobileExample-Microservice-CommandProcessor
- Sample Sync Processor that communicates with Predix Asset service - MobileExample-Microservice-AssetIntegration
- iOS Client Services
- Basic native iOS service example - MobileExample-iOSService-Sample
- Retrieve user's current location in iOS via a service example MobileExample-iOSService-SingleLocation
- Barcode scanner implementation for iOS via native service - MobileExample-iOSService-Barcode-Scanner :
- Camera service implementation for iOS via native service - MobileExample-iOSService-Camera :
- iOS Client Examples
- Store Logs in the Database MobileExample-iOS-StoreLogsInDatabase
- Create a non-hybrid, native iOS app with Mobile SDK - MobileExample-iOS-NativeIssuesListApp
- Development-time rapid on-device WebApp iterations - MobileExample-iOS-DeviceDevWebAppUpdater
- Example container integrating Predix Mobile with React-Native - MobileExample-iOS-PredixMobileWithReactNative