Error "This app isn't allowed to query for scheme Sinaweibosso"

Source: Internet
Author: User

② If your output message is Xxxx-error: "The This app was not allowed to the query for scheme xxxx"

(here because my App integrates the functions of sharing to QQ, Weibo, xxxx Part I saw Mqq, WeChat, Sinaweibosso and many other information)

Go to info.plist inside to create a called Lsapplicationqueriesschemes Array, the XXXX part of the words you see in one fill in, until the console does not have any relevant output.

③ about other console error messages raised through WebView access to HTTP URLs


Setting ATS in Info.plist
<key>NSAppTransportSecurity</key><dict><!--Include to allow all connections (DANGER)--><key>NSAllowsArbitraryLoads</key><true/></dict>

As we said earlier, Apple wants us to access a relatively secure HTTPS, so when you need to access HTTP,
Although Apple does not recommend it, it is possible to reverse an unsecured network request by declaring the content shown in Info.plist, which still allows the APP to access the specified HTTP, or even arbitrary http.



Wen/kyxu, the Great Lord (Jane book author)
Original link: http://www.jianshu.com/p/e38a609f786e
Copyright belongs to the author, please contact the author to obtain authorization, and Mark "book author".

Error "This app isn't allowed to query for scheme Sinaweibosso"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.