mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
awww yis
This commit is contained in:
@@ -69,6 +69,15 @@ export class Plugin {
|
||||
});
|
||||
} else {
|
||||
console.log('Response: ', v);
|
||||
|
||||
if(v.subscribe) {
|
||||
console.log('Observable response, subscribing...');
|
||||
v.subscribe((val) => {
|
||||
console.log('Observable val', val);
|
||||
}, (err) => {
|
||||
console.log('ERROR: Observable', err);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user