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