-
-
Notifications
You must be signed in to change notification settings - Fork 374
"Shopify App Outdated" but running latest app bridge, osiset, etc #1250
Comments
same problem |
I messaged Shopify as well so hopefully we'll get an answer soon. |
#1248 might be related. |
@talktohenryj have you fixed it? |
Same problem in a Single page application. Shopify says our host parameter is configured wrong in app bridge. We also opened multiple support tickets to request a dev store on the new admin.shopify.com domain, but they say they can not help us. So there is no way for us to test this :( This was the latest response from Shopify: |
@CedricVleminckx Have you tried to use SHOPIFY_FRONTEND_ENGINE=REACT? |
Hi @CedricVleminckx and @tinhphantrong0612, |
@jhaineymilevis you are welcome :) |
i have madre a pull request with fixes |
I also have a fix in the works for the billing controller at the moment #1244 I'll take a look at the #1260 but it does not look like the tests have been updated to see if the host param exists @jhaineymilevis |
You can do it. Add this string to VerifyShopify middleware to the handle method.
It needs to replace this string The host param will be available anywhere. And the app bridge won't be crashed. |
I am created a pull request with my changes are described above #1261 |
@bugfixman i have tested your aproach and it works, but, problem with multi store opened in the same browser, the session host dont override when i change to another store |
#1261 has been closed because it is a duplicate and from @jhaineymilevis does not provide a solution. Please add any suggestions to #1260 |
@cvikenzi problems with installation now :( after this changes , it redirect for https://dropify.dropi.co/login and ask for shopDomain |
Hello @jhaineymilevis, |
@cvikenzi forgot it, was my error, thanks |
@jhaineymilevis, so all ok now on your side? |
@osiset this looks like the issue we were chatting about were Shopify for non-spa is getting harder and harder to work with. Would be interested to see your thoughts on a path moving forward. |
Given recent issues surrounding this (at work), my decision is to kill off
Blade and default to React with continued support of the frotjend flag so
people can implement (or merge in) Vue/other framework supports.
I can't see it lasting without SPA sadly anymore - there's no true freedom
to develop.
…On Thu, Nov 10, 2022, 11:31 Luke Walsh ***@***.***> wrote:
@osiset <https://github.com/osiset> this looks like the issue we were
chatting about were Shopify for non-spa is getting harder and harder to
work with.
Would be interested to see your thoughts on a path moving forward.
—
Reply to this email directly, view it on GitHub
<#1250 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASO4OR7C6LD6NW2IRE3OBDWHUE6HANCNFSM6AAAAAARTQZKQM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
is there any solution which can work for non SPA app as well? |
There's no straightforward answer @yasir-naseer as there are issues with non-spa and approval as well. Shopify don't allow any app to make requests after OAUTH other than to the homepage of the app. So currently blade templates need to Add that to the new admin route and AppBridge, they are slowly pushing out "traditional websites/apps" where each page is a new request. |
@cvikenzi Can you please check after implementing your instruction am getting this error. |
@WajahatAnwar the issue is not as simple as merging a PR, as there are issues around using blade templates now as Shopify pushes towards SPA apps. We need to see what the best next step is for the package overall with the blade templates. |
@cvikenzi You saved me man.. You are genius. |
It is working fine Very very thank you |
Please run this command - php artisan optimize Your error will fix............. |
For bug reporting only! If you're posting a feature request or discussion, please ignore.
Expected Behavior
When going to the app it should go directly to the home page.
Current Behavior
When going into the app, I receive this message.
Failure Information
This happens every time I try to log into my app on production. It does not show on development. When I click the link provided, it says I am outdated because I am not compatible with the new Shopify admin domain. I don't believe that is true. Below is some additional info.
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Failure Logs
I don't have much for failure logs but I am running the latest app bridge as set by Osiset.
My app is a multipage application. That info may help.
Also, after speaking with a friend he believes the issue may be: "If your app isn't a single-page application, then your server needs to persist the host value during the initial page load. On subsequent page loads, you should use the persisted host value to configure App Bridge."
If the above is the case is there a way in Osiset to set the host value as persistent? We tried to use cookies but were unsuccessful. Also, not 100% sure that is the problem.
Any advice would be helpful. This is a terrible notification from Shopify and I believe really hurting my installation rate right now.
The text was updated successfully, but these errors were encountered: