How To Upgrade from SDK v1 to v2

The most significant change when upgrading to version 2 of the User Hook SDK is the introduction of assigning hook points to app events.

Starting with version 2 of the SDK, all hook points must be assigned to at least one app event. When fetching hook points inside your app, you must include the name of the associated app event.

If your app is using version 1.+ of the SDK, all events assigned to hook points will be ignored. When hook points are fetched, User Hook will check all defined hook points, ingnoring any events assigned to the hook points.