What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Non-Embedded App Using CLI 3

Non-Embedded App Using CLI 3

JhonLevy
Shopify Partner
4 0 2

Hi There,
Im pretty new to Shopify Public app development and i started a new test app from Shopify Node.js template.
I used this the instructions from Here.

Im using CLI 3 and to Create the app i used this command:
"npm init @Shopify/app@latest"

I follow all the steps and finally i have a running QR generator App.

JhonLevy_0-1672584667494.png

 

 


Now i want to make the app non-embedded, i follow those steps but the app still opens in Shopify Admin:
1. Disable "Embedded" app - directly from Shopify App Setup --> Embedded App Manage --> Disable "Ebedded"

JhonLevy_1-1672584667469.png

 

JhonLevy_2-1672584667493.png

 

 

2. I've Set forceRedirect: from "true" to "false" on the AppBridgeProvider.jsx file.

JhonLevy_3-1672584668054.png

 

 

I know there is the 3rd step on the server file to set "IS_EMBEDDED_APP" to "false" but in CLI 3 that is missing.

The app still redirect to embedded app and i cannot escape this iframe.


I would like to receive suggestions on ways to solve this problem, because I did not find any correct and available information about it.

Thanks ! 

Replies 0 (0)