From c8fd884071d6b9c8d358b7966f73a92dce4d1cc1 Mon Sep 17 00:00:00 2001 From: Thiemann96 Date: Wed, 12 Feb 2020 13:04:08 +0100 Subject: [PATCH] enters manual wifi selection every time (ios fix) --- src/pages/configuration/configuration.ts | 1 - src/providers/ota-wifi/ota-wifi.ts | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/configuration/configuration.ts b/src/pages/configuration/configuration.ts index 8c29807..28d6341 100644 --- a/src/pages/configuration/configuration.ts +++ b/src/pages/configuration/configuration.ts @@ -1,7 +1,6 @@ import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams } from 'ionic-angular'; import { OtaWizardPage } from '../ota-wizard/ota-wizard'; - /** * Generated class for the AboutPage page. * diff --git a/src/providers/ota-wifi/ota-wifi.ts b/src/providers/ota-wifi/ota-wifi.ts index 51ba4bc..a4cc2b5 100644 --- a/src/providers/ota-wifi/ota-wifi.ts +++ b/src/providers/ota-wifi/ota-wifi.ts @@ -18,7 +18,8 @@ export class OtaWifiProvider { public strategy: WifiStrategy constructor(private platform: Platform, private http: HttpClient) { - this.strategy = this.selectStrategy() + this.strategy = WifiStrategy.Manual; + // this.strategy = this.selectStrategy() } private selectStrategy (): WifiStrategy {