Commit f4964956 authored by Administrator's avatar Administrator

started to develop local file pickup

parent c887a0a6
import 'package:flutter/material.dart';
import 'screens/dashboard.dart';
import 'package:encrateia/utils/db.dart';
import 'package:path_provider/path_provider.dart';
import 'dart:io';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Db.create().connect();
var directories = await getExternalStorageDirectories();
var hintFile = File('${directories[0].path}/put_your_fit_files_here.txt');
await hintFile.writeAsString('This is the directory where Encrateia can pickup .fit-files from.');
runApp(MyApp());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment