Suppress browser invocation

5 posts, 1 answers
  1. Enterprise
    Enterprise avatar
    5 posts
    Member since:
    Feb 2016

    Posted 01 Feb Link to this post

    I want to prevent invoking a browser tab pointing at https://platform.telerik.com/appmanager/... upon completion of these commands:

    appbuilder appmanager upload...
     appbuilder appmanager livesync...

     

    Are there additional params to do so?

  2. Answer
    Garo
    Admin
    Garo avatar
    136 posts

    Posted 06 Feb Link to this post

    Hi Derek,

    For the time being, you can achieve this behavior only by manually modifying the AppBuilder CLI. To do so, please follow these steps:
    1. Open the folder where the AppBuilder CLI is installed. (You can get it by running the "where appbuilder" command in the Command Prompt. Just make sure that you select only the path to npm\ and exclude the executable files after that.)
    2. Once in the npm\ folder, you should open the folders in that order: node_modules > appbuilder > lib > services.
    3. In the services folder, locate and open appmanager-service.js.
    4. Navigate to row 99 - the openAppManagerStore method and comment out the 102 row - this.$opener.open(tamUrl);.

    Having said that, I have notified the responsible developers and they will implement a functionality that would make it possible to set a flag while using those commands. For example, the new command will look like this: appbuilder appmanager upload <platform> --skipUi. This will become available with our next major release, which is planned for the end of February.

    I hope this helps. Please, let me know if I can be of any further assistance.

    Regards,
    Garo
    Telerik by Progress
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. Enterprise
    Enterprise avatar
    5 posts
    Member since:
    Feb 2016

    Posted 09 Feb in reply to Garo Link to this post

    Outstanding! Thank you for the monkey patch steps and future implementation plans.
  4. Enterprise
    Enterprise avatar
    5 posts
    Member since:
    Feb 2016

    Posted 11 Apr in reply to Garo Link to this post

    --skipUi does not appear to have made it into the 3.7.0 release
  5. Garo
    Admin
    Garo avatar
    136 posts

    Posted 13 Apr Link to this post

    Hello Derek,

    I have answered this question in the separate support ticket that you have opened. I recommend we continue our discussion there. This will keep the conversation in one place and help us to avoid any miscommunication.

    Regards,
    Garo
    Telerik by Progress
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top