fix: conflito entre getdevUUID e applinks
This commit is contained in:
parent
0b582c86bc
commit
71aa651f4e
|
@ -24,7 +24,7 @@ class StorageHelper {
|
|||
|
||||
String? isFirstRun = await SharedPreferencesStorage.instance.get(SharedPreferencesKey.isFirstRun.value);
|
||||
|
||||
if (isFirstRun == 'true') {
|
||||
if (isFirstRun != 'false') {
|
||||
await SharedPreferencesStorage.instance.set(SharedPreferencesKey.isFirstRun.value, 'false');
|
||||
await SecureStorage.instance.set(SecureStorageKey.isLogged.value, 'false');
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import 'dart:developer';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:device_info_plus/device_info_plus.dart';
|
||||
|
@ -10,10 +11,11 @@ class DeviceUtil {
|
|||
static Future<String?> getAndroidId() async {
|
||||
try {
|
||||
final String? androidId = await _channel.invokeMethod('getAndroidId');
|
||||
log("secureAndroidId: $androidId");
|
||||
|
||||
return androidId;
|
||||
} on PlatformException catch (e) {
|
||||
print("Failed to get Android ID: '${e.message}'.");
|
||||
log("secureAndroidId Failed to get Android ID: '${e.message}'.");
|
||||
|
||||
return null;
|
||||
}
|
||||
|
|
11
pubspec.yaml
11
pubspec.yaml
|
@ -112,16 +112,13 @@ dev_dependencies:
|
|||
flutter_lints: ^5.0.0
|
||||
image: 4.2.0
|
||||
lints: ^5.0.0
|
||||
# build_runner: ^2.4.13
|
||||
# mockito: ^5.4.4
|
||||
# build_runner: ^2.4.13
|
||||
# mockito: ^5.4.4
|
||||
integration_test:
|
||||
sdk: flutter
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
|
||||
|
||||
|
||||
|
||||
flutter_launcher_icons:
|
||||
android: "launcher_icon"
|
||||
ios: true
|
||||
|
@ -131,8 +128,6 @@ flutter_launcher_icons:
|
|||
adaptive_icon_background: "assets/images/adaptive_background_icon.svg"
|
||||
adaptive_icon_foreground: "assets/images/adaptive_foreground_icon.svg"
|
||||
|
||||
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
|
||||
|
@ -155,4 +150,4 @@ fonts:
|
|||
- asset: assets/fonts/icons.ttf
|
||||
- family: Menu
|
||||
fonts:
|
||||
- asset: assets/fonts/menu.ttf
|
||||
- asset: assets/fonts/menu.ttf
|
||||
|
|
Loading…
Reference in New Issue