Mobile extension samples
To help in getting started with your first Adobe Experience Platform Mobile Extension, the following skeleton extension template for iOS and Android is available.
The skeleton extension is a bare-bones, third-party extension that contains a framework for building your own custom extension. Inside the project you'll see well commented examples of how to register your extension with the Mobile Core event hub and how to set up listeners to hear specific events passed through the SDK. The skeleton extension also shows how to set a shared state and publish an event back onto the Mobile Core event hub.
The Weather extension example for both iOS and Android shows a complete client-side and Experience Platform Launch UI extension that uses an API to fetch weather information using the OpenWeatherMap online service. The weather conditions are published on to the Mobile Core event hub and are saved as a shared state. The Experience Platform Launch UI extension shows how an extension can be used to not only pass configuration values to the client-side extension, but to integrate with the Experience Platform Launch workflow rules engine.