How to open a link outside the app in RocketWeb? | RokcetWeb Android

This content is restricted, and can only be accessed by our customers, please verify your purchase using the envato purchase code. You can find your purchase code here

Avatar

admin has written 83 articles

Infixsoft Support Team for Infixsoft's product knowledgebase post

7 thoughts on “How to open a link outside the app in RocketWeb? | RokcetWeb Android

  1. Avatar ProfesorYeow says:

    Hello… I want to have a list of URL for use inside the app and any other go outside the app… how i can do it?
    I implement this code but doesn’t work:

    if(!url.contains(“.domain1.com”)
    || !url.contains(“.domain2.com”)
    || !url.contains(“.domain3.com”)

    ){
    UtilMethods.browseUrlExternal(mContext, url)
    return true
    }

    // NOTE: Put a domain take all possibilities? .domain1.com also take http://www.domain1.com sub.domain1.com etc

    1. Avatar ProfesorYeow says:

      Please edit my comment… this is the code (without dot in the domain)

      if( !url.contains(“domain1.com”)
      || !url.contains(“domain2.com”)
      || !url.contains(“domain3.com”)

      ){
      UtilMethods.browseUrlExternal(mContext, url)
      return true
      }

      1. Avatar admin says:

        I mention here only put domain name then will support all of the domain links, include sublink. Example my URL: https://help.infixsoft.com/how-to-open-external-url-on-custom-tab/

        Then you need to be added on condition: infixsoft.com

      1. Avatar idtechsa says:

        Good thing,
        But there is an important point, please pay attention to it
        Payment gateways like Paypal and others,
        Its important links open inside the app
        For the payment process is not affected

Leave a Reply