Upgrade from v1.x.x

v2 of the plugin is not compatible with older v1 versions.

The following steps need to be made to upgrade the plugin:

Completely delete the old folders from GleyPlugins folder: About, Ads, Common

If you are using Admob delete the GleyAdmobPatch from GoogleMobileAds/Editor

Replace the old Advertisements.Instance

With the new API: Gley.MobileAds.API

Example:

// old
Advertisements.Instance.Initialize();

//new
Gley.MobileAds.API.Initialize();

Last updated