WeChat, ( Weixin 微信 in Chinese), is the dominant chat application in China and fourth largest in the world, with 806 million monthly active users. Websites that are blocked for China accounts were fully accessible for International accounts, but there is intermittent blocking of gambling and pornography websites on International accounts. WeChat’s internal browser blocks China-based accounts from accessing a range of websites including gambling, Falun Gong, and media that report critically on China.Some newfound censored keywords appear to have been added in response to current news events. Some keywords that triggered censorship in our original tests were later found to be permissible in later tests. More keywords are blocked on group chat, where messages can reach a larger audience, than one-to-one chat.In the past, users received notification when their message was blocked now censorship of chat messages happens without any user notice. Keyword censorship is no longer transparent.Keyword filtering on WeChat is only enabled for users with accounts registered to mainland China phone numbers, and persists even if these users later link the account to an International number.Regularly I can proxy localhost with Charles then debugging in WeChat, but never do the https, I will try it later. I don't have my working machine with me now so I can not test. But if you want yo do the Pay, Login thing, you need an Official Account and pay for the ability every year (not sure about this outside China).API like close current in-WeChat-browser, hide-share-button will not required anything special, you don't need to register any Official Account.You may know the Official Account inside WeChat, with webpages directly opened in any context inside in-WeChat-browser, it will have the ability to interact the weixin Object, or have some API like login with WeChat, pay with WeChat Pay: Click the right blue one, then you can find your way out, it's just something built top on project Blink.Īs you can see the part of debugging regular webpage in WeChat IDE is no more than a simulator (in the WeChat-mini-program part, developer can write code directly in it), and in my experience it does have bugs, you will still need to test code in real machine.įor that Tencent provide another tool called vConsole, tutorials here, with it you can do following things directly in in-WeChat-browsers:ĭo I need a official WeChat Dev account even to develop and test sample apps?.Next it will show up two square button (image below), left one is for WeChat-mini-program, the right one is for you to testing regular web page.First it will ask you is to use you WeChat to scan the QRCode, then confirm login with your WeChat account.Tencent provide an IDE for developing regular web interface and WeChat-mini-program, with which developer can directly interact with: ![]() How to debug my webpage opened in WeChat browser? Some links (dev docs mostly) below contain sites complete in Chinese, because I can not find corresponding English ones for now. Forgive my English for any mistake, misunderstanding I could make. I am a frontend developer in China, Chinese. But, unable to debug mobile wechat page in this tool. ![]() I am able to debug webpage from WeChat web devloper tool as mentioned in below link. 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? is it True? When I paste the same app url as weixin://ipaddress/PhotoLocker/index.html, I am able to see my web app home page but it is not working as expected. 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.Īfter googling, I found that https URL scheme is not supported by WeChat. This link is working fine both on desktop and mobile chrome browsers and am able to debug any issues. ![]() This web app, I placed in local webserver with a name "PhotoLocker" and testing with url like to access via mobile browser)/PhotoLocker/index.html var input = document.createElement('input') My web page uses HTML's file input control to launch native camera or gallery pick up option. 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.
0 Comments
Leave a Reply. |