Change OAuth redirect URL to work with latest version of Friendica

codemagic-setup
Hank Grabowski 2023-11-05 20:28:36 -05:00
rodzic 73dfc3cc2b
commit 0ecee1e777
2 zmienionych plików z 5 dodań i 6 usunięć

Wyświetl plik

@ -35,12 +35,11 @@ class OAuthCredentials implements ICredentials {
});
factory OAuthCredentials.bootstrap(String serverName) {
final redirectScheme = Platform.isWindows || Platform.isLinux
? 'http://localhost:43824'
: 'relatica';
final redirectScheme =
Platform.isWindows || Platform.isLinux ? 'http' : 'relatica';
final redirectUrl = Platform.isWindows || Platform.isLinux
? redirectScheme
: '$redirectScheme:/';
? '$redirectScheme://localhost:43824'
: '$redirectScheme://authorize';
return OAuthCredentials(
clientId: '',
clientSecret: '',

Wyświetl plik

@ -2,7 +2,7 @@ name: relatica
description: A mobile and desktop client for interacting with the Friendica social network
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 0.7.0+1
version: 0.7.2+1
environment:
sdk: '>=3.0.0 <4.0.0'