usualy the problem happens with wrong using of & and @ and/ or not setting people and overlays to layers.
Portal reads the thin gs sometimes bitt differently and more quick (therefore you do not see the problem with using @ instead of & often) but app reads it bit more slowly and than this mistakes start to be visible…more in detail I can tell you if you will show me part of your code which looks not OK in the app.