Hi Team! I’m using <AppEmbed /> and I have a quick question: is there any way to observe notifications for completed SpotIQ analyses if *showPrimaryNavbar * is set to false?
Solution
Can you try the following?
EmbedEvent.SpotIQAnalyze — You can listen to this embed event on your <AppEmbed /> instance. It fires twice: With status: 'start' when the user initiates the analysis With status: 'end' when the analysis submission completes
or maybe use the REST API v2
GET /api/rest/2.0/spotiq/analysis
GET /api/rest/2.0/spotiq/analysis
to poll for analysis status from your host app
As far as I can see in the codebase, there is no dedicated embed event emitted when the analysis result reaches a terminal state. So, you will have to come up with some combination of events.