QR == to Collection if true it should go to the specific page

Hi,

I need some help again. Struggling for a few days now and I believe it is going to be something simple (Like always)

The app is built so that when you arrive at a restaurant you can scan the restaurant's unique QR code which has a reference to my Firebase Collection. When you scan the QR code it will take you to the next page where that specific restaurant's menu will be.

However, when I scan the first QR code for the first restaurant in my Firebase it works perfectly but when I want to scan any other QR code it just ignores it as if it does not go through all the restaurants in the collection.

Any advice?

Here is my logic on the action

9 replies