fix openNotification crash in plugin for android