Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Unable to pass params as described. #28

Open
vbadri opened this issue Oct 8, 2018 · 1 comment
Open

Unable to pass params as described. #28

vbadri opened this issue Oct 8, 2018 · 1 comment

Comments

@vbadri
Copy link

vbadri commented Oct 8, 2018

Thanks. This is a very useful example. However, when I tried it, params does not seem to get passed into the inline pages. I added some debug traces, and I found this..

params [foo:bar, thisIs:totally working, install:false, nextPage:thirdPage]
..
At the second page, with
params: [install:, id:3c7ca98c-54c9-44fc-b528-55c075535fd6, csrf:cdf54384-3d8d-4a83-af91-16f340ea4ed3, settings.undefined.value:, settings:[:], name:secondPage, versionId:, currentPageInstalledSmartAppId:3c7ca98c-54c9-44fc-b528-55c075535fd6]

As you can see, params is NOT derived from the message passed above, but rather contains some other pre-defined values related to the app id, etc.

Has there been a change to the syntax?

@vbadri
Copy link
Author

vbadri commented Oct 8, 2018

I have an update on this. .

The same smartapp runs just fine if I install it as a smartapp on my phone, but if I install it on the smartapps simulator, I get the error described above where params is not passed.

This does surprise me a little. Explanatios anyone?

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

No branches or pull requests

1 participant