App reviews, troubleshooting, and recommendations
I am working on an embedded POS application, where I hope to access all the information of all products added to the cart at a given time. I currently have the embedded application accessible through a POS link which opens up fine in the mobile app. However, I cannot seem to access many App bridge actions and I do not know what I am doing wrong.
Running the code below, the application says I am in the "main" context and according to the documentation, certain features are unavailable depending on the application's "context".
useEffect(() => {
app.getState("context").then(function (context) {
console.log("Context is: ", context); // Context is: Main
});
app.featuresAvailable([Group.Cart]).then(function (state) {
console.log(state);
});
});
Is there something I need to do to be able to access these actions? I cannot do so at the moment. Also, when I open the application from a POS link in the mobile app, the context still logs as "main" and I read that the context changes, offering different features, depending on where the application is opened up. I would like to know how I can access these features and actions for use in my application please, I have tried everything from the previous responses to similar issues here and nothing has worked for me. Thanks
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025