Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some methods are not visible if you are using Java #24

Closed
LiveXenon opened this issue Mar 31, 2023 · 3 comments
Closed

Some methods are not visible if you are using Java #24

LiveXenon opened this issue Mar 31, 2023 · 3 comments

Comments

@LiveXenon
Copy link
Contributor

LiveXenon commented Mar 31, 2023

For example getFollowingUsers:

Screenshot 2023-03-31 alle 13 29 55

The strange thing is that these are present in the TwitterV2 interface.
This happens when you import the library into a new maven/gradle project.

Is anyone having the same problem?

Library version: 1.4.0
Java version: 1.8

@LiveXenon
Copy link
Contributor Author

LiveXenon commented Mar 31, 2023

The problem seems to be due to Inline classes, more info here: https://stackoverflow.com/questions/72407195/kotlin-jvminline-class-broke-class-method-names

In this project then PaginationToken and MediaKey, these could be replaced by string types or normal class.

takke added a commit that referenced this issue Apr 2, 2023
@takke
Copy link
Owner

takke commented Apr 2, 2023

Thanks,

Please check v1.4.1 for the fix.

@takke
Copy link
Owner

takke commented Apr 4, 2023

same as #23

@takke takke closed this as completed Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants