geugenm / student-bsu-by Goto Github PK
View Code? Open in Web Editor NEWAndroid interface for Belarusian State University student's personal account.
License: MIT License
Android interface for Belarusian State University student's personal account.
License: MIT License
This issue pertains to the development and integration of a new page for the BSU library within our project. The primary functionalities required on this page include:
The reference for the library login page is https://elib.bsu.by/ldap-login.
The implementation of this feature should consider both usability and efficiency, ensuring that users can easily navigate and access the resources they need. It's also important to ensure the security and integrity of the resources during the download and open processes.
After updating the me.onebone:toolbar-compose
library from version 2.3.2 to 2.3.5, an IllegalStateException
is thrown when navigating to the news section. The error message in the logcat
is as follows:
FATAL EXCEPTION: main
...
java.lang.IllegalStateException: the number of children should be at least 2: toolbar, (at least one) body
...
[news_section_me.onebone-toolbar-compose_error_logcat.txt](https://github.com/geugenm/student-bsu-by/files/12605349/news_section_me.onebone-toolbar-compose_error_logcat.txt)
1. Update the me.onebone:toolbar-compose library to version 2.3.5.
2. Navigate to the news section.
Jetpack Compose
and Android Studio Giraffe 2022.3.1 Patch 1
.After dependencies update backQueue
parameter of NavController
has been set to private
. So temporary solution is to replace backQueue
with currentBackStack.value
.
Check if it is correct.
This happens when minifyEnabled
is set to true
in app/build.gradle
Sometimes, when exited the app and after some time (when app was terminated fully) makes the app being unable to reload and retrieve resources and information from bsu server. No strict way to reproduce it.
jsoup
package to 1.16.1
But some Kotlin code updates required
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:77:75 Expected 2 parameters of types Node!, Int
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:77:75 Type mismatch: inferred type is () -> NodeFilter.FilterResult! but ((Node!, Int) -> NodeFilter.FilterResult!)! was expected
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:77:77 Unresolved reference: it
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:81:73 Expected 2 parameters of types Node!, Int
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:81:73 Type mismatch: inferred type is () -> NodeFilter.FilterResult! but ((Node!, Int) -> NodeFilter.FilterResult!)! was expected
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:81:76 Unresolved reference: it
When building in release
with minifyEnabled
(see) getting R8 error. Here is error log:
Missing class org.bouncycastle.jsse.BCSSLParameters (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List))
Missing class org.bouncycastle.jsse.BCSSLSocket (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 1 other context)
Missing class org.bouncycastle.jsse.provider.BouncyCastleJsseProvider (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.<init>())
Missing class org.conscrypt.Conscrypt$Version (referenced from: boolean okhttp3.internal.platform.ConscryptPlatform$Companion.atLeastVersion(int, int, int))
Missing class org.conscrypt.Conscrypt (referenced from: boolean okhttp3.internal.platform.ConscryptPlatform$Companion.atLeastVersion(int, int, int) and 3 other contexts)
Missing class org.conscrypt.ConscryptHostnameVerifier (referenced from: okhttp3.internal.platform.ConscryptPlatform$configureTrustManager$1)
Missing class org.openjsse.javax.net.ssl.SSLParameters (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List))
Missing class org.openjsse.javax.net.ssl.SSLSocket (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 1 other context)
Missing class org.openjsse.net.ssl.OpenJSSE (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.<init>())
The list of enabled options:
release {
// TODO: Fix R8 recurse problem
postprocessing {
removeUnusedCode true
optimizeCode true
obfuscate true
removeUnusedResources true
}
minifyEnabled true
shrinkResources true
signingConfig signingConfigs.release
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.