How to Change the Stack_Navigator title through Blocks

Hello everyone, :wave:

I have a screen named Schedule
another is Profiles

From Profiles screen, a message should go to Schedule screen that “Hey, show me profile of session1 speaker” - for 8 sessions.
Now, schedule screen by-default has an image - the conference timeline. When it receives this message -

“Hey, show me profile of session1 speaker”
It should change the stack navigator title form Schedule to Profiles.

How can I do this through blocks?

Thanks! :smile:

You create an app variable that you set to ANYTHING besides “Hew, show me profile of session1 speaker” and when Profiles gets the message, sets the app variable to “Hew, show me profile of session1 speaker” and calls a switch to screen Schedule. And Schedule has logic that, when it gets started, it should check for the value of that app variable and act accordingly.

1 Like

Thanks, @CBVG!
I have done it already & very perfectly. :smile:
I just want to change the title of Stack_Navigator from blocks.

Thanks! :smile:

Hello everyone,
Is this possible?

The stack navigator does not even have a title property, how could you change what doesn’t exist?

image