Winday - Help Center
HomepageLogin Brand Panel
English
English
  • What is Winday
  • Getting Started
  • Create Campaigns
    • Instant Game
      • Discount Codes
    • Tournament Game
      • Booster Codes
    • Supervised Setup
  • Publish Campaigns
    • Game link
    • QR Code
    • Connect to custom domain (Change CNAME)
    • Publish on Website
      • Manual Installation
      • Shopify
      • WordPress
      • Joomla
    • Publish in Mobile App
      • WebView
      • Unity
    • Publish in Telegram Bot
    • Winday Club Visibility
    • Winday Club Brand Page
  • Analytics
    • Built-in Analytics
    • Google Analytics
  • Winday Account
    • User Account
    • Brand Settings
      • Brand Verification
    • Pricing
  • API
    • Booster Codes API
  • FAQ & Tutorials
    • FAQ
    • Video Tutorials
  • Releases
    • May 2025 - New Payment Plans, Advanced SEO, Better Performance
    • Dec 2024 - Brand Landing Page, Localization, Partner Program, and Much More
    • Aug 2024 - New Features, New Publishing Options
  • Legal
    • Legal Pages
Powered by GitBook
On this page

Was this helpful?

  1. Publish Campaigns
  2. Publish in Mobile App

WebView

PreviousPublish in Mobile AppNextUnity

Last updated 2 months ago

Was this helpful?

After an instant or a tournament game is published, it can be integrated into a mobile application.

Plugin Integration

  1. Create a component where you open a WebView corresponding to the technology that is used in the application.

What is ?

  1. Use the game link from the Game Details page:

  1. Add the following parameter at the end of the link:

?isMobile=true
  1. When the user clicks on the close button, the plugin will send a message with the text exit-mobile-plugin

const exitPluginFun = (event: MessageEvent) => { 
const data = event.data; 
if (data === 'exit-mobile-plugin') { iframe.remove(); } 
window.removeEventListener('message', (event) => exitPluginFun(event)); 
}; 
window.addEventListener('message', (event) => exitPluginFun(event));
WebView