mirror of
https://github.com/google/pebble.git
synced 2025-11-14 19:43:12 -05:00
3.7 KiB
3.7 KiB
title, date
| title | date |
|---|---|
| Pebble SDK 4.0-dp1 - Changelog | 2016-06-15 |
This is the first Developer Preview release of the brand new Pebble SDK 4.0. This changelog collects only changes visible to developers using the emulator. A complete changelog will be provided when 4.0 ships on physical watches.
Changes to Firmware
- Added support for Pebble 2.
- Added AppGlances and Timeline
PeekQuick View.
Changes to SDK
- Added the new "Diorite" platform for the Pebble 2.
- Added
PBL_COMPASS,PBL_SMARTSTRAP_POWER, andPBL_PLATFORM_DIORITEdefines. - Added
preferred_result_display_durationto get the recommended number of milliseconds a result window should be visible before it should closed. - Added
AppExitReasonandexit_reason_setfor an application to be able to notify the system of the reason it is exiting. - Added
AppGlanceSlice,AppGlanceResult,AppGlanceReloadSession,app_glance_add_slice,AppGlanceReloadCallbackandapp_glance_reload. to support AppGlances. - Added Unobstructed Area APIs:
UnobstructedAreaWillChangeHandler,UnobstructedAreaChangeHandler,UnobstructedAreaDidChangeHandler,UnobstructedAreaHandlers,layer_get_unobstructed_bounds,unobstructed_area_service_subscribeandunobstructed_area_service_unsubscribeto enable a watchface to adapt to overlays partially obstructing it, such as during a TimelinePeekQuick View. - Added
HealthMetricAlert,HealthAggregation,health_service_peek_current_value,health_service_peek_current_value,health_service_aggregate_averaged,health_service_aggregate_averaged,health_service_metric_aggregate_averaged_accessible,health_service_register_metric_alert,health_service_register_metric_alertandhealth_service_cancel_metric_alertin preparation for heart rate support. Note that these are not yet implemented. - Report memory usage for Pebble Packages at build time.
Changes to Documentation
- Added AppGlances Guide
- Added Unobstructed Area Guide
- Added AppExitReason Guide
- Added One Click Action Guide
- Added API documentation for new
HealthService,App Glance,UnobstructedAreaandAppExitReasonAPIs.
Known Issues
- Creating an
AppGlanceSlicewith a .expiration_time ofAPP_GLANCE_SLICE_NO_EXPIRATION_TIMEresults in an AppGlanceSlice that is never displayed. - The
UnobstructedAreaHandlersobject must be created before being passed into theunobstructed_area_service_subscribemethod. - The Diorite emulator is still a little shy and will occassionally shake upon starting. If your emulator doesn't stop shaking, try installing an app - that usually brings it out of its shell.