title: Wechat login - do not receive token
body: <p>I just followed all the stuff which are mentioned in this <a href="https://github.com/aaronbruckner/wechatAndroidLoginDemo" rel="nofollow noreferrer">example</a> from Aaron Bruckner. Tried out with and without the boolean flag for enabling the <code>checkSignature</code>.</p>
  
  <p>init API:</p>
  
  <pre><code>api = WXAPIFactory.createWXAPI(getContext(), WXEntryActivity.APP_ID,
              true);
  </code></pre>
  
  <p>send register:</p>
  
  <pre><code>api.registerApp(WXEntryActivity.APP_ID);
  </code></pre>
  
  <p>send login:</p>
  
  <pre><code>SendAuth.Req req = new SendAuth.Req();
        req.scope = "snsapi_userinfo";
        req.state = "none";
        api.sendReq(req);
  </code></pre>
  
  <p>When trying to login i get the confirmation screen from wechat. When hitting "Confirm Login" i get redirected to my app but nothing happens. </p>
  
  <p><a href="https://i.stack.imgur.com/ZzAInm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZzAInm.png" alt="enter image description here"></a></p>
  
  <p>The <code>WXEntryActivity.class</code> is not called - so i dont receive any token to proceed with my authentification.</p>
  
  <p>the Logs when signature is set to <code>false</code>:</p>
  
  <pre><code>D/MicroMsg.PaySdk.WXFactory: createWXAPI, appId = wx41XXXXXXXXX41, checkSignature = false
  D/MicroMsg.SDK.WXApiImplV10: &lt;init&gt;, appId = wx41XXXXXXXXX41, checkSignature = false
  D/MicroMsg.SDK.WXMsgImplComm: ignore wechat app signature validation
  D/MicroMsg.SDK.WXApiImplV10: registerApp, appId = wx41XXXXXXXXX41
  D/MicroMsg.SDK.WXApiImplV10: registerApp, appId = wx41XXXXXXXXX41
  D/MicroMsg.SDK.WXApiImplV10: register app com.my.packagename.debug
  D/MicroMsg.SDK.MMessage: send mm message, intent=Intent { act=com.tencent.mm.plugin.openapi.Intent.ACTION_HANDLE_APP_REGISTER (has extras) }, perm=co
  D/MicroMsg.SDK.WXMsgImplComm: ignore wechat app signature validation
  I/MicroMsg.SDK.WXApiImplV10: sendReq, req type = 1
  D/MicroMsg.SDK.MMessageAct: send, targetPkgName = com.tencent.mm, targetClassName = com.tencent.mm.plugin.base.stub.WXEntryActivity
  D/MicroMsg.SDK.MMessageAct: send mm message, intent=Intent { flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXEntryActivity (has extras) }
  </code></pre>
  
  <p>The Logs when signature is <code>true</code> are basically the same except:</p>
  
  <pre><code>D/MicroMsg.SDK.WXMsgImplComm: check signature:3XXXXXXXXX02eb30820254a00302010202XXXXXXXXXXXXXXXXXXXXXXXXX
  D/MicroMsg.SDK.WXMsgImplComm: pass
  </code></pre>
  
  <p>I have the correct Application-Signature MD5 without <code>:</code> added to the Wechat-Dev-Console as well as the packageName <code>com.my.packaname.debug</code> as i am using my debug.keystore to sign my debug version. 
  <code>WXEntryActivity</code> is inside my <code>com.my.packagename.wxapi</code> and is registered in my <code>AndroidManifest.xml</code> with the <code>exported</code> flag.
  Also i added a rule to <code>proguard-rules.pro</code> to be safe:</p>
  
  <pre><code> -keep class com.tencent.mm.sdk.** {
        *;
    }
  </code></pre>
  
  <p>Just can not figure out why the <code>onCreate</code> and <code>onResp</code> of the <code>WxEntryActivity</code> is not getting called to get the token.</p>