How to open URL schemes from Safari in iOS9?

前端 未结 5 1190
离开以前
离开以前 2020-12-30 01:21

I was able to open apps from safari this way:

window.location = \'myapp://do/xx\';

or open facebook app:

window.location =          


        
5条回答
  •  旧巷少年郎
    2020-12-30 02:07

    this is how I have revised my Facebook/Google Login integration to get it work on latest update. which now user Safari web view.

    LSApplicationQueriesSchemes
      
          fbapi
          fb-messenger-api
          fbauth2
          fbshareextension
          com.googleusercontent.apps.39373238582-opjuqokmar2i5t3sdk2vs5sifer4moen
          com-google-gidconsent-google
          com-google-gidconsent-youtube
          com-google-gidconsent
          com.google.gppconsent.2.4.1
          com.google.gppconsent.2.4.0
          googlechrome
          googlechrome-x-callback
      
    

提交回复
热议问题