Skip to content

Commit 70e9359

Browse files
committed
Locationinit removed from syntax error PR
1 parent c2f670e commit 70e9359

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

android/src/main/java/ly/count/android/sdk/react/CountlyReactNative.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -250,27 +250,6 @@ public void pinnedCertificates(ReadableArray args){
250250
return new String[]{};
251251
}
252252

253-
@ReactMethod
254-
public void setLocationInit(ReadableArray args){
255-
String countryCode = args.getString(0);
256-
String city = args.getString(1);
257-
String location = args.getString(2);
258-
String ipAddress = args.getString(3);
259-
if("null".equals(countryCode)){
260-
countryCode = null;
261-
}
262-
if("null".equals(city)){
263-
city = null;
264-
}
265-
if("null".equals(location)){
266-
location = null;
267-
}
268-
if("null".equals(ipAddress)){
269-
ipAddress = null;
270-
}
271-
this.config.setLocation(countryCode, city, location, ipAddress);
272-
}
273-
274253
@ReactMethod
275254
public void setLocation(ReadableArray args){
276255
String countryCode = args.getString(0);

0 commit comments

Comments
 (0)