title: SignalR hub.on method is not firing in Android
body: <p>I m trying to implement SignalR client in Android application. but hub.on ("method name") is not firing.</p>
  
  <pre><code>Platform.loadPlatformComponent( new AndroidPlatformComponent() );
  String host = "...";
  String qs = "....";
  HubConnection connection = new HubConnection(...);
  HubProxy hub = connection.createHubProxy( ... );
  </code></pre>
  
  <p>I have tried following 2 options to subscribe </p>
  
  <p>Option 1</p>
  
  <pre><code>hub.on( “testMessage”, new SubscriptionHandler1&lt; CustomMessage &gt;() {
      @Override
      public void run(CustomMessage msg) {
  
          Log.d(“result := “, msg.text);
          Toast.makeText(MainActivity.this, msg.text, Toast.LENGTH_LONG).show();
      }
  }, CustomMessage.class);
  </code></pre>
  
  <p>Option 2</p>
  
  <pre><code>....
  hub.subscribe(“testMessage”);
  ....
  Handler handler = new Handler();
  
  public void addMessage( CustomMessage msg ) {
  
      final String fStatus = msg.text;
      handler.post(new Runnable(){
  
          @Override
          public void run() {
  
              Toast.makeText(MainActivity.this, fStatus, Toast.LENGTH_LONG).show()
          }
      });
  }
  </code></pre>
  
  <p>I m getting following logger messages</p>
  
  <pre><code>Verbose – serverSentEvents – Found new data:data: {}
  Verbose – serverSentEvents – Trigger onData: {}
  Verbose – HubConnection – Received data;
  </code></pre>