Native iOS & Android home screen widgets
Single Asset View
Based on the ShapeShift web architecture, here are critical technical considerations for widget implementation.
The mobile app is a React Native WebView wrapper around app.shapeshift.com
ShapeShift uses unchained (multi-blockchain backend) for data
ShapeShift uses hdwallet library for hardware wallet support
Web app uses React CRA with Yarn workspaces and monorepo structure
Web app uses Redux for state management (see docs/state-management.md)
Widgets have strict memory and CPU constraints
Official platform documentation and guidelines for implementing native widgets on iOS and Android.
Official Human Interface Guidelines for designing and implementing WidgetKit widgets
View iOS Widget Guidelines↗Official Android documentation for building app widgets with Jetpack Glance
View Android Widget Overview↗Comprehensive guide to building iOS widgets with SwiftUI and WidgetKit
Watch SwiftUI WidgetKit Tutorial↗