xxxxxxxxxx
import { HttpClient, HttpErrorResponse, HttpHeaders } from '@angular/common/http';
private getDeviceIP(){
this.clientHttp.get("http://api.ipify.org/?format=json").subscribe((res:any)=>{
this.userIpAddress = res.ip;
});
}