mirror of
https://gitlab.com/mysocialportal/relatica
synced 2024-10-18 12:23:31 +00:00
Change OAuth redirect URL to work with latest version of Friendica
This commit is contained in:
parent
73dfc3cc2b
commit
0ecee1e777
2 changed files with 5 additions and 6 deletions
|
@ -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: '',
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue