Repro - Mobile Analytics for growth
日本語
Sign Up Back to Dashboard
  • System Requirements
  • Dashboard Guide
  • Development Guide
    • Signup
    • iOS/Android SDK
    • Web
      • Get Started
      • User ID
      • User Profile
      • Event Tracking
      • Session Lifecycle
      • Device ID
      • Opt-out feature
      • Migration from Version 1 to Version 2
      • API
      • Cross-Domain Tracking
      • Using Web SDK with WebView
        • Web SDK configurations
        • Necessary configurations on the App
          • Android (WebView)
          • Android (Chrome Custom Tab)
          • iOS (WKWebView)
          • iOS (UIWebView)
          • iOS (SafariView)
      • Implement to SPA(Single Page Application) site
      • Web Push Notification
      • Check that Repro Web measurement tags are working properly
      • Cookies used by Repro Web
    • Audience API
    • Audience Import(β)
    • Push API
    • User Profile API
    • User Profile Bulk Import
    • NewsFeed API
    • Deletion Targeted User Registration API
    • Booster installation guide
    • Mail(β)
  • Release Notes
  • FAQ

Using Web SDK with WebView¶

Warning

  • This document describes how to use WebView for those who have installed the Web SDK. iOS SDK or Android SDK users should refer to WebView .

Web SDK configurations¶

By using the allow_webview option, you can activate the Web SDK in In-app WebViews.

reproio('setup', 'YOUR_REPRO_SDK_TOKEN', { allow_webview: true });

See also: API

Necessary configurations on the App¶

For Repro Web to properly work in WebView environments it may be necessary to do certain configurations on the App side in some cases. Please read through the below details and properly configure your application and Web SDK accordingly depending on the platform you wish to activate Repro Web. Please also refer to each platforms' official documents for more details.

Android (WebView)¶

  • Set true to setJavaScriptEnabled

  • Set true to setDomStorageEnabled

Android (Chrome Custom Tab)¶

No special configuration is needed

Warning

Important notes

  • Depending on the end-user's environment the web page may be opened by different browsers than Chrome. In such cases, Repro Web will not run on browsers that are not supported by the Web SDK.

  • Due to the fact the session is shared with Chrome app, it could result in the Device ID being the same between Apps and browsers on the same device.

iOS (WKWebView)¶

  • Set true to javaScriptEnabled

Warning

Important notes

  • When using different instances of WKWebsiteDataStore to each component Cookies will not be shared across them, which could result in users being identified separately without setting the User ID.

  • When using different instances of WKWebsiteDataStore to each component Cookie and localStorage will not be shared across them, which could result in users being identified separately without setting the User ID.

iOS (UIWebView)¶

No special configuration is needed

Warning

Important notes

  • As opposed to WKWebView, Cookie will be shared across different components resulting in the user being identified as the same user.

  • In order to shared Cookie data with Safari on iOS 11 and after SFAuthenticationSession needs to be activated.

iOS (SafariView)¶

  • Set true to javaScriptEnabled

Warning

Important notes

  • As opposed to WKWebView, Cookie will be shared across different components resulting in the user being identified as the same user.

  • « Cross-Domain Tracking
  • Implement to SPA(Single Page Application) site »

About Us Careers Terms of Service Privacy Policy Cookie Policy

© 2022 Repro Inc.