Recaptcha in mobile app (Ionic)

1,896 views
Skip to first unread message

Patrik Berggren

unread,
Feb 13, 2017, 3:25:05 PM2/13/17
to reCAPTCHA
Hi, have anyone come up with a solution to Domain Name Validation from inside of an app?

I have made some recaptcha examples in Ionic and it's working great during my development and testing from localhost.
But I'm having problems finding a solution when I'm on a mobile phone.

If you are stuck in the same boat leave a comment and I will post back to you all if I find a
solution during the week!

Greetings Patrik

iilakkiah ilangovan

unread,
Feb 22, 2017, 5:47:42 AM2/22/17
to reCAPTCHA
Hi, Myself facing same issue finding domain ,any help ??

Patrik Berggren

unread,
Mar 2, 2017, 7:18:22 AM3/2/17
to reca...@googlegroups.com
Hi iilakkiah,

Our solution in the end was to load the app inside of an inAppBrowser for domain validation.

Greetings Patrik

--
You received this message because you are subscribed to a topic in the Google Groups "reCAPTCHA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/recaptcha/rP-zSJmBpe8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to recaptcha+unsubscribe@googlegroups.com.
To post to this group, send email to reca...@googlegroups.com.
Visit this group at https://groups.google.com/group/recaptcha.
For more options, visit https://groups.google.com/d/optout.

Sergio Garzon

unread,
Oct 6, 2017, 5:02:52 PM10/6/17
to reCAPTCHA
Hi, I'm new using Ionic, can you help about the workaround you did, thanks in advance. 


El jueves, 2 de marzo de 2017, 7:18:22 (UTC-5), Patrik Berggren escribió:
Hi iilakkiah,

Our solution in the end was to load the app inside of an inAppBrowser for domain validation.

Greetings Patrik
2017-02-22 11:47 GMT+01:00 iilakkiah ilangovan <iila...@gmail.com>:
Hi, Myself facing same issue finding domain ,any help ??


On Tuesday, 14 February 2017 01:55:05 UTC+5:30, Patrik Berggren wrote:
Hi, have anyone come up with a solution to Domain Name Validation from inside of an app?

I have made some recaptcha examples in Ionic and it's working great during my development and testing from localhost.
But I'm having problems finding a solution when I'm on a mobile phone.

If you are stuck in the same boat leave a comment and I will post back to you all if I find a
solution during the week!

Greetings Patrik

--
You received this message because you are subscribed to a topic in the Google Groups "reCAPTCHA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/recaptcha/rP-zSJmBpe8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to recaptcha+...@googlegroups.com.

Patrik Berggren

unread,
Oct 10, 2017, 5:32:04 PM10/10/17
to reca...@googlegroups.com
I have a small demo on the recaptcha in Ionic on my github. But that's not the example with the Ionic inAppBrowser. 

But what we did was to add a recaptcha to a domain that we then loads from all the client apps in there phones.

But to be able to validate the recaptcha's you need to make a service for that. You can check my recaptchaValidator example i did in NodeJS.

The recaptchaValidator has you private recaptcha key and all the client's have the public api key.

https://github.com/Patrikwebb/RecapthcaValidator
https://github.com/Patrikwebb/RecapthcaClient

To be able to get you all to understand how I did it I guess I need to write a small presentation or so. Cause you need to do alot more to it when you want to validate a recaptcha from a client like from inside an app, Google don't accept standalone IP adresses they want a domain as you can se at Googles recaptcha site where you generates you keys.

For more details you can email me.

To unsubscribe from this group and all its topics, send an email to recaptcha+unsubscribe@googlegroups.com.

Patrik Berggren

unread,
Oct 10, 2017, 5:32:56 PM10/10/17
to reCAPTCHA
I have a small demo on the recaptcha in Ionic on my github. But that's not the example with the Ionic inAppBrowser. 

But what we did was to add a recaptcha to a domain that we then loads from all the client apps in there phones.

But to be able to validate the recaptcha's you need to make a service for that. You can check my recaptchaValidator example i did in NodeJS.

The recaptchaValidator has you private recaptcha key and all the client's have the public api key.

https://github.com/Patrikwebb/RecapthcaValidator
https://github.com/Patrikwebb/RecapthcaClient

To be able to get you all to understand how I did it I guess I need to write a small presentation or so. Cause you need to do alot more to it when you want to validate a recaptcha from a client like from inside an app, Google don't accept standalone IP adresses they want a domain as you can se at Googles recaptcha site where you generates you keys.

For more details you can email me.

Reply all
Reply to author
Forward
0 new messages