nhn / gpm.unity

A brand of NHN providing free services required for game development.

Home Page:https://gameplatform.nhncloud.com/en/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebView Multi Instance Support.

mqasim30 opened this issue · comments

Service

  • WebView
  • AssetManagement
  • Communicator
  • LogViewer
  • Manager
  • UI
  • Profiler
  • Adapter
  • DLST

Summary

I am seeking guidance on efficiently creating and managing multiple instances of WebView within my project, each operating independently of one another. Specifically, I am interested in understanding the best practices, techniques, and potential challenges associated with implementing and maintaining these independent instances.

Hello @mqasim30

Thank you for using GPMWebView.
Unfortunately, the function you inquired about is not provided in GPMWebView.
If multiple WebView instance functions are supported, it is expected to be done in the following way.

  1. GPMWebView must provide features related to Texture.
    • The buffer of Android and iOS WebView must be passed to Unity texture.
  2. You need to manage instances of multiple WebViews.
  3. If a user wants to use a WebView instance, he or she must access it through Index.

thank you