How to return a Boolean from @ReactMethod in React Native? : <p>I want to return a Boolean from @ReactMethod in reactNative Android application.</p>

<p>But when I make method similar to </p>

<pre><code>@ReactMethod
public boolean retBoolean() {
return true;
}
</code></pre>

<p>and call it from JS component ,it returns undefined.
only when return type is void function gets called ,I am not able to return string or boolean.</p>
