fix : ui and android premissons
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
|
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
|
||||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ class AuthService extends GetxService {
|
|||||||
var tokenService = Get.find<TokenStorageService>();
|
var tokenService = Get.find<TokenStorageService>();
|
||||||
RxBool accessRes = false.obs;
|
RxBool accessRes = false.obs;
|
||||||
RxBool refAccessRes = false.obs;
|
RxBool refAccessRes = false.obs;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void onInit() {
|
void onInit() {
|
||||||
super.onInit();
|
super.onInit();
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ class AuthLogic extends GetxController {
|
|||||||
Rx<OtpStatus> otpStatus = OtpStatus.init.obs;
|
Rx<OtpStatus> otpStatus = OtpStatus.init.obs;
|
||||||
|
|
||||||
RxInt secondsRemaining = 120.obs;
|
RxInt secondsRemaining = 120.obs;
|
||||||
int wsd = 120;
|
|
||||||
Timer? _timer;
|
Timer? _timer;
|
||||||
|
|
||||||
AuthRepositoryImpl authRepository = diAuth.get<AuthRepositoryImpl>();
|
AuthRepositoryImpl authRepository = diAuth.get<AuthRepositoryImpl>();
|
||||||
@@ -126,9 +125,4 @@ class AuthLogic extends GetxController {
|
|||||||
);
|
);
|
||||||
isLoading.value = false;
|
isLoading.value = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
adder() {
|
|
||||||
tokenStorageService.tsss.value = (wsd++).toString();
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -193,9 +193,6 @@ class AuthPage extends GetView<AuthLogic> {
|
|||||||
height: 48,
|
height: 48,
|
||||||
);
|
);
|
||||||
}, controller.isLoading),
|
}, controller.isLoading),
|
||||||
FloatingActionButton(onPressed: () {
|
|
||||||
controller.adder();
|
|
||||||
}, child: Icon(Icons.add),)
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user