The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
I am getting this error on Mobile, more specific on Safari on iPhone 11 Unhandled Promise Rejection: Error: Add the URL of your WordPress REST API in state.source.api. The thing is that this happens on mobile only, so i am a bit confusedā¦
Hey @dejangeorgiev! We were able to reproduce your problem and we are taking a look at it. As soon as we know something more we will let you know.
Thanks for your patience.
1 Like
dejangeorgiev16
Hey @David
Great. Looking forward for your feedback!
Thank you so much.
David17
It seems to be a problem with the implementation we did to deprecate the URL constructor that we exported from frontity:
For some reason, it doesnāt work well in Safari (tested in version 13.1.2) and it throws an error, making the code to fail in the init() action of @frontity/wp-source and showing the error you mentioned.
I opened an issue in order to fix this (frontity/frontity#565). In the meantime, it should work fine using the previous version of frontity (1.10.1).
Weāll keep you posted!
EDIT: We already find a solution and we are going to publish a new version today! You can wait for the new version of frontity instead of installing the previous one
1 Like
dejangeorgiev18
Great job @David!
Thank you guys for your support!
Let me know when the new version is available.
Many thanks.
luisherranz19
@David found the solution, so Iāve made a PR. It should be ready to merge as soon as he reviews it:
EDIT: Merged
1 Like
SantosGuillamot21
We have just released a new version with the fix. If you update the project following this guide, the problem should be solved. Let us know if you keep having that error.
1 Like
dejangeorgiev22
hey @David@luisherranz@SantosGuillamot & co,
Thank you guys for your support!
Just tested it - works perfectly!
3 Likes
lagerroos23
Of course, this struck me right as I was making the first production release. The new fix solved this. Thank you guys for your hard and appreciated work! @luisherranz@SantosGuillamot and everyone else on the Frontity team.