ng-push icon indicating copy to clipboard operation
ng-push copied to clipboard

requestPermission to be a promise

Open SunilRumbaLama opened this issue 6 years ago • 0 comments

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')
})

SunilRumbaLama avatar May 22 '18 03:05 SunilRumbaLama