cordova plugin signin callback