WAB - Splash Screen

3419
15
Jump to solution
07-19-2016 02:46 PM
RickeyFight
MVP Regular Contributor

I am getting some weird behavior.

My splash screen works in the builder but when I launch the webapp or download it to my server it will not display the splash screen.

Builder:

Launched Webapp:

Here is the config.json

I did not change any code so I would think it would work. I am not getting any errors in the console log either.

      {
        "uri": "widgets/Splash/Widget",
        "position": {
          "relativeTo": "browser"
        },
        "version": "2.0.1",
        "id": "widgets_Splash_Widget_29",
        "name": "Splash",
        "label": "Splash",
        "config": "configs/Splash/config_Splash.json"
      },

      {
          "uri": "widgets/Splash/Widget",
          "visible": true,
          "position": {
            "relativeTo": "browser"
          },
          "version": "2.0.1"
        },

Do you have any suggestions or things I can try?

Thanks

0 Kudos
15 Replies
RickeyFight
MVP Regular Contributor

Do you have any suggestions on what I should do? should I try removing the mobileLayout part?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Rickey,

  Yes that is something that I would try.

Have you created a brand new app with the splash for testing if it ends up with the same issue?

RickeyFight
MVP Regular Contributor

I created a new app. The splash did display in builder but not launched app. I then downloaded it and it worked when deployed.

I re-downloaded the app in question and the splash screen worked when deployed. But not when launched. Maybe there is a bug not letting it be displayed.

I am not sure if deleting the mobileLayout was the solution but it works now after it was downloaded.

Thanks for you help.

0 Kudos
LemaoWu
Esri Contributor

Hi Rickey,

I guess the following option is not turned on for your splash screen:

0 Kudos
RickeyFight
MVP Regular Contributor

0 Kudos
LemaoWu
Esri Contributor

Rickey - Clearing the browser cookies should make the behaviour as expected. It's a bug of the widget. It wrongly reads a previously saved cookie which tells the app not showing splash screen again. Thank you!