Skip to content

1.2

Choose a tag to compare

@githubcatw githubcatw released this 11 Apr 14:17
· 7 commits to main since this release
b7dc1e1

Sample APK warning

If you want to try out the sample APK, uninstall any other version of it as the signing key has changed. This only affects the APK attached to this release, the Unity package is unaffected.


This is a minor feature release for Browser Window.

Closing browser windows

On some platforms, like iOS, apps have to manually tell the OS to close a browser window. This update adds a way to do this in Unity with the BrowserWindow.Close() method.

This currently works on iOS only.

Android specific changes

Disabling the Share button

Chrome custom tabs open with a share button by default. To prevent this, use BWAndroidConfig.DisableSharing(). Pretty simple.

Animations

The transitions between a browser window and the game can now be changed using new methods in BWAndroidConfig: SetAnimations, SetStartAnimation and SetExitAnimation.

For this feature a BWAndroidAnimation class has been added. The library also comes with 2 preset animations:

A GIF showing a Chrome window with example.com fading in A GIF showing a Chrome window with example.com sliding in
BWAndroidAnimations.Fade BWAndroidAnimations.SlideLeft

For more information see the documentation.