"Uncaught TypeError" while creating new ionic-native wrapper


I am currently developing an ionic-native wrapper for my custom cordova plugin. After i clone ionic-native from github repo, without any change to the code I did:

npm install
npm run build

Then i copied all the files inside dist folder to the dist folder within my ionic-native module inside my freshly-started ionic2 app. This is what I got from chrome debugger after i started my app:

addtional info

Cordova CLI: 6.3.1
Gulp version:  CLI version 1.2.2
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 0.0.36
OS: Windows 7 SP1
Node Version: v6.5.0


This issue is related to the changes within source. Updated my source resolved the issues.

Details: https://github.com/driftyco/ionic-native/issues/740