Autoform is undefined -

Hi.

I’m using Autoform-ionic for my app and i need to be able to use hooks however, each time i try to declare Autoform.addHooks it turns out to be undefined.
I’ve tried to remove and reinstall the package but it still doesn’t work.

You probably need to use

Meteor.startup(function(){
    if (Meteor.isClient) {
        // code here
    }
})

The namespace is AutoForm