4
0
Fork
You've already forked TestPlugin
0

Requests library #1

Closed
opened 2022年08月05日 18:15:29 +02:00 by Blatzar · 1 comment
Blatzar commented 2022年08月05日 18:15:29 +02:00 (Migrated from github.com)
Copy link

While BaseApi solves the compile stuff with MainApi requests are still not solved, they still have like 20 args as there is no default args in JVM.

Problems are the following:

  • No way to access the app variable from Cloudstream as to get the proper base client for DNS and other such stuff.
  • No way to import the actual Nicehttp even if it is a library since it conflicts with what the Cloudstream apk has, we can still redefine all args like with baseapi but that is pretty ugly since nicehttp is a library.
While BaseApi solves the compile stuff with MainApi requests are still not solved, they still have like 20 args as there is no default args in JVM. Problems are the following: - No way to access the app variable from Cloudstream as to get the proper base client for DNS and other such stuff. - No way to import the actual Nicehttp even if it is a library since it conflicts with what the Cloudstream apk has, we can still redefine all args like with baseapi but that is pretty ugly since nicehttp is a library.
Blatzar commented 2022年08月06日 18:53:38 +02:00 (Migrated from github.com)
Copy link

Nice! Fixed

Nice! Fixed
Sign in to join this conversation.
No Branch/Tag specified
master
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cloudstream/TestPlugin#1
Reference in a new issue
cloudstream/TestPlugin
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?