react-native-phone-verification icon indicating copy to clipboard operation
react-native-phone-verification copied to clipboard

network request faild

Open pandeysachchi opened this issue 7 years ago • 16 comments

when i submit mobile number with country code then alert box open and show network request failed.

pandeysachchi avatar Jan 06 '18 09:01 pandeysachchi

same issue with you. I think coz he has back end but we don't so we get that error.

const api = new Frisbee({ baseURI: 'http://localhost:3000', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' } });

And this

const res = await api.post('/v1/verifications', { body: { ...this.refs.form.getValues(), ...this.state.country } });

MinhNQ90 avatar Jan 17 '18 03:01 MinhNQ90

ill reply soon with a free solution + how it works

On Jan 16, 2018 10:59 PM, "MinhNQ90" [email protected] wrote:

same issue with you. I think coz he has back end but we don't so we get that error.

const api = new Frisbee({ baseURI: 'http://localhost:3000', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' } });

And that

const res = await api.post('/v1/verifications', { body: { ...this.refs.form.getValues(), ...this.state.country } });

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joinspontaneous/react-native-phone-verification/issues/12#issuecomment-358190549, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf7hfUEdpUvKzU0flLJS-Or6J_8xKxTks5tLXArgaJpZM4RVQJ8 .

niftylettuce avatar Jan 17 '18 04:01 niftylettuce

Heyy , getting network request failed error ,, plss help '

pravinraut809 avatar Jan 29 '18 12:01 pravinraut809

please help solve this issue ? how to create the backend ?

NileshArnaiya avatar Feb 02 '18 07:02 NileshArnaiya

@niftylettuce Hello, Please any updates regarding the free solution you mentioned plus how it works? if not can you please provide some alternatives? thank you

obaiomari avatar Mar 01 '18 19:03 obaiomari

Did anyone find any solution for this problem ?

pshgpt avatar Mar 19 '18 09:03 pshgpt

Worked for anybody?

ryanhssn avatar Apr 11 '18 05:04 ryanhssn

I'll provide an update + how to here soon

On Wed, Apr 11, 2018 at 1:56 AM, Bilal H [email protected] wrote:

Worked for anybody?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/joinspontaneous/react-native-phone-verification/issues/12#issuecomment-380336135, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf7hba4ghSyg53CoFaJxG46-_CevM2mks5tnZr2gaJpZM4RVQJ8 .

niftylettuce avatar Apr 11 '18 15:04 niftylettuce

Hey, has this been solved yet? thanks! @niftylettuce

ralfisalhon avatar Jul 02 '18 13:07 ralfisalhon

@ralfisalhon just try this copy and past the full example after you setup firebase following this documentation, you can try the "basic starter kit" if you're new to firebase

obaiomari avatar Jul 03 '18 03:07 obaiomari

is there any update

saipranavrajesh avatar Aug 04 '18 14:08 saipranavrajesh

@saipranavrajesh I solved my problem by making an XMLHttpRequest to Twilio using Authy API. I completely removed Frisbee from the given example and implemented my own functions.

You can learn how to use XMLHttpRequest here: https://www.w3schools.com/xml/xml_http.asp Twilio and Authy: https://www.twilio.com/verify

Good luck on your project.

  • Ralfi

ralfisalhon avatar Aug 07 '18 11:08 ralfisalhon

Any solution?

linuissac avatar Oct 04 '18 09:10 linuissac

Could someone solve it or have another tool? @niftylettuce ??. I heard that you can use react-native-firebase, its a alternative but it doesnt work with expo.

If some has other alternative, thanks in advance.

ddelcidg avatar Feb 11 '19 16:02 ddelcidg

Can you give us more details of your solution @ralfisalhon ?

ddelcidg avatar Feb 11 '19 16:02 ddelcidg

when i submit mobile number with country code then alert box open and show network request failed.

iwmdipak avatar Sep 26 '19 17:09 iwmdipak