Closed therealyubraj closed 4 months ago
Can you post the stacktrace and please provide a minimum reproducible code
How are you trying to invoke the init
function? I can successfully invoke the function as follows:
Khalti.companion.init(...);
I see. It seems the Khalti.Companion.init(...)
does work. My bad, thanks a lot. @Ishwor-Shrestha
When trying to call the
init
method of Khalti, I getcannot find symbol
error.Reading the Kotlin doc for calling Kotlin static methods from java,
@JvmStatic
is required. Link to the doc.