About Mobile Endpoints

Apps with widget or page components can create a mobile endpoint for your app so that it works well on mobile devices. Note: This is only relevant for classic Editor and not Editor X.

Build a mobile endpoint

This endpoint should have the same functionality as your web app – except for these differences:

  • Design for mobile: Follow our mobile design guidelines.
  • Limit the width of the app to 320px, and the content to 280px: The height is unlimited. Note: you can modify the height using the setHeight method in our JavaScript SDK. However, we recommend keeping the mobile view short, and providing a link or pagination to additional data.

Important: Don’t create a new App Settings panel for the mobile view When a Wix user customizes any of your App Settings in the Editor, these changes should affect both the desktop and mobile versions of your app in exactly the same way.

Test your mobile endpoint

You can test your mobile endpoint from your computer or mobile device.

  1. Create a website and publish it (this shouldn't be a site created using Editor X).
  2. Install your app by clicking Test Your App in the Wix Developers Center.
  3. Return to the Editor and switch to mobile view.
    • To test in a mobile device, add ?appDefinitionId=%AppID% as a query parameter to your website URL.
    • To test from your desktop browser, add ?showMobileView=true as a query parameter to your website URL.

Optimize pinned widget apps for mobile view

Unfortunately pinned widgets aren't supported for mobile. You should consider an embedded script as an alternative. If you already have an existing pinned widget app, let us know.

Was this helpful?
Yes
No