mirror of
https://github.com/zoriya/Aeris.git
synced 2026-05-30 18:01:44 +00:00
Mobile cLient: fix redirect on oauth
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user