How to check if app is opened inside symphony or directly in browser?
How to check if app is opened inside symphony or directly in browser?
Its an extension app where we need to check if app is opened inside symphony. One of the available condition was to check if window.top is same as window.self but since this app can be opened inside another app (similar to symphony) so it will not work. Another approach was to check if SYMPHONY variable is not available outisde symphony app but it is also present if app is directly opened in browser.
Its an extension app where we need to check if app is opened inside symphony. One of the available condition was to check if window.top is same as window.self but since this app can be opened inside another app (similar to symphony) so it will not work. Another approach was to check if SYMPHONY variable is not available outisde symphony app but it is also present if app is directly opened in browser.
#
How to check if app is opened inside symphony or directly in browser?
Its an extension app where we need to check if app is opened inside symphony. One of the available condition was to check if window.top is same as window.self but since this app can be opened inside another app (similar to symphony) so it will not work. Another approach was to check if SYMPHONY variable is not available outisde symphony app but it is also present if app is directly opened in browser.