FcSettingsFeature
Add: permission status update function
/**
* When the SMS permission of the app changes, the status can be passed in,
* the watch will use the passed status as the basis for processing logic
*
* @param hasPermission
*/
@CheckResult
fun setSmsSendPermissionStatus(hasPermission: Boolean): Completable
/**
* When the app permissions change, this method can be called.
* The SDK will check the existing permissions and send them to the watch.
* Currently supported: SEND_SMS/notification/LOCATION/READ_PHONE_STATE
*/
fun sendPermissionStatusChanged(): Completable
- Upgrade the Realtek SDK version
need to update
ext-realtek-dfu
from 1.0.2 to 1.0.3 - Fix some bugs.
- Add task function.
- Add ZALO App Notification.
- Add GPS & 4G Firmware version info.
- Fix some bugs.
- Add WeChat Pay authentication function (optional)
- Fix some bugs.
- ADD: Add
FcRopeSkippingData
&FcRowingMachineData
inFcSportData
- ADD:Add
heartRateItems
inFcSportData
Replace withheartRate
inFcSportItem
- Add new device shape support.
- Fix some other bugs.
- ADD: Add Realtek file transfer dependencies in “sdk-fitcloud”. If there is a compilation error for duplicate classes, exclude them like this
implementation("com.topstep.wearkit:sdk-fitcloud:$latest_version") { exclude group: "com.topstep.wearkit", module: "ext-realtek-bbpro" exclude group: "com.topstep.wearkit", module: "ext-realtek-file" }
- ADD: Add
FcMusicAbility
,FcEBookAbility
,FcAlbumAbility
- CHANGED: Add sleep status of
FcSleepItem.STATUS_REM
.SleepCalculateHelper.calculate
also contains REM info in returnedSleepSummary
. - FcSettingsFeature Add:
/**
* Set Lyric Color
*
* rgb is RGB.888
*/
fun setLyricColor(r: Int, g: Int, b: Int): Completable
/**
* Request Lyric Color
*
* list is RGB.888 & size = 3
*/
fun requestLyricColor(): Single<List<Int>>
fun setChargingLight(isChargingLight: Boolean): Completable
fun requestChargingLight(): Single<Boolean>
- Add
FcNotificationConfig.Flag.TIRA
andFcAppType.TIRA
FcNotificationConfig.Flag
add more new flags
FcNotificationConfig.Flag
addTITAN
,GPAY
andAMAZON
FcSportData
addswimData
, anddisplayConfigs
also add config ofDISPLAY_SWIM_STROKE_RATE
andDISPLAY_SWIM_EFFICIENCY
- Add new device shape support.
- Fix some bugs
- FcDfuManager.start add params
silentMode
, by default useSilentMode.DEFAULT
- Fix the bug where the device cannot be paired after being restored to the factory
- OTA optimization
- Support dial function for ic type 8873 and 568x
- Fix some ota bugs.
- Fix the bug where sleep state may be 0
- Add FASTRACK notification type
- Add
FcBatteryAbility.isSupportObserve
FcDialSpace.dialNum
may be -1, indicating that there is currently no dial in this spaceFcNotificationAbility
add new method to send app and telephony notification- Fix some other bugs.
- Add advanced reminder function
FcRemindAbility
, which replaces theFcSedentaryConfig
andFcDrinkWaterConfig
functions. Old watches can still use the old API, but ifFcDeviceInfo.isSupport(FcDeviceInfo.Feature.ADVANCED_REMIND)
is true, thenFcRemindAbility
must be used - Add sleep nap feature if
FcDeviceInfo.isSupport(FcDeviceInfo.Feature.SLEEP_NAP)
is true, and useSleepCalculateHelper.calculate
to getSleepSummary
info. - Add ota function for ic type 8873
- Add some customer customization features
- Add
FcBatteryAbility
,FcContactsAbility
,FcNotificationAbility
,FcFunctionAbility
- Delete
FcDeviceInfo.Feature.CONTACTS_100
, usefcSDK.contactsAbility.getContactsMaxNumber()
to determine the number of contacts supported by the device
- Starting from this version, online dependencies can be used for integration. Detailed usage reference sample project.
Add maven url in your
setting.gradle
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
...
maven {
url = uri("http://120.78.153.20:8081/repository/maven-public/")
allowInsecureProtocol = true
}
}
Add dependencies in your app build.gradle
def weakit_version = "3.0.1-beta01"
implementation("com.topstep.wearkit:sdk-base:$weakit_version")
implementation("com.topstep.wearkit:sdk-fitcloud:$weakit_version")
- The sdk init
FcSDK.Builder
params changed. - Api Change:
FlagUtil
package name changed. - Api Change:
BondHelper
package name changed. - Api Change:
FileDownloader
package name changed. - Api Change:
FileDownloadException
package name changed. - Api Change:
ProgressResult
package name changed. - Api Change:
BytesUtil
package name changed. - Api Change:
Optional
package name changed. - Some drawable resources package name changed from
com.topstep.fitcloud.sdk.v2.R
tocom.topstep.fitcloud.sdk.R
- Fix bug: EPO file download out of sequence
- Fix bug: Remove bond fail
- Add params
FcPriority
ofsyncItem
orsyncData
- Add
distanceMeters
ofFcSportData
,Avoiding errors caused by float accuracy - Add new device LCD support
- Add
FcBuiltInFeatures.autoSetTime
settings. You can use the automatic time setting features, or useFcSettingsFeature.setTime
manual. By default autoSetTime is enabled. - Add
FcConfigFeature.refresh
to refresh configs manual. - Add new device LCD support
- Add new types in
FcHabit
- Add
FcSettingsFeature.requestSupportScheduleTypes
to request types support inFcSchedule
- Add Medal
- Fix bug:Reduce the probability of OTA failure
- Api add:
FcConnector.mediaControlExitSilentMode
, When you use [FcBuiltInFeatures.mediaControl], but not use [FcBuiltInFeatures.telephonyControl] or not extent [AbsPhoneStateListener],use this method to set built-in media controller to exit silent mode when you telephony enter idle state.
- Api Change:
FcDataFeature.requestLatestHealthData
move toFcSettingsFeature.requestLatestHealthData
- Add Cricket Match feature
- Api Change:
FcFunctionConfig.STRENGTHEN_TEST
rename toFcFunctionConfig.ENHANCED_MEASUREMENT
- Api Change:
FcFunctionConfig.HOUR_STYLE
rename toFcFunctionConfig.TIME_FORMAT
- Api Change:
FcFunctionConfig.WEATHER_SWITCH
rename toFcFunctionConfig.WEATHER_DISPLAY
- Api Change:
FcFunctionConfig.EXERCISE_TARGET
rename toFcFunctionConfig.EXERCISE_GOAL_DISPLAY
- Api Change:
FcBloodPressureConfig.isPrivateMode
rename toFcBloodPressureConfig.isEnabled
- Api Change:
FcSpecialFeature.requestLanguage
move toFcSettingsFeature.requestLanguage
- Api Change:
FcSpecialFeature.requestExerciseGoal
move toFcSettingsFeature.requestExerciseGoal
- Fix the bug of FcDfuManager reconnect causing DFU failure when DFU is not completed
- Fix the bug in some mobile phone Chinese simplified and traditional judgment errors
- Optimize volume adjustment during calls
First version