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.