mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-25 03:14:37 -06:00
[3.2.2] Update build.gradle and changelog. Update Librus Client ID and user agent.
This commit is contained in:
parent
27f9b8a04e
commit
3c8afb0609
@ -31,6 +31,13 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<h3>Wersja 3.2.2, 2020-02-24</h3>
|
||||||
|
<ul>
|
||||||
|
<li>Naprawiłem synchronizację oraz logowanie w Librusie.</li>
|
||||||
|
<li><i>Dostępna jest wersja testowa aplikacji 4.0-beta. Można ją pobrać w Google Play, dołączając do programu wersji beta (na dole strony).</i></li>
|
||||||
|
<li>Nowa wersja testowa zawiera m.in. takie funkcje jak wysyłanie wiadomości, nowy plan lekcji czy przebudowany moduł synchronizacji i interfejs.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<h3>Wersja 3.2.1, 2019-12-10</h3>
|
<h3>Wersja 3.2.1, 2019-12-10</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Poprawa synchronizacji w Mobidzienniku.</li>
|
<li>Poprawa synchronizacji w Mobidzienniku.</li>
|
||||||
|
@ -139,7 +139,7 @@ public class Librus implements EdziennikInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static final String TAG = "api.Librus";
|
private static final String TAG = "api.Librus";
|
||||||
private static final String CLIENT_ID = "wmSyUMo8llDAs4y9tJVYY92oyZ6h4lAt7KCuy0Gv";
|
private static final String CLIENT_ID = "6XPsKf10LPz1nxgHQLcvZ1KM48DYzlBAhxipaXY8";
|
||||||
private static final String REDIRECT_URL = "http://localhost/bar";
|
private static final String REDIRECT_URL = "http://localhost/bar";
|
||||||
private static final String AUTHORIZE_URL = "https://portal.librus.pl/oauth2/authorize?client_id="+CLIENT_ID+"&redirect_uri="+REDIRECT_URL+"&response_type=code";
|
private static final String AUTHORIZE_URL = "https://portal.librus.pl/oauth2/authorize?client_id="+CLIENT_ID+"&redirect_uri="+REDIRECT_URL+"&response_type=code";
|
||||||
private static final String LOGIN_URL = "https://portal.librus.pl/rodzina/login/action";
|
private static final String LOGIN_URL = "https://portal.librus.pl/rodzina/login/action";
|
||||||
@ -149,7 +149,7 @@ public class Librus implements EdziennikInterface {
|
|||||||
private static final String API_URL = "https://api.librus.pl/2.0/";
|
private static final String API_URL = "https://api.librus.pl/2.0/";
|
||||||
private static final String SYNERGIA_URL = "https://wiadomosci.librus.pl/module/";
|
private static final String SYNERGIA_URL = "https://wiadomosci.librus.pl/module/";
|
||||||
private static final String SYNERGIA_SANDBOX_URL = "https://sandbox.librus.pl/index.php?action=";
|
private static final String SYNERGIA_SANDBOX_URL = "https://sandbox.librus.pl/index.php?action=";
|
||||||
private static final String userAgent = "Dalvik/2.1.0 Android LibrusMobileApp";
|
private static final String userAgent = System.getProperty("http.agent")+"LibrusMobileApp";
|
||||||
private static final String synergiaUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Gecko/20100101 Firefox/62.0";
|
private static final String synergiaUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Gecko/20100101 Firefox/62.0";
|
||||||
|
|
||||||
private App app;
|
private App app;
|
||||||
|
@ -5,8 +5,8 @@ buildscript {
|
|||||||
kotlin_version = '1.3.50'
|
kotlin_version = '1.3.50'
|
||||||
|
|
||||||
release = [
|
release = [
|
||||||
versionName: "3.2.1",
|
versionName: "3.2.2",
|
||||||
versionCode: 3020199
|
versionCode: 3020299
|
||||||
]
|
]
|
||||||
|
|
||||||
setup = [
|
setup = [
|
||||||
|
Loading…
Reference in New Issue
Block a user