Migrating Embedded App SDK (EASDK) to App Bridge

user072319
Excursionist
63 0 4

We received an email from Shopify regardin,

Your app have been detected as using the Embedded App SDK (EASDK) or its backwards compatibility layer, which will be removed from Shopify on Jan 1, 2022

We have a Published Shopify app created 2 years ago using Embedded SDK. What we have done is:

1. We have a PHP file in our server (Example: appDashboard.php) which contains the HTML and Javascript codes for our app like app Dashboard, Settings etc.

2. In the Javascript section, we have added the below code:

<link rel="stylesheet" href="https://sdks.shopifycdn.com/polaris/latest/polaris.css" />
<script src="https://cdn.shopify.com/s/assets/external/app.js"></script>

ShopifyApp.init({
apiKey: ###apiKey###',
shopOrigin: '###shopURL###'
});

 

To migrate this current version to App Bridge what all we need to change?