Skip to content
WebViewGold Vibe Coding to App Store
English
Get WebViewGold

Lovable + share & haptics

Native share sheet and haptics for your Lovable app

Two small things make a Lovable app feel native in the first minute: a real share sheet (AirDrop, Messages, WhatsApp, Mail) instead of a copied link, and a subtle vibration when something succeeds. WebViewGold exposes both as URL calls you can wire into existing buttons.

From $109 one-time per platform, or let our team do it all from $698.

  • Approval guarantee – or money back within 14 days
  • No coding needed
  • One-time payment, free updates
  • 24/7 human support
  • Made in Germany since 2014 · ISO 27001

What you get

System share sheet

Navigate to shareapp://message?=Check this out&url=https://app.yourdomain.com/item/42 and the native share dialog opens with your text and link. Users pick the app they want.

Haptic feedback

Call lighthaptic://, mediumhaptic://, heavyhaptic://, successhaptic://, warninghaptic:// or errorhaptic:// from a hidden iframe or window.location to give tactile feedback on key actions.

Receive shares (Android)

With the ShareIntent API your app can also appear as a share target in other apps and receive text, links or images into your Lovable web app.

Prompt for Lovable

Paste this into Lovable to implement the web-app side. Review the result, publish, then test inside the WebViewGold app.

Prompt to paste into Lovable
Add native sharing and haptic feedback for the mobile app version. 1) Create a hook useNativeApp() that returns true when navigator.userAgent contains "WebViewGold". 2) Create lib/native.ts with shareNative(text, url) that, inside the native app, sets window.location.href to 'shareapp://message?=' + encodeURIComponent(text) + '&url=' + encodeURIComponent(url), and otherwise uses navigator.share or copies the link with a toast. 3) Add haptic(kind) that navigates to lighthaptic://, successhaptic:// or errorhaptic:// only inside the native app, and make sure it is never called in the same tick as another native call. 4) Add a Share button to the item page and an "Invite friends" button in settings that shares https://OUR_DOMAIN/join?ref= plus the user's referral code.

WebViewGold has allowed us the shortest and most efficient time-to-market ever possible from among all the other app platforms we have ever tried during the past 5 years. I don’t know why I hadn’t discovered you sooner, but I am really, really glad I did. Currently nearing 6000 app downloads on both iOS App Store & Google Play Store without any problem!

Antonio Davila · CodeCanyon

Wire it into a Lovable app

About 15 minutes.

  1. Find the share moments

    Invite a friend, share a result, send a listing, recommend the app. Each gets a button that calls shareapp:// inside the app and the Web Share API or a copy-link fallback in the browser.

  2. Detect the app

    Check for the WebViewGold user agent (configurable in Config.swift / Config.java) and only then use the native schemes; otherwise fall back to navigator.share.

  3. Add haptics to confirmations

    successhaptic:// after a saved form or completed order, errorhaptic:// on validation errors, lighthaptic:// on toggles. Keep it rare so it stays meaningful.

  4. Track shares

    Append ?ref=share to shared URLs so Supabase or Lovable Cloud (Postgres, storage, edge functions) can attribute sign-ups to sharing.

A share helper for your web app

Works in the app and in the browser:

javascript
function shareItem(text, url) {
  var inApp = navigator.userAgent.indexOf("WebViewGold") !== -1;
  if (inApp) {
    window.location.href = "shareapp://message?=" + encodeURIComponent(text) + "&url=" + encodeURIComponent(url);
  } else if (navigator.share) {
    navigator.share({ text: text, url: url });
  } else {
    navigator.clipboard.writeText(url);
  }
}
function haptic(kind) {
  if (navigator.userAgent.indexOf("WebViewGold") !== -1) { window.location.href = kind + "haptic://"; }
}

Frequently asked questions

Does the Web Share API work inside the app?

Partially, depending on the system WebView. The shareapp:// scheme is the reliable way and gives you the full native sheet on both platforms.

Do haptics work on Android?

Yes, the same haptic schemes trigger the vibration motor on Android devices that support it.

Is sharing relevant for App Store review?

It is one of the native capabilities reviewers see; combined with push notifications and offline handling it supports the Guideline 4.2 argument.

Three ways to get your app into the stores

Same result, different amount of work on your side. All three come with the approval guarantee and 24/7 human support.

Do it yourself

$109 per platform, one-time

The WebViewGold license: a finished Xcode or Android Studio project. Paste your URL, set name and icon, switch on features, build and submit. Free updates forever.

See plans on the main page

Cloud Builder

$349 per license, one-time add-on

No Mac, no Xcode, no Android Studio: configure in the browser, we build both apps in the cloud and hand them to App Store Connect and the Play Console.

How the Cloud Builder works Try the free demo

Full Service

$698 per platform $798

Send us your URL and icon. Our team configures, builds and delivers your app within 72 hours, white-label, with source projects. Both platforms for $1,158.

Full Service details Powered by WeSetupYourWebViewApp

Winter Sale prices valid until December 31, 2026.

Ready to ship your Lovable app?

App Store & Google Play approval guarantee – or your money back within 14 days

Rather hand it over? Full Service: we configure, build and deliver within 72 hours, from $698 per platform. Questions? Chat with us 24/7.

Refunds are granted under the conditions listed in our FAQ: a non-content rejection by Apple and/or Google, claimed within 14 days after purchase.