App Bridge React - How to check if we are in an Shopify iFrame, or in the native mode?

GerwinB
Shopify Partner
58 0 5

What is the best way to check if an shopify app is embedded in the Shopify admin, if it is run standalone, or embedded in the mobile app?

 

There seems to be no good docs on the App Bridge React right now and also the source code is not yet available.
Has anybody figured something out already?

GerwinB
Shopify Partner
58 0 5

Has no one faced this before?

0 Likes
GerwinB
Shopify Partner
58 0 5

Any hints?

0 Likes
UVT
Shopify Partner
3 0 0

whats the store url?

0 Likes