No Provider for ActionSheet in alpha47

I’m using ActionSheet just like it is used in the Conference app i.e

import {ActionSheet} from ‘ionic/ionic’;

export class myClass {
constructor(actionSheet:ActionSheet) {
this.actionSheet = actionSheet;
}

This worked find in alpha46 (yesterday) but today using alpha47 I get the error:

No Provider for ActionSheet!

Anyone else getting a similar issue with alpha47?

Looks like its changed :smile:

https://github.com/driftyco/ionic2/blob/master/ionic/components/action-sheet/test/basic/index.ts

There’s some info here on the changelog for the alpha.47: https://github.com/driftyco/ionic2/blob/master/CHANGELOG.md

1 Like

thanks, should have looked there first :smile:

1 Like