Monetizr uses an open-source component that provides a web view for Unity applications on mobile platforms. You can consult its documentation if you are having build issues related to web view.
On Android and iOS devices page will open within Unity application for seamless checkout experience. It will not open new web browser tab or lead the player outside of game environment.
The view provides only a close button and a back button to prevent unwanted browsing.
Sometimes Game Developers want to open page in a new tab. WebGLOpenLink component allows opening new tabs from a Unity WebGL application.
If you plan on opening custom links make sure that on WebGL the
OpenURL(string) method is called from an
All other platforms such as desktop will use Unity's
Application.OpenURL(string). Read more about it here. This method will still be available even if Monetizr Web View is disabled.
The web view provided with the Monetizr plugin can be used to open any web page within the Unity application. The
OpenURL method follows the behavior described above.
Updated 2 months ago