How to test Smart App Banner Urls on in Dev environment

后端 未结 4 1595
独厮守ぢ
独厮守ぢ 2020-12-29 05:43

I\'m wondering if it\'s possible to test iOS 6\'s smart app banners\' app-argument URL parameter on dev builds of an iOS app. It appears the Open option in the banner only

4条回答
  •  [愿得一人]
    2020-12-29 06:28

    As of now, Xcode 8 and iOS 10, I have tried all the methods but Cannot Debug the smart banners URL that is being opened, as it needs the store versions of the application.

    I have found a workaround of this, and have tested my application using this.

    Apart from the tag I have also added a link button on the page that uses the scheme to open the app.

    
    
      
        
        Banner Debug Sample
      
      
        

    Visit App Using Scheme.

    With this link I can debug the Dev builds and works well.

    Though this only works when the app has registered a scheme for itself, but just for testing we can register a dummy scheme say appscheme:// and replace http:// scheme with dummy scheme, test it, and then revert links from app scheme:// to http://

提交回复
热议问题