document.addEventListener event resume provider undefined

@user5555 thx a lot. I don’t know what I mixed up, I tried a couple of time platform.resume but didn’t worked out, I kind of had the feeling that maybe I had put the resume inside the ready promise which doesn’t work, not sure. Anyway now it’s ok, I can go forward, thx a lot, kudos!

P.S.: In case someone need the result of the resume:

this.platform.resume.subscribe((event:any) => {
            this.myMethod(event)
        });