Config: what's the difference between loading.icon and splash screen?


In my app I currently have this setting:

"loading": {
  "icon": "./resources/iconLoading.png",
  "backgroundColor": "#ffffff",
  "hideExponentText": true

This actually shows up on app startup.
I’ve noticed there’s a “splash” configuration key but I’m not sure to understand the difference between “splash” and my current setting.

Can someone help me understand better that difference?

The “loading” field is an older API we may eventually deprecate — “splash” is the new API that replaces it.

1 Like

Hmm ok so I got confused because of app.json doc which does not mention “loading” is deprecated in favor of “splash”

I’ll make a doc Po mention that here

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.