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
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025