|
|
|
@ -103,7 +103,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|
|
|
if (Platform.isAndroid) {
|
|
|
|
if (Platform.isAndroid) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
// await hmsApiAvailability.isHMSAvailable().then((value) async {
|
|
|
|
// await hmsApiAvailability.isHMSAvailable().then((value) async {
|
|
|
|
if (await Utils.isAppInstalledFromHuawei() && !(await Utils.isGoogleServicesAvailable()) ) {
|
|
|
|
if (await Utils.isAppInstalledFromHuawei() ) {
|
|
|
|
AppState().setIsHuawei = true;
|
|
|
|
AppState().setIsHuawei = true;
|
|
|
|
AppNotifications().initHuaweiPush(checkLoginInfo);
|
|
|
|
AppNotifications().initHuaweiPush(checkLoginInfo);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|