Forum Posts

Settings working on simulator, not on watch [Sense]

I'm using Maxim's color picker in a simple Sense watch face for personal use. The settings show up and work fine when I use the Fitbit OS Simulator, but when I sideload the face or download it from the store the settings page is completely blank. My ...

roxi-e by Jogger
  • 384 Views
  • 1 replies
  • 0 votes

Device app for exchanging information

Hello, I currently want to develop an application for the device that sends the personal information (biometric data such as heart rate, steps and so on) to an own web application (through APIs). I wanted to know if this could be done without sharing...

paloma_c by Recovery Runner
  • 515 Views
  • 3 replies
  • 0 votes

dynamic setting list solved

Forewarning: This has been tested on a versa 2 and the simulator with a 4.3 build to match. For my wife has a versa 2 and that is what I built this project for.  I found a way to have a dynamic list in the settings app.  I am making a clock face that...

Fetch from settings jsx blocked by CORS

I want to use fetch from the settings jsx, but it is getting blocked by CORS.  Access to fetch at 'SERVER_URL' from origin 'https://app-settings.fitbitdevelopercontent.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is p...

Watch Face Eats Battery Like Crazy

The source code I've developed on GitHubThe code works beautifully in the simulator but naturally the real thing has a couple pretty serious problems that maybe you could help me with. The two major issues are: 1 ) This watch face eats the battery li...

iPh33r by Base Runner
  • 479 Views
  • 4 replies
  • 2 votes

Additive list does not seem to respect maxItems value

Hello everyone, I came across a problem that I can't seem to figure out on my own, so: first post here, thanks for reading! I'm trying to use an additive list for the settings page of my clock face. The way it's supposed to work is this: Users can se...

Dynamically Generate <TextInput> in Settings

For simplicity, I'm going to pare down my app to the very essence of this problem. I will provide here all of the relevant code. Summary:When you tap something in the app, it creates a new thing and adds it to an array of things.Each Thing object has...

Setting conditional on device

I have some settings for location of the activities counters and also the colour of them. Since versa lite doesn't support elevation, I wanted to hide these options from the settings if the device is a versa lite, but can't see anyway in the docs to ...

Looping in settings

Hi there I am pretty new and just playing around. Now I got one problem here, I want to do something like this, where I render a (Select-)list with items from an AdditiveList, which is created by TextInputs. Is this somehow possible? Or am I thinkin...

Date Picker for settings

I am trying to find a date picker for the setttings.js for my app. I've read through the available components here, https://dev.fitbit.com/build/reference/settings-api/#components, and have not been able to find anything. Does one exist or would I ha...

dmcp89 by Jogger
  • 1081 Views
  • 2 replies
  • 4 votes

Resolved! OAuth State Not Properly Encoded

I've encountered a similar incident as described in this thread, but I wanted to document it again here for clarity and to see if there is any workaround within the Fitbit settings. I'm using the <OAuth> component to allow for AWS Cognito logins in o...

Accessing the settings within settings/index.jsx

I have 3 settings in my index.jsx out of which the 3rd setting options that I want to show users depends on the selection of the first two settings what the user selects. I'm not able to find a way to access the settings in index.jsx file so that I c...

Settings API returning incorrectly formatted JSON

Using the basic template code for Settings. Wanting simple integration of changeable text. Despite many small changes still returning [object Object] or error message. Is it the template that needs changing, or is a problem with my code?. Thanks. app...

Image Picker and Color Select - Load, Save, Choose Settings

Hello,I have the same issue as identified on the thread here: https://community.fitbit.com/t5/SDK-Development/Saving-Color-Select-Settings/td-p/2991982If a user chooses color settings, they persist as long as the clockface is running, but if closed a...

rrjr777 by Base Runner
  • 692 Views
  • 0 replies
  • 0 votes

What values are you sending to OAuth servers

I'm using the simulator to set up an OAuth flow, and when the app redirects off to the auth service I'm getting this error `An internal server error occurred, could not process the request` I'm assuming this is coming from the auth server and not fro...

Resolved! Settings that vary depending on attached Device

Is it possible to have settings appear differently depending on which device is connected? The Device screen-size approach for the Ionic doesn't apply for the Versa-Lite (having the same screen size as the Versa). Are there other device-info paramete...

Olbia by Recovery Runner
  • 729 Views
  • 2 replies
  • 1 votes

Changing color with different definitions

How do I create one for different labels as well? I have this one for the background but I would also like one for time, date, and a few others. What should I change to do this? Settingsfunction mySettings(props) { return ( <Page> <Sel...

Switching screen wake between auto and manual on a schedule

I'd like to make an app that allows the user to schedule when screen wake is set to manual vs. automatic (e.g., the app would allow the user to set the screen wake to manual every day from 11 PM to 7 AM and automatic the rest of the day, and maybe ha...

HBrent by Jogger
  • 1550 Views
  • 5 replies
  • 1 votes

Oauth Dexcom in Fitbit Settings App

Hello,I am trying to authorize my Fitbit settings app using the OAuth feature for Dexcom since they just opened up their API.Here is what I am trying to do:<Oauth title="Login" label="Dexcom" authorizeUrl="https://sandbox-api.dexcom.com/v2/oauth2/log...

Looking for help with OAuth

I am trying to use the OAuth component in Settings to authorize with a service. The service only supports the clientSecret being passed server-to-server, and the oauth flow provided by OAuth component fails with an error. If I try to use the OAuth co...

skyway by Recovery Runner
  • 1971 Views
  • 6 replies
  • 10 votes

Resolved! Companion Settings Can't Select a Colour

My clockface has a colour theme applied to it when the user selects a base colour from the settings in the companion. There are three colours associated with each selectable colour. My problem, however, is that the colour just can't be selected. The ...

Colour problems.PNG

Resolved! Implement toggle switch in Clock Face

Hi I want to use a toggle in my Clock Face settings and if the toggle is on display an element if its not that hide. Currently I have following code:settings/index.jsx <Toggle settingsKey="stepsToggle" label="Steps" ...

nokotok by Recovery Runner
  • 1678 Views
  • 8 replies
  • 0 votes

Resolved! Settings Files After Uninstall

Hopefully, a simple question with a simple answer. If I uninstall a clockface or app, and decide to reinstall it at a later date, do any settings files saved on the watch from the previous installation remain on the watch, or would I have to recreate...

Resolved! Dynamically change label on settings page

Hello all, I am trying to build my settings page so the user can change a variable within the app.  I first used a slider and the slider label would update as the user slide their finger across.  However, I have realized the slider is WAY too clunky ...

aesdev421 by Recovery Runner
  • 1064 Views
  • 1 replies
  • 0 votes

Resolved! Custom URL parameter Oauth from Setting

Is there a way to set custom url parameters for the oauth url in the settings? For google oauth i need : access_type=offline <OauthsettingsKey="oauth" title="OAuth Login" label="OAuth" status="Login" authorizeUrl="https://accounts.google.com/o/oauth2...

Resolved! Variable background image help

Hello, I am working on my clockface.  I have a background picture and am able to change the font displayed on it using the companion app settings.  What I can't figure out is how to change the background mage.  I have a selector which allows me to ch...

FlyFrosty by Tempo Runner
  • 2220 Views
  • 2 replies
  • 0 votes

Resolved! Password Settings

I am writing an application that requires a password to authenticate with an API server but it looks like password fields expose their data next to the title of the settings field at the top level. Is this a bug or the intended functionality? This se...

rwalter by Jogger
  • 1082 Views
  • 1 replies
  • 3 votes

Resolved! How are settings persisted?

Yay, JSX for settings! From the settings docs, I can see that current settings are passed in as `props.settings` to the settings `Page` component. However, it appears that the *persistence* of settings when not using the explicit `setItem` is a bit o...

FLGMwt by Recovery Runner
  • 1405 Views
  • 1 replies
  • 1 votes