To import and use Gist into your Cordova application you must copy the dist/gist.min.js file. You can use a utility like cordova-import-npm to automate the process.
Download the latest version of Gist Web and add the script to your index.html
Adding The Script
Inside your config.xml file add the following for both iOS & Android.
To complete your setup, please follow the Web library setup guide.
The System action type does not work on Cordova, this is because internally, System actions behave as links with target="blank". As an alternative, change System actions to Application, Add a listener on the messageAction event, and invoke them manually.