We have read your new app bridge 2.0 version-related articles & flowchart/diagram.
We have created the app in the same way as per the flowchart/diagram. We have created an app in the partner Account and added the Client Key and Secret key in-app.
After that, the user installs the app using a shop URL then it redirects to the Authorize URL with the mentioned parameters like client_id, scope, and redirect_uri.
Afte the user installs the app, in Shopify admin they are redirected to redirect_uri, and we generate an access token using client_id, client_secret, and code which we got from redirect_uri as per your mention articles (https://shopify.dev/apps/auth/oauth). We already saved the token in our session which is mentioned as the session-based token.
Our app is ready & built as per your articles. However, we can't figure out the difference between App Bridge 2.0 version and the previous one.
We have already checked many Shopify libraries but don't have them in the PHP framework. You have implemented it in Rails. I would love that if you guys canprovide the new Shopify APP Bridge 2.0 version in PHP instead of Rails.
We have checked your forums, and found out that many users are facing the same issues. We have also checked the YouTube video https://www.youtube.com/watch?v=tX1E8fuesSE&list=PL-k7XHuPgeIsv2Q6QtJR__h3kkpmqNpH0 which is given by your team member in forums.
But we already developed our app the same way the video shows. We have also checked the GitHub Shopify API library https://github.com/osiset/Basic-Shopify-API, and they also provided the same logic we did in our app. So, I want to know what the difference is between APP bridge 1.0 and 2.0. And how can we easily convert our app bridge to App Bridge 2.0 in PHP?