Ugly fitbit version :(

This commit is contained in:
Patrick Kitchens 2018-05-03 15:51:17 -05:00
parent 008b327c9d
commit b873cbd083
6 changed files with 12 additions and 2 deletions

Binary file not shown.

View file

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: e4e05e44213ffe141906009c29238b2e
timeCreated: 1525379963
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View file

@ -18,7 +18,7 @@ namespace Assets.Scripts.Fitbit
private const string _consumerSecret = "69307b9f332caf9946ef4e23cabde2e4";
private const string _clientId = "22CX4L";
private const string _callbackURL = "http://localhost/callback";
private const string CustomAndroidScheme = "mocha://";
private const string CustomAndroidScheme = "http://localhost/callback";
private const string _tokenUrl = "https://api.fitbit.com/oauth2/token";
private const string _baseGetUrl = "https://api.fitbit.com/1/user/-/";
@ -73,6 +73,7 @@ namespace Assets.Scripts.Fitbit
{
_bFirstFire = false;
}
GUI.Label(new Rect(10, 10, 100, 20), "Calories: " + _fitbitData.CurrentCalories);
}
public void LoginToFitbit()

View file

@ -1 +1 @@
m_EditorVersion: 2017.4.0f1
m_EditorVersion: 2017.3.1f1