Start a new topic

Execute JS code after closing activity

Execute JS code after closing activity
1 Comment

Hi everybody!

In my project I've a button that starts an activity. The function called by the button click is:

setPreferences: function showPreferencesFn () {

var architectSdkUrl = "architectsdk://setpreferences";

document.location = architectSdkUrl;




In this way, I start an activity but it reloads the POIs after the creation of the activity. I need to call the function reloadedPlaces() after closing the activity. How can I fix my code?

Thanks in advance for the answers.
Login or Signup to post a comment