Skip to content

Commit

Permalink
Updated from SDK5 to SDK6
Browse files Browse the repository at this point in the history
  • Loading branch information
smirko-dev committed Dec 3, 2021
1 parent 142a3d7 commit 5e9159b
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/FitbitBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
path: build/app.fba
if-no-files-found: error

build-sdk5:
name: Build SDK5
build-sdk6:
name: Build SDK6
runs-on: ubuntu-latest

steps:
Expand All @@ -56,8 +56,8 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1

- name: Select SDK 5
run: cp package.sdk5.json package.json
- name: Select SDK 6
run: cp package.sdk6.json package.json

- name: Checkout Fitbit SDK
run: npm add --also=dev @fitbit/sdk
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
- Added weather info
-
### Changed
- Updated from SDK5 to SDK6

## Version 1.5.2

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ It comes with
- languages: de-DE, en-US
- battery icon (Ionic: and status in percentage)
- next calendar event of the current day
- user activity in case of no events (selectable in settings menu)
- user activity or weather in case of no events (selectable in settings menu)
- six color schemes (selectable in settings menu)
- touch to hide calendar event temporarily

Expand All @@ -37,7 +37,7 @@ Choose SDK version
| SDK | Device |
|-----|-----------------------------------|
| 4 | Versa, Versa Lite, Versa 2, Ionic |
| 5 | Versa 3, Sense |
| 6 | Versa 3, Sense |

```
cp package.sdkX.json package.json
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion resources/index.view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<textarea id="appointmentsLabel" opacity=".8" pointer-events="visible" />
<image id="batteryImage" href="battery-alert.png" x="270" y="4%" width="24" height="24" opacity=".6" class="batteryIcon" />
<text id="batteryLabel" opacity=".8" />
<image id="infoIcon" href="steps.png" x="35%" y="80%" width="32" height="32" opacity=".8" class="activityIcon" />
<image id="infoIcon" href="steps.png" x="35%" y="80%" width="32" height="32" opacity=".8" class="infoIcon" />
<text id="infoLabel" opacity=".8" />
</svg>
File renamed without changes.
2 changes: 1 addition & 1 deletion resources/widget.defs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<svg>
<defs>
<link rel="stylesheet" href="styles.sdk5.css" />
<link rel="stylesheet" href="styles.sdk6.css" />
<link rel="import" href="/mnt/sysassets/system_widget.defs" />
<link rel="import" href="/mnt/sysassets/widgets/baseview_widget.defs" />
</defs>
Expand Down

0 comments on commit 5e9159b

Please sign in to comment.