Mobile cLient: fix redirect on oauth

This commit is contained in:
Arthi-chaud
2022-03-06 17:00:46 +01:00
parent 72d92528f1
commit 78361bf430
2 changed files with 5 additions and 7 deletions
@@ -31,9 +31,7 @@
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="arthichaud.me" />
<data android:scheme="https" android:host="arthichaud.me"/>
<data android:scheme="aeris" android:host="arthichaud.me"/>
<data android:scheme="aeris"/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
+4 -4
View File
@@ -43,11 +43,11 @@ class AerisAPI {
set baseRoute(value) => _baseRoute = value;
AerisAPI() {
var scheme = "http";
if (Platform.isIOS) {
scheme = "aeris";
var route = "arthichaud.me";
if (Platform.isAndroid) {
route = "";
}
deepLinkRoute = "$scheme://arthichaud.me";
deepLinkRoute = "aeris://$route";
}
///ROUTES