Ionic 2 : write a file

Hello! i’m use last version of ionic 2. I get a pdf file (in byte) with a rest service in my code.
I want register this file ‘name.pdf’ in mobile (android or ios), but i don’t find a plugin for that.

how i can do ?

I have no clue what you mean by “register”, but have you looked at the cordova file plugin?