title: How to get Native Module return value?
body: <p>I want this promise value in <code>App.js</code> class with button click. Please help me in finding out the solution. </p>
  
  <pre><code>@ReactMethod
  public void initTimerService(Promise promise)
  {
      TimerService timerService = App42API.buildTimerService();
      String timerName = "&lt;Enter_your_timer_name&gt;";
      long timeInSeconds= 120;
      timerService.createOrUpdateTimer(timerName, timeInSeconds, new App42CallBack() {
          public void onSuccess(Object r)
          {
              Log.e(TAG,"response = " + r);
              Timer timer = (Timer)response;
              promise.resolve(timer.getName());
              System.out.println("Timer Name is: " + timer.getName());
              System.out.println("Time is: " + timer.getTimeInSeconds());
          }
      });
  }
  </code></pre>