title: How to build web application that run in WeChat in app browsers?
body: <p>I am trying to build a simple web application, which capture users photo and sent it my custom server there by connected to some other business use-case. My web page uses HTML's file input control to launch native camera or gallery pick up option.</p>
  
  <pre><code>var input = document.createElement('input');
      input.setAttribute('accept', 'image/*');
      input.setAttribute('capture', 'camera');
      input.setAttribute('type', 'file');
      input.click();
  </code></pre>
  
  <p>This web app, I placed in local webserver with a name "PhotoLocker" and testing with url like</p>
  
  <pre><code>https://localhost(ipaddress to access via mobile browser)/PhotoLocker/index.html
  </code></pre>
  
  <p>This link is working fine both on desktop and mobile chrome browsers and am able to debug any issues. Where as same link, I try to access from WeChat browser (just opening above link from chat window), it is not at all opening my application in WeChat in app browser.</p>
  
  <p>After googling, I found that <code>https URL scheme</code> is not supported by WeChat. is it True? When I paste the same app url as <code>weixin://ipaddress/PhotoLocker/index.html</code>, I am able to see my web app home page but it is not working as expected.</p>
  
  <p>My Question is - how to debug my webpage opened in WeChat browser? Do I need a official WeChat Dev account even to develop and test sample apps? 
  <strong>Additional Info :</strong>
  I am able to debug webpage from WeChat web devloper tool as mentioned in below link. But, unable to debug mobile wechat page in this tool. It is always opening chrome dev tools.
  <a href="https://mp.weixin.qq.com/wiki?action=doc&amp;id=mp1455784140&amp;t=0.06697335132505233#0" rel="nofollow noreferrer">https://mp.weixin.qq.com/wiki?action=doc&amp;id=mp1455784140&amp;t=0.06697335132505233#1</a></p>