+ 25

Track IP Address In Firebase ??

I want to make a project using Firebase .. But , I'll need To setup IP Address Tracker ( For security issue ) ... Is it possible ? If yes , can anyone help me ?

8th Sep 2020, 7:33 AM
Kartik
Kartik - avatar
17 odpowiedzi
8th Sep 2020, 7:44 AM
Bits!
+ 6
https://code.sololearn.com/caq1yVhyqfkn/?ref=app
8th Sep 2020, 2:44 PM
Karan
Karan - avatar
+ 5
also let users know that you're tracking their ip. it might get you into trouble for privacy issue, so its better to let them know ahead of time
8th Sep 2020, 8:02 AM
Rei
Rei - avatar
+ 5
it tell the location of where the code is running, not particularly yours. in this case becase the code running in Sololearn server, so it shown the location of Sololearn server which in Virginia
10th Sep 2020, 10:37 AM
Rei
Rei - avatar
+ 4
{The Piqued Learner} can you please clarify
10th Sep 2020, 7:39 AM
Rei
Rei - avatar
+ 4
oooh because the code running in Sololearn server, which is at time located in Virginia. its normal thing that happen the the running the code in third party service like here in sololearn. the result should be right if you're running the code on your own device
10th Sep 2020, 10:32 AM
Rei
Rei - avatar
+ 4
you need to run the code yourself in computer or terminal. there's a app called pydroid if you want to run it in android phone.
10th Sep 2020, 11:36 AM
Rei
Rei - avatar
+ 4
it depend by preference, i usually use github only for project with bigger codebase. for small code bits or a prototyping i still save it here. imho the important part for saving the code here, is not the result, but the code itself how its structured and the logic behind it, and we can easily test run the code without much hassle. even if the result are wrong because the the code running in different location, we still can implement the code knowing the result wont be wrong in right environment. so, no. its not completely useless
10th Sep 2020, 12:17 PM
Rei
Rei - avatar
+ 3
@Karan your code is inaccurate! I don't trust the 'Accuracy: 1000' message!
10th Sep 2020, 7:35 AM
Query
Query - avatar
+ 3
Rei ok... But shouldn't it tell me MY location or what? P.S. my IP address is wrong too
10th Sep 2020, 10:36 AM
Query
Query - avatar
+ 2
{The Piqued Learner} it don't work on sololearn try on your python IDE
10th Sep 2020, 7:53 AM
Karan
Karan - avatar
+ 2
Rei it says I'm in Virgina
10th Sep 2020, 10:30 AM
Query
Query - avatar
+ 2
Rei how about my IP address?
10th Sep 2020, 11:34 AM
Query
Query - avatar
+ 2
Rei isnt it useless to put a code where it will give an error? It should be in GitHub
10th Sep 2020, 12:05 PM
Query
Query - avatar
+ 2
Fantastic place (GitHub)
10th Sep 2020, 12:05 PM
Query
Query - avatar
+ 2
Rei Thanks :D I get it now
11th Sep 2020, 12:04 AM
Query
Query - avatar
+ 1
you can use ip api
28th Oct 2020, 10:01 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar