HttpsURLConnection cannot be resolved when compile with j2objc. It seem j2objc currently doesn't support javax.net.ssl. Any plan in future? Will it support in j2objc?
--
You received this message because you are subscribed to the Google Groups "j2objc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks Tom for the info.
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discuss+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discuss+unsubscribe@googlegroups.com.
Thanks
Michael Janulaitis
> To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discus...@googlegroups.com.
--
Thanks for the reply Tom! The security code definitely seems pretty straightforward, but as I understand it, this would also require that we abstract the http client pieces to be implemented by each platform as well, is the real piece we'd like to avoid.
Early on we actually did have this abstraction in place but ran into some issues when Apple deprecated the async communication method we were using. We managed our own networking threadpool in the shared code to keep everything on the background and had each client implement a simple synchronous request method. Seems apple decided devs are too dumb to do that on their own :( Also had some trouble with the way certain http 4xx codes automatically trigger an exception and seemingly throw away the response body, which for us contained json data we required on the client. Undoubtedly there's ways to overcome both of those things, but our problems disappeared (implementation got much lighter too) when we moved the networking stuff into the shared code. Maybe you could suggest an alternative to NSURLSession that I could try?
--
duplicate symbol _JavaLangReflectMethod_class_ in:
/Users/sameerskycore/Downloads/j2objc-2.1.1/lib/libjre_emul.a(Method.o)
/Users/sameerskycore/Downloads/j2objc-2.1.1/frameworks/JRE.framework/JRE(Method.o)
ld: 26040 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "j2objc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discuss+unsubscribe@googlegroups.com.
Showing All Messages
symbol: class HttpClient
Showing All Messages
error: PATH_TO_MY_ENGINE/MyEngine.java:67: cannot find symbol
Also getting same error in below also
HttpClient, HttpPost, StringEntity, HttpResponseSo I think that is the issue when I added both subsets and JER classes.And that was returning me duplicate symbols issue.By the ways thanks for making Great job :)Cheers :)
Hi Tom,I need one more help from your team.I am working with network calls using HttpsBut I am facing error with these variables
Showing All Messages
symbol: class HttpClient
Showing All Messages
error: PATH_TO_MY_ENGINE/MyEngine.java:67: cannot find symbol
Also getting same error in below also
HttpClient, HttpPost, StringEntity, HttpResponseDoes I have to add library to my class or add anything else to my code like link flag ...Please help me on this.
On Wed, May 2, 2018 at 8:17 PM, Bhavdip Bhalodia <bhalodia...@gmail.com> wrote:
So I think that is the issue when I added both subsets and JER classes.And that was returning me duplicate symbols issue.By the ways thanks for making Great job :)Cheers :)
--