master
戴余标 2 years ago
parent 70723dcdb6
commit 5c6aafe32d

@ -114,9 +114,9 @@ void onStart(ServiceInstance service) async {
flag++; flag++;
// print('flag $flag'); // print('flag $flag');
} else if (callState == "OFFHOOK") { } else if (callState == "OFFHOOK") {
flag++; flag++;
// print('flag $flag'); // print('flag $flag');
} }
}
}); });
} }

@ -2,6 +2,7 @@ import 'package:bot_toast/bot_toast.dart';
import 'package:flustars/flustars.dart'; import 'package:flustars/flustars.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'package:flutter_background_service/flutter_background_service.dart';
import 'package:permission_handler/permission_handler.dart'; import 'package:permission_handler/permission_handler.dart';
import 'package:project_telephony/base/base_style.dart'; import 'package:project_telephony/base/base_style.dart';
import 'package:project_telephony/ui/login/login_page.dart'; import 'package:project_telephony/ui/login/login_page.dart';

Loading…
Cancel
Save