How To bind custom cordova plugin result value to textbox


#1

Hello all,
I created cordova plugin that get registered email id from device,my plugin is working fine on console it gives my required o/p as my mail id but i want to bind that email id with my textbox any suggestion? or pass link that can bind cordova custom plugin value to textbox i am using reactive form for that


#2

Your cordova plugin should work like the ionic-native ones do, by returning futures (Promise/Observable). Then this is simple.