title: React Native : Native modules return nothing
body: <p>I'm new to React Native and I want to call native modules to get some strings from Android . I write the code like this:</p>
  
  <pre><code>@ReactMethod
  public String getToken() {
      String token = "";
      //then take the token
      Log.i("getToken:", token);
      return token;
  }
  </code></pre>
  
  <p>Then use in js.</p>
  
  <pre><code>var tokenString = thismodule.getToken();
  </code></pre>
  
  <p>However ,when i call the method in js. I can see the correct log " I/getToken : palapalapala " in logcat , but js can't get anything.</p>
  
  <p>So , what's the correct code of this?</p>