devaige/WheelPicker

Is this library dead?

true-hamid opened this issue ยท 8 comments

this library is used in a react native package I'm trying to test, whenever i run the app after installing that package I'm getting the following error:
Could not resolve cn.aigestudio.wheelpicker:WheelPicker:1.0.3.
> Could not get resource 'https://www.jitpack.io/cn/aigestudio/wheelpicker/WheelPicker/1.0.3/WheelPicker-1.0.3.pom'.
> Could not GET 'https://www.jitpack.io/cn/aigestudio/wheelpicker/WheelPicker/1.0.3/WheelPicker-1.0.3.pom'. Received status code 401 from server: Unauthorized

Is there any solution for this issue, or is this library dead and I have to look for something else?

happened to me as well but it is fixed now. not sure if that's the case for you.
i don't trust this library anymore though, i should implement it myself ๐Ÿ˜‚

This artifact is not located on jitpack repository, it is located at Spring Plugins repository (https://repo.spring.io/plugins-release/) which is not public anymore.

Look: https://mvnrepository.com/artifact/cn.aigestudio.wheelpicker/WheelPicker/1.1.2

It would be possible to move to a public repository?

Just inline it into your own project. Repo dependency is not an issue anymore ;)

Just inline it into your own project. Repo dependency is not an issue anymore ;)

Can you tell me please how to do that

Can you tell me please how to do that

Clone the repo, copy the folder of the library source code into your own project as "wheelpicker" and then add include :wheelpicker in your Gradle build file.

Can you tell me please how to do that

Clone the repo, copy the folder of the library source code into your own project as "wheelpicker" and then add include :wheelpicker in your Gradle build file.

Thank you so much @fatso83
in my case, I download the source from WheelPicker:1.1.2

Add it to the package "@delightfulstudio/react-native-wheel-picker-android" under node_modules
_node_modules@delightfulstudio\react-native-wheel-picker-android\android\src\main\java\com\delightfulstudio\wheelpicker

don't forget to change the package name to com.delightfulstudio.wheelpicker.model;

Comment in build.gradle
// implementation "cn.aigestudio.wheelpicker:WheelPicker:1.1.2"

Also, I need to get some missing sources from
https://github.com/AigeStudio/WheelPicker/tree/main/WheelPicker/src/main/res
and save the changes with patch-package

image