Geo-FireStore-Query icon indicating copy to clipboard operation
Geo-FireStore-Query copied to clipboard

java.lang.NoSuchMethodError: No virtual method set(Ljava/util/Map;Lcom/google/firebase/firestore/SetOptions;)

Open thisisdeadpool2 opened this issue 5 years ago • 1 comments

I am using Java for my Android Application. Since the library is in kotlin the method setLocation() doesn't exist. but I used ExtensionKt.setLocation(mechanicLocationRef,geoPoint.getLatitude(),geoPoint.getLongitude(),"just_check",false); but the error in the title appers. how to solve this issue?

thisisdeadpool2 avatar Jan 29 '20 18:01 thisisdeadpool2

@thisisdeadpool2 , Thanks for this issue.

As the extension functions are top-level functions in Kotlin and so it directly not getting supported in java.

I'll make this as Java compatible and will update in this thread.

Sorry for very late reply

chintan369 avatar Sep 13 '20 18:09 chintan369