Closed abhishekgargx closed 2 years ago
@softvar @ankneo @sparshgupta @chinchang @paraschopra Hey if anyone of you knew anything about this , please do let me know.
Hey @abhishekgargx , We'll get this checked and will let you know once we have any updates. Thanks for reporting this.
hey @softvar so i found solution to fix this while looking into your code, so basically if we want to use
okhttp version 3.12.X
while your library com.vwo:mobile:2.8.0@aar
we need to set socket.io version to io.socket:socket.io-client:2.0.1 instead of version 1.0.0
Hope this finding help someone else, and they will be not force to moved to min sdk 21 , as we are about to.
Thanks, @abhishekgargx for letting us know. Glad you were able to make it work.
To support lower android version < 21, we required to use
okhttp version 3.12.X
when we using this version of okhttp as mentioned above with your
vwo version : 2.8.0
code snippet
we are getting this error
Now if you use latest version of okhttp which 4.x.x for eg. 4.9.0. there is no error.
But as your readme file , you library support Android 4.0 (API 14) or later