ng-push
ng-push copied to clipboard
requestPermission to be a promise
Can ng-push have requestPersmission to resolve into granted or denied. That would allow us to give certain information on what they will be lacking if denied.
For example:
this._push.requestPersmission.then((res)=>{
if(res=='granted')
console.log('welcome')
})