-
Notifications
You must be signed in to change notification settings - Fork 105
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
Blank data #59
Comments
Can you show me the request ? |
IOS is working proplery. Only issue is with android. Do i need to add any kind of okhttp3 support? |
@vanso-murlidhar why headers is not an object ? and client_id, appversion should be inside also |
it is actually var header = { @MaxToyberman so headers are proper |
@vanso-murlidhar how do you know that request data is blank ? |
backend developer getting it as empty object @MaxToyberman . Not even data key in it |
@vanso-murlidhar please search the logcat to see the request |
Getting data with and without ssl in logcat |
@vanso-murlidhar can you show me the output ? |
@vanso-murlidhar , need to debug the native code, will need the full request for this, if it is possible. |
@MaxToyberman mailed on your email id |
@vanso-murlidhar , in the logs i can see that it is in the body |
I have attached 2 logs. One is with ssl plugin and one is react native fetch. Request must be changing for ssl fetch . I guess some changes are needed in plugin for react native version 0.61.5 |
@vanso-murlidhar i am also using 0.61.5 works good |
My request without plugin is working but with plugin not. you can also see from sent logs data is empty |
@MaxToyberman I debugged further and got the following diffrence Headers should be which I am passing through code as you can see from logs Content-Type': 'application/x-www-form-urlencoded' But it is passing as Content-Type=application/json; charset=utf-8 |
@vanso-murlidhar you are right, i found the issue |
@vanso-murlidhar new fixed version was released version: 1.4.4 please let me know if it works |
Thank you so much @MaxToyberman !!!! . It is working properly. |
@vanso-murlidhar great !! |
In android, request data is passing as blank for react version 0.61.5
The text was updated successfully, but these errors were encountered: