perbaikan on possale string 1
This commit is contained in:
@@ -29,10 +29,12 @@ class SplashScreen extends ConsumerStatefulWidget {
|
||||
|
||||
class SplashScreenState extends ConsumerState<SplashScreen> {
|
||||
void getPermission() async {
|
||||
Map<Permission, PermissionStatus> statuses = await [
|
||||
Permission.bluetoothScan,
|
||||
Permission.bluetoothConnect,
|
||||
].request();
|
||||
if (Platform.isAndroid || Platform.isIOS) {
|
||||
Map<Permission, PermissionStatus> statuses = await [
|
||||
Permission.bluetoothScan,
|
||||
Permission.bluetoothConnect,
|
||||
].request();
|
||||
}
|
||||
}
|
||||
|
||||
int retryCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user