Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misconfigured WebView layouts #49

Open
helloagain-dev opened this issue Feb 10, 2020 · 0 comments
Open

Misconfigured WebView layouts #49

helloagain-dev opened this issue Feb 10, 2020 · 0 comments

Comments

@helloagain-dev
Copy link

After republishing an app on the Shoutem builder, in around 25% of the time, this results in a misconfigured app configuration file.

We debugged the issue and found out that the problem is a malformed app config json file. On the left you can see a non working app, and on the right side is the config as it should be. So our assumption is that there are some issues on the server side when constructing the app config file. Unfortunately we cannot debug any further here. And manually patching the malformed config file, seems to be error prone.

image

Later on in the middleware when the config file is parsed, on line 67 the screenLayout is retrieved, which results in undefined since our screen array is empty. The result is an empty screen. As we have experienced this only happens with shoutem.web-view.WebViewScreen.

code_sample (1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant