Update to new Expo SDK

- removed native-base dependency
This commit is contained in:
Martin Bauer
2021-05-24 13:19:04 +02:00
parent 3679f652ad
commit 90ae6df6de
8 changed files with 9427 additions and 3732 deletions

View File

@@ -6,14 +6,17 @@ const OpCodes = {
SESSION_STARTED: 2,
SESSION_STOPPED: 3,
SESSION_NEW_DATA: 4,
ANSWER_USER_LIST : 5,
ANSWER_SESSION_LIST : 6,
// from frontend to device
START_SESSION: 5,
STOP_SESSION: 6,
TARE: 7
START_SESSION: 7,
STOP_SESSION: 8,
TARE: 9,
QUERY_USER_LIST: 10,
QUERY_SESSION_LIST: 11
};
export default class SwimTrackerWebsocketConnection {
constructor(swimTrackerHost, onData, onStarted, onStopped, onConnect, onDisconnect) {
this.swimTrackerHost = swimTrackerHost;